From owner-freebsd-geom@FreeBSD.ORG Sat May 20 18:24:10 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C205D16A421 for ; Sat, 20 May 2006 18:24:10 +0000 (UTC) (envelope-from elessar@bsdforen.de) Received: from postfix.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BCB543D45 for ; Sat, 20 May 2006 18:24:10 +0000 (GMT) (envelope-from elessar@bsdforen.de) Received: by postfix.bsdforen.de (Postfix, from userid 20000) id 4D2A36844BA; Sat, 20 May 2006 20:24:09 +0200 (CEST) Received: from localhost (postfix [127.0.0.3]) by postfix.bsdforen.de (Postfix) with ESMTP id 043406844B7 for ; Sat, 20 May 2006 20:24:08 +0200 (CEST) Received: from postfix.bsdforen.de ([127.0.0.3]) by localhost (postfix.bsdforen.de [127.0.0.3]) (amavisd-new, port 10024) with LMTP id 70551-04 for ; Sat, 20 May 2006 20:24:07 +0200 (CEST) Received: from loki (p549CCB96.dip.t-dialin.net [84.156.203.150]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postfix.bsdforen.de (Postfix) with ESMTP id 0463A6844B6 for ; Sat, 20 May 2006 20:24:06 +0200 (CEST) Date: Sat, 20 May 2006 20:23:51 +0200 From: Joerg Pernfuss To: freebsd-geom@freebsd.org 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> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_xFb/X7oL0q=QOb6NFoEqj3_"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Virus-Scanned: amavisd-new at bsdforen.de X-DSPAM-Result: Innocent X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 446f5ec9758311274413787 X-DSPAM-User: global Subject: Re: Slices + stripes and mirrors X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 18:24:10 -0000 --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 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_--