From owner-freebsd-stable@FreeBSD.ORG Wed Jan 5 21:57:04 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC37C106566B for ; Wed, 5 Jan 2011 21:57:04 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 74C2E8FC12 for ; Wed, 5 Jan 2011 21:57:04 +0000 (UTC) Received: by wyf19 with SMTP id 19so15946667wyf.13 for ; Wed, 05 Jan 2011 13:57:00 -0800 (PST) Received: by 10.227.132.83 with SMTP id a19mr14018559wbt.112.1294264618857; Wed, 05 Jan 2011 13:56:58 -0800 (PST) Received: from [10.134.136.45] ([92.90.16.16]) by mx.google.com with ESMTPS id i80sm11435853wej.4.2011.01.05.13.56.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Jan 2011 13:56:57 -0800 (PST) References: <4D1C6F90.3080206@my.gd> <4D21E679.80002@my.gd> <84882169-0461-480F-8B4C-58E794BCC8E6@my.gd> In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8A293) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <488AE93A-97B9-4F01-AD0A-0098E4B329C3@my.gd> X-Mailer: iPhone Mail (8A293) From: Damien Fleuriot Date: Wed, 5 Jan 2011 22:55:01 +0100 To: Chris Forgeron Cc: "freebsd-stable@freebsd.org" Subject: Re: ZFS - moving from a zraid1 to zraid2 pool with 1.5tb disks X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 21:57:04 -0000 Well actually... raidz2: - 7x 1.5 tb =3D 10.5tb - 2 parity drives raidz1: - 3x 1.5 tb =3D 4.5 tb - 4x 1.5 tb =3D 6 tb , total 10.5tb - 2 parity drives in split thus different raidz1 arrays So really, in both cases 2 different parity drives and same storage... --- Fleuriot Damien On 5 Jan 2011, at 16:55, Chris Forgeron wrote: > First off, raidz2 and raidz1 with copies=3D2 are not the same thing.=20 >=20 > raidz2 will give you two copies of parity instead of just one. It also gua= rantees that this parity is on different drives. You can sustain 2 drive fai= lures without data loss.=20 >=20 > raidz1 with copies=3D2 will give you two copies of all your files, but the= re is no guarantee that they are on different drives, and you can still only= sustain 1 drive failure. >=20 > You'll have better space efficiency with raidz2 if you're using 9 drives.=20= >=20 > If I were you, I'd use your 9 disks as one big raidz, or better yet, get 1= 0 disks, and make a stripe of 2 5 disk raidz's for the best performance.=20 >=20 > Save your SSD drive for the L2ARC (cache) or ZIL, you'll get better speed t= hat way instead of throwing it away on a boot drive.=20 >=20 > -- >=20 >=20 > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebs= d.org] On Behalf Of Damien Fleuriot > Sent: January-05-11 5:01 AM > To: Damien Fleuriot > Cc: freebsd-stable@freebsd.org > Subject: Re: ZFS - moving from a zraid1 to zraid2 pool with 1.5tb disks >=20 > Hi again List, >=20 > I'm not so sure about using raidz2 anymore, I'm concerned for the performa= nce. >=20 > Basically I have 9x 1.5T sata drives. >=20 > raidz2 and 2x raidz1 will provide the same capacity. >=20 > Are there any cons against using 2x raidz1 instead of 1x raidz2 ? >=20 > I plan on using a SSD drive for the OS, 40-64gb, with 15 for the system it= self and some spare. >=20 > Is it worth using the free space for cache ? ZIL ? both ? >=20 > @jean-yves : didn't you experience problems recently when using both ? >=20 > --- > Fleuriot Damien >=20 > On 3 Jan 2011, at 16:08, Damien Fleuriot wrote: >=20 >>=20 >>=20 >> On 1/3/11 2:17 PM, Ivan Voras wrote: >>> On 12/30/10 12:40, Damien Fleuriot wrote: >>>=20 >>>> I am concerned that in the event a drive fails, I won't be able to=20 >>>> repair the disks in time before another actually fails. >>>=20 >>> An old trick to avoid that is to buy drives from different series or=20 >>> manufacturers (the theory is that identical drives tend to fail at=20 >>> the same time), but this may not be applicable if you have 5 drives=20 >>> in a volume :) Still, you can try playing with RAIDZ levels and probabil= ities. >>>=20 >>=20 >> That's sound advice, although one also hears that they should get=20 >> devices from the same vendor for maximum compatibility -.- >>=20 >>=20 >> Ah well, next time ;) >>=20 >>=20 >> A piece of advice I shall heed though is using 1% less capacity than=20 >> what the disks really provide, in case one day I have to swap a drive=20 >> and its replacement is a few kbytes smaller (thus preventing a rebuild). > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"