FreeBSD 5.x raid...

FreeBSD questions mailing list FreeBSD at amadeus.demon.nl
Thu Jul 14 13:55:43 GMT 2005


On 14 jul 2005, at 15:27, Casper wrote:

>
>  Hi,
>
>  I have web server with one ata system disk and two sata disks for  
> www stuff... I wanted to make that all www stuff is on one sata  
> disk and mirror (backups) it to second disk if first sata brakes...  
> So I have little experience with vinum (one samba server vinum  
> raid5 working ok without problem) so I wanted to make on www server  
> with vinum raid1...
> But something not working:
> dmesg:
> ad4: 190782MB <WDC WD2000JD-22HBB0/08.02D08> [387621/16/63] at ata2- 
> master SATA150
> ad6: 190782MB <WDC WD2000JD-22HBB0/08.02D08> [387621/16/63] at ata3- 
> master SATA150
>
> #cat www.vinum
> drive a device /dev/ad4c
> drive b device /dev/ad6c
> volume www
> plex org raid1 512k
> sd length 165g drive a
> sd length 165g drive b
>
> root at www# vinum create -f www.vinum
>    4: plex org raid1 512k
> ** 4 Invalid plex organization: Invalid argument
>    5: sd length 165g drive a
> ** 5 Unnamed sd is not associated with a plex: Invalid argument
>    6: sd length 165g drive b
> ** 6 Unnamed sd is not associated with a plex: Invalid argument
> 2 drives:
> D a                     State: up       /dev/ad4c       A:  
> 190782/190782 MB (100 %)
> D b                     State: up       /dev/ad6c       A:  
> 190782/190782 MB (100 %)
>
> 1 volumes:
> V www                   State: down     Plexes:       0  
> Size:          0  B
>
> 0 plexes:
> 0 subdisks:
>
> What is problem?
>


'plex org raid1 512k' is invalid
you should use:
'plex org concat'


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum- 
examples.html
man vinum
man 4 vinum

Arno


More information about the freebsd-questions mailing list