gvinum: problem for adding drives

Olivier Cochard olivier at freenas.org
Tue Mar 14 22:59:30 UTC 2006


Is the 'sd length 0 drive' works for all RAID type ?

Thanks,

Olivier

2006/3/11, Lukas Ertl <le at freebsd.org>:
>
> 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/
>



--
Olivier Cochard
FreeNAS main developer
http://www.freenas.org
Skype: callto://ocochard


More information about the freebsd-geom mailing list