From owner-freebsd-geom@FreeBSD.ORG Thu Sep 21 09:30:40 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 08DF316A415 for ; Thu, 21 Sep 2006 09:30:40 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30303.mail.mud.yahoo.com (web30303.mail.mud.yahoo.com [209.191.69.65]) by mx1.FreeBSD.org (Postfix) with SMTP id C7A0D43D55 for ; Thu, 21 Sep 2006 09:30:38 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 57968 invoked by uid 60001); 21 Sep 2006 09:30:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=r+evmhTqqvvf/EfmQAhn9HHyTVaKfY+cvTyF8Us4Se+kbdTqGzbgdTzJ3qmsGbK4fSmn5n2S/Y380qDJKlJWhgZSPZzfTXsIRuV3Ev5YCEtHzHPIXg+/JXqG/bjHsNGnfQU291KC2bOSbqmgNnzjnNjwLORsZ1UYKccvmRNgp7I= ; Message-ID: <20060921093038.57966.qmail@web30303.mail.mud.yahoo.com> Received: from [213.54.71.203] by web30303.mail.mud.yahoo.com via HTTP; Thu, 21 Sep 2006 02:30:37 PDT Date: Thu, 21 Sep 2006 02:30:37 -0700 (PDT) From: "R. B. Riddick" To: Matthew Seaman , "Marc G. Fournier" In-Reply-To: <45122531.6010503@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, freebsd-geom@freebsd.org Subject: Re: geom - help ... 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: Thu, 21 Sep 2006 09:30:40 -0000 --- Matthew Seaman wrote: > Marc G. Fournier wrote: > > > > So, again, if I'm reading through things correctly, I'll have to do > > something like: > > > > gstripe st1 da1 da2 > > gstripe st2 da3 da4 > > gmirror drive st1 st2 > > newfs drive > > That's the wrong way round, I think. If you lose a drive, then you've > the whole of one of your stripes and have no resilience. Shouldn't you > rather stripe the mirrors: > > gmirror gm0 da1 da2 > gmirror gm1 da3 da4 > gstripe gs0 gm0 gm1 > newfs gs0 > > This way if you lose a drive then only one of your gmirrors loses > resilience and the other half of your disk space is unaffected. > Yup! In the case M(S(a,b),S(c,d)) the content on 'a' and 'c' and on 'b' and 'd' would be identical, so that the u had to do it handish and efficient or automatically and inefficient in case of a disk failure. I personally put the boot-stuff on a gmirror (no striping). So u might want to use something like this: M(a1,c1) for / S(b1,d1) for /not-so-important S(M(a2,c2),M(b2,d2)) for /usr/home By the way: A correct syntax would be gmirror label -b load gm0 da1s1a da3s1a gmirror label -b load gm1 da1s2d da3s2d gmirror label -b load gm2 da2s2d da4s2d gstripe label -s 65536 gs0 da2s1d da4s1d gstripe label -s 65536 gs1 mirror/gm1 mirror/gm2 Oh! And I am experimenting with my geom_raid5 implementation... But it is quite slow in write to UFS (but non-concurrrent write to raw-device is quite fast already). U can download it here (but it is quite difficult to integrate - many files have to be changed handish): http://home.tiscali.de/cmdr_faako/geom_raid5.tbz :-) -A __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com