RAID Flashcards
level 0
block striping; write one block to each disk
therefore each disk gets a fraction of the total data rather than a complete copy
level 1
mirroring: having redundancy by writing to n disks at once therefore if one of them fails then you have another copy
level 4
block striping (level 0) + parity bit: if an error occurs then you can identify it on a block basis
every write writes to the parity disk
level 5
block striping + parity bit across all disks
what is a positive of level 5 compared to 4
reduces bottleneck and increases fault tolerance
level 6
level 5 with error correcting code
what is raid and what does it actually do
Redundant Array of Independent/Inexpensive Disks; combines multiple physical hard drives into a single logical unit to improve performance, fault tolerance, or both.
what is a time based negative of raid
average time to repair can be long (though more infrequent) as you have to write the contents to multiple disks
what is a negative based on power failures
power failures can cause blocks to fail
how do we avoid power failures completely fucking the system
e.g. ssd can have data written to them before the power goes off completely therefore we use them with disks
the ssd now acts as a cache
how can we stop read operations from becoming delayed
decouple writes from the disk makes reads quicker
we store the writes in cache and do them later as theyre not needed right now unlike reads