Socar
August 24th, 2009, 08:51 AM
Crap. I thought I looked over all possibilities but apparently not. Taking away disk 2 and 4 from my own example will make the array fail.
Sorry! :)
Hi,
I've been looking over the different kinds of layouts available for mdadm software raid and found that I'm going for Raid10. However I'm missing a very specific layout (which I hope is achievable by using a layout combination of some sort).
The default n2 layout yields redundance on a very specific level with 4 disks; any 2 disks can fail given that they're not each other's mirrors. This, I don't like :)
So, I've looked into the different levels on Wikipedia (http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10) but found nothing that would suggest redundancy with any 2 disks going down in a 4-disk set.
Also, I need to keep the disk storage capacity of a default RAID1+0 array (i.e. 200% of the smallest disk in the array).
The f2 layout (as far as I can see) duplicates the sectors once with the offset of one disk.
For 4 disks, I imagine it'd look like this:
A1 A2 A3 A4
A5 A6 A7 A8
A9 A10 A11 A12
A13 A14 A15 A16
A17 A18 A19 A20
… … … …
A4 A1 A2 A3
A8 A5 A6 A7
A12 A9 A10 A11
A16 A13 A14 A15
A20 A17 A18 A19Now, remove the two disks in the middle. Oops, there goes our A2, A6, A10, A14 and A18 sectors! Array dead.
So, consider the following:
A1 A2 A3 A4
A5 A6 A7 A8
A9 A10 A11 A12
A13 A14 A15 A16
A17 A18 A19 A20
… … … …
A3 A4 A1 A2
A7 A8 A5 A6
A11 A12 A9 A10
A15 A16 A13 A14
A19 A20 A17 A18Voilà! Now with this offset of 2 disks, any two disks may fail while still keeping default storage capacity of a RAID1+0 array.
So, my question is, is this possible? If so, I'd be eternally grateful to whoever finds me the answer :)
Sorry! :)
Hi,
I've been looking over the different kinds of layouts available for mdadm software raid and found that I'm going for Raid10. However I'm missing a very specific layout (which I hope is achievable by using a layout combination of some sort).
The default n2 layout yields redundance on a very specific level with 4 disks; any 2 disks can fail given that they're not each other's mirrors. This, I don't like :)
So, I've looked into the different levels on Wikipedia (http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10) but found nothing that would suggest redundancy with any 2 disks going down in a 4-disk set.
Also, I need to keep the disk storage capacity of a default RAID1+0 array (i.e. 200% of the smallest disk in the array).
The f2 layout (as far as I can see) duplicates the sectors once with the offset of one disk.
For 4 disks, I imagine it'd look like this:
A1 A2 A3 A4
A5 A6 A7 A8
A9 A10 A11 A12
A13 A14 A15 A16
A17 A18 A19 A20
… … … …
A4 A1 A2 A3
A8 A5 A6 A7
A12 A9 A10 A11
A16 A13 A14 A15
A20 A17 A18 A19Now, remove the two disks in the middle. Oops, there goes our A2, A6, A10, A14 and A18 sectors! Array dead.
So, consider the following:
A1 A2 A3 A4
A5 A6 A7 A8
A9 A10 A11 A12
A13 A14 A15 A16
A17 A18 A19 A20
… … … …
A3 A4 A1 A2
A7 A8 A5 A6
A11 A12 A9 A10
A15 A16 A13 A14
A19 A20 A17 A18Voilà! Now with this offset of 2 disks, any two disks may fail while still keeping default storage capacity of a RAID1+0 array.
So, my question is, is this possible? If so, I'd be eternally grateful to whoever finds me the answer :)