1. RAIDs

     
N disks

disk = address % N

offset = address / N


     
disk1 = (address % (N/2)) * 2,   disk2 = disk1 + 1

offset = address / (N/2)

write to both disks,
read from even-numbered disk for even offsets,
read from odd-numbered disk for odd offsets.