Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2006 19:55:49 +0100
From:      Lukas Ertl <le@FreeBSD.org>
To:        Olivier Cochard <olivier@freenas.org>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: gvinum: problem for adding drives
Message-ID:  <Pine.WNT.4.64.0603111954400.3904@korben>
In-Reply-To: <3131aa530603111021x183cdb67y@mail.gmail.com>
References:  <3131aa530603111021x183cdb67y@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org                     http://people.freebsd.org/~le/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.WNT.4.64.0603111954400.3904>