From owner-freebsd-geom@FreeBSD.ORG Tue Oct 30 01:38:38 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D99D216A469 for ; Tue, 30 Oct 2007 01:38:38 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from signal.itea.ntnu.no (signal.itea.ntnu.no [129.241.190.231]) by mx1.freebsd.org (Postfix) with ESMTP id 9982613C4B3 for ; Tue, 30 Oct 2007 01:38:38 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by signal.itea.ntnu.no (Postfix) with ESMTP id 74FAC34876; Mon, 29 Oct 2007 23:13:09 +0100 (CET) Received: from caracal.stud.ntnu.no (caracal.stud.ntnu.no [129.241.56.185]) by signal.itea.ntnu.no (Postfix) with ESMTP; Mon, 29 Oct 2007 23:13:09 +0100 (CET) Received: by caracal.stud.ntnu.no (Postfix, from userid 2312) id AF1046241BA; Mon, 29 Oct 2007 23:13:23 +0100 (CET) Date: Mon, 29 Oct 2007 23:13:23 +0100 From: Ulf Lilleengen To: Felipe Neuwald Message-ID: <20071029221323.GA28014@stud.ntnu.no> References: <47260370.3060004@neuwald.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47260370.3060004@neuwald.biz> User-Agent: Mutt/1.5.9i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: freebsd-geom@freebsd.org Subject: Re: Raid 0 + 1 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: Tue, 30 Oct 2007 01:38:38 -0000 On man, okt 29, 2007 at 01:59:44 -0200, Felipe Neuwald wrote: > Hi Folks, > > I talked with my customer, and we decided to implement a 0 + 1 RAID, > with 4 disks of 250Gb each. > > Here is how my RAID is working now: > > [root@fileserver /]# gvinum list > 4 drives: > D a State: up /dev/ad4 A: 0/238474 MB (0%) > D b State: up /dev/ad5 A: 0/238475 MB (0%) > D c State: up /dev/ad6 A: 0/238475 MB (0%) > D d State: up /dev/ad7 A: 0/238475 MB (0%) > > 1 volume: > V data State: up Plexes: 1 Size: 931 GB > > 1 plex: > P data.p0 S State: up Subdisks: 4 Size: 931 GB > > 4 subdisks: > S data.p0.s0 State: up D: a Size: 232 GB > S data.p0.s1 State: up D: b Size: 232 GB > S data.p0.s2 State: up D: c Size: 232 GB > S data.p0.s3 State: up D: d Size: 232 GB > > > Could someone give me on example of how I'll implement a 0 + 1 RAID? > Hello, You need to create two plexes to do this, so something like: drive a device /dev/ad4 drive b device /dev/ad5 drive c device /dev/ad6 drive d device /dev/ad7 volume data plex org striped 493k # or some other stripesize sd drive a sd drive b plex org striped 493k sd drive c sd drive d Should do the trick. Also note that you can use a combination of gstripe(8) and gmirror(8) to achieve the same effect. -- Ulf Lilleengen