RAID Flashcards

1
Q

level 0

A

block striping; write one block to each disk
therefore each disk gets a fraction of the total data rather than a complete copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

level 1

A

mirroring: having redundancy by writing to n disks at once therefore if one of them fails then you have another copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

level 4

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

level 5

A

block striping + parity bit across all disks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is a positive of level 5 compared to 4

A

reduces bottleneck and increases fault tolerance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

level 6

A

level 5 with error correcting code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is raid and what does it actually do

A

Redundant Array of Independent/Inexpensive Disks; combines multiple physical hard drives into a single logical unit to improve performance, fault tolerance, or both.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is a time based negative of raid

A

average time to repair can be long (though more infrequent) as you have to write the contents to multiple disks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is a negative based on power failures

A

power failures can cause blocks to fail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how do we avoid power failures completely fucking the system

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

how can we stop read operations from becoming delayed

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly