Date: Tue, 14 Mar 2006 23:59:27 +0100 From: "Olivier Cochard" <olivier@freenas.org> To: "Lukas Ertl" <le@freebsd.org> Cc: freebsd-geom@freebsd.org Subject: Re: gvinum: problem for adding drives Message-ID: <3131aa530603141459ge9bf401u@mail.gmail.com> In-Reply-To: <Pine.WNT.4.64.0603111954400.3904@korben> References: <3131aa530603111021x183cdb67y@mail.gmail.com> <Pine.WNT.4.64.0603111954400.3904@korben>
next in thread | previous in thread | raw e-mail | index | archive | help
Is the 'sd length 0 drive' works for all RAID type ? Thanks, Olivier 2006/3/11, Lukas Ertl <le@freebsd.org>: > > On Sat, 11 Mar 2006, Olivier Cochard wrote: > > > And here is the commands used (example for 1 disk): > > > > /bin/dd if=3D/dev/zero of=3D/dev/ad2 bs=3D1k count=3D20 > > /sbin/fdisk -I -b /boot/mbr ad2 > > /bin/dd if=3D/dev/zero of=3D/dev/ad2s1 bs=3D32k count=3D16 > > /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@FreeBSD.org http://people.freebsd.org/~le/ > -- Olivier Cochard FreeNAS main developer http://www.freenas.org Skype: callto://ocochard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3131aa530603141459ge9bf401u>