Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2003 11:04:56 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Matthew Emmett <matt@emmett.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: growing vinum raid 1+0
Message-ID:  <20031004013456.GV45668@wantadilla.lemis.com>
In-Reply-To: <20031002141619.Q22650@sputnik.emmett.ca>
References:  <20031002141619.Q22650@sputnik.emmett.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--GH/dAUXXAlpmc9La
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thursday,  2 October 2003 at 14:16:19 -0600, Matthew Emmett wrote:
> Hello all,
>
> I have a question about vinum.  I'd like to end up with a setup like
> this:
>
>   disk1 mirrored with disk2 = mirror1

Vinum calls this a volume.

>   disk3 mirrored with disk4 = mirror2

This is another volume.

>   mirror2 concatenated with mirror1

This doesn't work.  You concatenate first, then mirror.

> I understand that this is a RAID 1+0 setup.  I'm pretty sure vinum
> can do RAID 1+0.

RAID-0 is striping.  This is RAID-1.

Vinum has four levels of objects:

  Drives, the physical hardware (more or less; they're really partitions).

  Subdisks, a contiguous chunk of a drive.

  Plexes, put together out of one or more subdisks.  This is where you
  would concatenate.

  Volumes, put together out of one or more plexes.  This is where you
  would mirror.

This doesn't really make much difference to what you want to do.

> Now, in the future, will I be able to add two more disks:
>
>   disk5 mirrored with disk6 = mirror3
>
> and concatenate mirror3 with the other mirrors?  And then use growfs
> to expand the filesystem?

If you're not striping (i.e. RAID-1 only), you do this by adding
subdisks to each plex.  There are more details at
http://www.vinumvm.org/cfbsd/vinum.pdf.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
NOTE: Due to the currently active Microsoft-based worms, I am limiting
all incoming mail to 131,072 bytes.  This is enough for normal mail,
but not for large attachments.  Please send these as URLs.

--GH/dAUXXAlpmc9La
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE/fiPAIubykFB6QiMRAqxsAJ4yhFnxmrgN+153s+64MEx9XUvodgCfeKbJ
1k1dF5AZa2vRbbjIeYXJwec=
=RBMn
-----END PGP SIGNATURE-----

--GH/dAUXXAlpmc9La--



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