gvinum: problem for adding drives

Lukas Ertl le at FreeBSD.org
Sat Mar 11 18:56:25 UTC 2006


On Sat, 11 Mar 2006, Olivier Cochard wrote:

> And here is the commands used (example for 1 disk):
>
> /bin/dd if=/dev/zero of=/dev/ad2 bs=1k count=20
> /sbin/fdisk -I -b /boot/mbr ad2
> /bin/dd if=/dev/zero of=/dev/ad2s1 bs=32k count=16
> /sbin/bsdlabel -w ad2s1 auto
>
> the raid.conf file:
> drive disk_ad2 device /dev/ad2s1a
> drive disk_ad3 device /dev/ad3s1a
> volume V
> plex org concat
> sd length 194479M drive disk_ad2
> sd length 194479M drive disk_ad3

I'm not sure what's happening here either, but if they want to use the 
whole drive they may just set "sd length 0 drive ..." to autosize it.

regards,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le at FreeBSD.org                     http://people.freebsd.org/~le/


More information about the freebsd-geom mailing list