RAID Flashcards

(18 cards)

1
Q

What does RAID stand for?

A

Redundant Array of Independent Disks

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

What is the purpose of RAID?

A

Combines multiple physical drives into logical units to enhance performance, redundancy, or both

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

What does RAID 0 use for speed?

A

Striping

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

What does RAID 1 use for protection?

A

Mirroring

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

What do RAID 5 and RAID 6 use for error detection and recovery?

A

Parity

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

What is the primary Linux tool for managing RAID arrays?

A

mdadm

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

What does –create option in mdadm do?

A

Initializes a new RAID array

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

What does –manage option in mdadm do?

A

Adds or removes disks from an existing array

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

What does –monitor option in mdadm do?

A

Continuously watches array for failures

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

What does –verbose option in mdadm do?

A

Provides detailed output

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

Command to create a RAID 1 array with two devices?

A

sudo mdadm –create –verbose /dev/md0 –level=1 –raid-devices=2 /dev/sdb /dev/sdc

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

How do you save RAID configuration?

A

sudo mdadm –detail –scan»_space; /etc/mdadm/mdadm.conf and sudo update-initramfs -u

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

How do you format and mount the RAID array?

A

sudo mkfs.ext4 /dev/md0, sudo mkdir /mnt/raid, sudo mount /dev/md0 /mnt/raid

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

What file enables automatic mounting at boot?

A

/etc/fstab

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

How do you monitor RAID status?

A

sudo mdadm –monitor –verbose /dev/md0

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

What file shows real-time RAID status?

17
Q

What does [UU] indicate in /proc/mdstat?

A

Both disks are healthy

18
Q

What does [U_] indicate in /proc/mdstat?

A

A failed disk