Date: Sat, 20 May 2006 20:23:51 +0200 From: Joerg Pernfuss <elessar@bsdforen.de> To: freebsd-geom@freebsd.org Subject: Re: Slices + stripes and mirrors Message-ID: <20060520202351.17821fa9@loki> In-Reply-To: <20060520130306.GA7030@garage.freebsd.pl> References: <200605161555.08195.darcy@wavefire.com> <20060517171955.GB838@garage.freebsd.pl> <20060519172148.GA54819@teardrop.org> <20060519180604.GA37562@megan.kiwi-computer.com> <20060520130306.GA7030@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_xFb/X7oL0q=QOb6NFoEqj3_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 20 May 2006 15:03:06 +0200 Pawel Jakub Dawidek <pjd@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 --=20 | /"\ 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. | --Sig_xFb/X7oL0q=QOb6NFoEqj3_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEb17FH31s/bvKrSQRAjKLAJ9m+p5nEVEiTe9uQw/LBy8j69cRDQCaA+/W n/jQmyVgZV6Dsjjwv94ZHOk= =imTH -----END PGP SIGNATURE----- --Sig_xFb/X7oL0q=QOb6NFoEqj3_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060520202351.17821fa9>