Latest interface: 0.2-beta8
Latest system: 9.1-005
nka
User

45 posts

Posted on 14 February 2012 @ 18:07
I'm not having the money to buy 6 disk and I would like to have the opportunity to give me space to "grow" later.

I'm wondering if 2 RAID-Z1 will work as or better as 1 RAID-Z2 ?

The idea is :

Short term, i'm buying this (1) :
6 x 500GB RAID-Z2 = 2TB USABLE. ~480$

Or this (2) :
3 x 1TB RAID-Z1 = 2TB USABLE. ~330$

Later, I could buy another 3 x 1TB (or maybe 3 x 2-3-4TB...) and make pool of two RAID-Z1.

Jason
Developer

684 posts

Posted on 14 February 2012 @ 19:17
One RAID-Z2 offers more protection than multiple RAID-Z. It's much the same with mirroring: you have ONE guaranteed failure that you can withstand without total dataloss, and POSSIBLY more disks that can fail, if they reside in another mirror pair. But that is no guarantee, so both mirroring and multiple RAID-Z allow one failure guaranteed.

RAID-Z2, however, guarantees 2 failures, so in my opinion offers better protection than both mirroring and multiple RAID-Z.

Consider the multiple RAID-Z scenario where you have one hardware failure, combined with unreadable sector on another member disk during the rebuild process. If that bad sector stays unrecoverable, you've lost one file. With RAID-Z2, you can still access the file and doing so will cause ZFS to fix the bad sector automatically.

So you can see what lot's of redundancy is good for; it allows ZFS to keep self-healing everything it touches. And with a scrub you force ZFS to touch everything.

Back to your proposal. I'm not really sure why you would want 500GB or even 1TB disks. Why not 2TB disks instead? Those offer more gigabyte per dollar/euro invested.

You could also buy two new Hitachi 3TB disks, and use them in a mirror. Then in the future you buy 4 more disks, and create a 6-disk RAID-Z2. You can create a degraded RAID-Z2 with just the 4 new disks, and transfer data from your mirror to RAID-Z2. Then destroy the mirror and add the 2 disks to the RAID-Z2, changing its status from DEGRADED to ONLINE.
nka
User

45 posts

Posted on 14 February 2012 @ 20:22edited 20:36 05s
Thanks for those information. I didn't think of that double disk failure... I was only thinking about the performance lost of 3 disk vs 6.

As for not choosing 2TB disk, because it will cost me 960$ for 6. Yes I'll have 8TB of Data, but that more than I can buy (even if the price per TB is better). In fact, I could have do this if I had all the hardware, but I don't have it right now. Plus, I need only about 1TB of Data storage for now. Yes it will grow, but at this time, I'll have all the hardware needed and price for disk will have lowered... or, I'll buy those new 5TB! :p

I'll rethink my stuff, but I think I'll go 6 disk RAID-Z2.

As for the rest, it will be a E6550 (from an old PC) with 16GB of DDR3 in a Fractal R3 case. I'll have two ESXi 5 server running x3440 (or something similar I'll find, ealyer, I was looking at a i5 760) with 16GB of DDR3 connecting in iSCSI on Fractal Define Case (need to be smaller than 16").
Last Page

Valid XHTML 1.1