Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 14:15:00 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        tradigan@newrevolutions.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gvinum and RAID
Message-ID:  <200705241415.00339.lists@jnielsen.net>
In-Reply-To: <29548.208.40.168.12.1180030121.squirrel@www.newrevolutions.net>
References:  <4042.208.40.168.12.1180025016.squirrel@www.newrevolutions.net> <200705241358.50929.lists@jnielsen.net> <29548.208.40.168.12.1180030121.squirrel@www.newrevolutions.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 May 2007 02:08:41 pm tradigan@newrevolutions.net wrote:
> > On Thursday 24 May 2007 12:43:36 pm tradigan@newrevolutions.net wrote:
> >> Is it possible to use gvinum to create a striped array that contains the
> >> root partition?  I want to be able to combine all 4 of the hard disks
> >> into
> >> one logical striped array and install the boot partition on it.  I have
> >> found documentation on how to mirror the root drive, but none on using a
> >> striped array for the root drive.
> >>
> >> Is this possible?
> >
> > Not without hardware support, no.
> >
> > I would create a small (1-2 GB) root partition one two or more of the
> > drives
> > and mirror it with gmirror (or not.. you must not care about fault
> > tolerance
> > if you're setting up a giant stripe). You could maybe use the same 1-2GB
> > on
> > the other drives for swap or tmp space (optionally mirrored as well).
> > Then use the rest of the space on all the drives for your stripe array.
> > I'd recommend gstripe over gvinum for ease-of-use, but it's up to you.
> >
> Is it possible to use gmirror for a small partition on two disks and then
> use gstripe on the remaining disk space of those drives to create a larger
> stripe?
>
> I didn't think that was possible.  I could be wrong however :).
>
> If that will work, that would be my best option right there.

Yes, that's exactly what I'm recommending.

On each drive:
	fdisk -BI
	bsdlabel -wB
	bsdlabel -e
	  (set up partitions here, use a for root and d for stripe)
Then:
	gmirror label somename firstdisks1a seconddisks1a ...
	gstripe lable someothername firstdisks1d seconddisks1d ...

etc. There are obviously a few blanks in the above but the manpages for each 
command and online documentation will help you fill them in.

JN



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