Slices + stripes and mirrors
Joerg Pernfuss
elessar at bsdforen.de
Sat May 20 18:24:10 UTC 2006
On Sat, 20 May 2006 15:03:06 +0200
Pawel Jakub Dawidek <pjd at FreeBSD.org> wrote:
> Imagine a configuration where you have 5 disks. Create one 2GB slice
> on all disks, and use the rest space for the second slice.
> Now, create root file system by mirroring da0s1a and da1s1a.
> Create /usr/ on raid3(da2s1, da3s1, da4s1) and create /home/ on
> raid3(da0s2, da1s2, da2s2, da3s2, da4s2).
> This is the flexibility.
So true. I feel the need to give an example.
~> graid3 status
Name Status Components
raid3/var COMPLETE ad4s1d
ad10s1d
ad12s1d
~> gmirror status
Name Status Components
mirror/root COMPLETE ad4s1a
ad6s1a
ad10s1a
ad12s1a
mirror/usr1 COMPLETE ad4s1f
ad12s1f
mirror/jail1 COMPLETE ad4s1g
ad10s1g
mirror/home1 COMPLETE ad4s1h
ad10s1h
mirror/usr2 COMPLETE ad6s1f
ad10s1f
mirror/jail2 COMPLETE ad6s1g
ad12s1g
mirror/home2 COMPLETE ad6s1h
ad12s1h
~> gstripe status
Name Status Components
stripe/swap UP ad4s1b
ad6s1b
ad10s1b
ad12s1b
stripe/tmp UP ad4s1e
ad6s1e
ad10s1e
ad12s1e
stripe/usr UP mirror/usr2
mirror/usr1
stripe/jails UP mirror/jail1
mirror/jail2
stripe/home UP mirror/home1
mirror/home2
~> geli status
Name Status Components
stripe/swap.eli N/A stripe/swap
~> mount
/dev/mirror/root on / (ufs, local)
devfs on /dev (devfs, local, multilabel)
/dev/stripe/tmp on /tmp (ufs, local)
/dev/stripe/usr on /usr (ufs, local)
/dev/raid3/var on /var (ufs, local)
/dev/stripe/home on /home (ufs, local)
/dev/stripe/jails on /jails (ufs, local)
4 discs with one slice each, geom working on top of the bsdlabels.
/ is on a 4 partition mirror
swap is geli encrypted raid 0
/tmp is raid 0
/var is raid 3
/usr is raid 10
/home is raid 10
/jails is raid 10
You can have it work on whatever you want and stack it up into
absurdness. It's such nice work.
Joerg
--
| /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
| X HTML in email | .the next sentence is true. |
| / \ and news | .the previous sentence was a lie. |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060520/03a1b1e9/signature.pgp
More information about the freebsd-geom
mailing list