1 |
On Wed, Dec 6, 2017 at 7:13 PM, Frank Steinmetzger <Warp_7@×××.de> wrote: |
2 |
> On Wed, Dec 06, 2017 at 06:35:10PM -0500, Rich Freeman wrote: |
3 |
>> |
4 |
>> IMO the cost savings for parity RAID trumps everything unless money |
5 |
>> just isn't a factor. |
6 |
> |
7 |
> Cost saving compared to what? In my four-bay-scenario, mirror and raidz2 |
8 |
> yield the same available space (I hope so). |
9 |
> |
10 |
|
11 |
Sure, if you only have 4 drives and run raid6/z2 then it is no more |
12 |
efficient than mirroring. That said, it does provide more security |
13 |
because raidz2 can tolerate the failure of any two disks, while |
14 |
2xraid1 or raid10 can tolerate only half of the combinations of two |
15 |
disks. |
16 |
|
17 |
The increased efficiency of parity raid comes as you scale up. |
18 |
They're equal at 4 disks. If you had 6 disks then raid6 holds 33% |
19 |
more. If you have 8 then it holds 50% more. That and it takes away |
20 |
the chance factor when you lose two disks. If you're really unlucky |
21 |
with 4xraid1 the loss of two disks could result in the loss of 25% of |
22 |
your data, while with an 8-disk raid6 the loss of two disks will never |
23 |
result in the loss of any data. (Granted, a 4xraid1 could tolerate |
24 |
the loss of 4 drives if you're very lucky - the luck factor is being |
25 |
eliminated and that cuts both ways.) |
26 |
|
27 |
If I had only 4 drives I probably wouldn't use raidz2. I might use |
28 |
raid5/raidz1, or two mirrors. With mdadm I'd probably use raid5 |
29 |
knowing that I can easily reshape the array if I want to expand it |
30 |
further. |
31 |
|
32 |
-- |
33 |
Rich |