RAID5 on two disks
When recovering data from a client's NETGEAR ReadyNAS device we saw a rather strange layout - RAID5 of two disks, which appeared once ReclaiMe File Recovery has processed md-raid records. After looking at it for a while we realized that this is, surprisingly, possible given that we ignore the requirement of a minimum number of disks. So let's see what happens when placing data and parity blocks on two disks in a RAID5 layout where a stripe contains, say, three sectors: Now let's see what are there in the parity blocks in such a layout? In order to get an even row of two elements it is needed that all the elements would be the same, so the content of the parity block is the same as the content of its corresponding data block. Therefore we deal with a typical RAID1 (mirror) layout. Despite all the wildness of the layout, it meets all the basic criteria of a RAID5: survives a single disk failure, the disk space overhead equals to the capacity of one member disk....