RAID Flashcards

1
Q

What does RAID stand for?

A

Redundant Array of Independent Disks, used to stand for Redundant Array of Inexpensive Disks but industry changed it.

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

What is the ‘enemy’ of RAID

A

SLED - Single Large Expensive Disk

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

Define Striping

A

Distributing data over multiple drives

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

RAID Level 0

A

Simply stripes data across drives.
Works best with large requests
Not true RAID because there is no redundancy.
Another disadvantage of this organization is that the reliability is potentially worse than having a SLED.

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

RAID Level 1

A

True RAID. It duplicates all the disks.
On a write, every strip is written twice.
On a read, either copy can be used, distributing the load over more drives. Consequently, write performance is no better than for a single drive, but read performance can be up to twice as good.
Fault tolerance is excellent: if a drive crashes, the copy is simply used instead. Recovery consists of simply installing a new drive and copying the entire backup drive to it.

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

RAID Level 2

A

RAID level 2 works on a word basis, possibly even a byte basis.
Imagine splitting each byte of the single
virtual disk into a pair of 4-bit nibbles, then adding a Hamming code to each
one to form a 7-bit word, of which bits 1, 2, and 4 were parity bits.
Further imagine
that the seven drives were synchronized in terms of arm position
and rotational position. Then it would be possible to write the 7-bit Hamming
coded word over the seven drives, one bit per drive.

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

RAID Level 3

A

RAID level 3 is a simplified version of RAID level 2.
Here a single parity bit is computed for each data word and written to a parity drive.
It provides full 1-bit error correction since the position of the bad bit is known.

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

RAID Level 4

A

RAID level 4 works with strips again, not individual words with parity, and do not require synchronized drives.
RAID level 4 is like RAID level 0, with a strip-for-strip parity written onto an extra drive.
For example, if each strip is k bytes long, all the strips are XOR’ed together, resulting in a parity strip k bytes long. If a drive crashes, the lost bytes can be recomputed from the parity drive.

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

RAID Level 5

A

RAID level 5 works with strips again, not individual words with parity, and do not require synchronized drives.
RAID level 5 by distributes the parity bits uniformly over all the drives, round robin fashion.

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