Storage and Fault Tolerance Flashcards
What does RAID stand for?
Redundant Array of Independent Disks
What is a RAID?
- Several disks play the role of one
- Each disk detects its own errors using codes in each sector
What should a RAID do?
- Provide better performance
- Normal read/write even when we have a bad sector or a whole disk fails.
What is RAID0?
Uses “striping” (track 0 on first disk, track 1 on second, etc) for increased throughput
What is RAID0’s performance?
- Nx data throughput (N is number of disks)
- less queuing delay (latency)
MTTF?
Mean Time to Failure
MTTDL
Mean Time to Data Loss
Failure rate
f = failures per disk per second
Single disk MTTF
1/f
Single disk MTTDL
Single disk MTTF
What is the MTTF of RAID0 with N disks?
MTTF_N = MTTDL_N = MTTD_1 / N
What is RAID1?
Uses “mirroring” (same data on multiple disks) for reliability.
What is the throughput of a RAID0 with N disks?
N x the throughput of one disk
What is throughput of RAID1?
Write: same as 1 disk
Read: N x throughput of one disk
Reliability of RAID1?
RAID1 tolerates any faults that affect one disk. Has ECC on each disk sector, so it knows where the error is and on which disk. It can then use the mirror copy on the other disk instead.