Which two statements are true about the MD0 RAID set?

Examine the content of the mdstat pseudo file:
# cat /proc/msstat
personalities: [raid1] [raid0] [raid6] [raid5] [raid4]
md0 : active raid1 md2[1] md1[0]
207680blocks super 1.2 [2/2] [UU]
md2 : activeraid0 sdg[1] sdf1[0]
207872blocks super 1.2 512k chinks
Md1 :active raid0sde1[1] sdd1[0]
207872blocks super 1.2 512k chunks
Unused devices: <none>
Which two statements are true about the MD0 RAID set?

Examine the content of the mdstat pseudo file:
# cat /proc/msstat
personalities: [raid1] [raid0] [raid6] [raid5] [raid4]
md0 : active raid1 md2[1] md1[0]
207680blocks super 1.2 [2/2] [UU]
md2 : activeraid0 sdg[1] sdf1[0]
207872blocks super 1.2 512k chinks
Md1 :active raid0sde1[1] sdd1[0]
207872blocks super 1.2 512k chunks
Unused devices: <none>
Which two statements are true about the MD0 RAID set?

A.
MDO is a stripped mirror RAID set.

B.
MDO is a mirrored stripped RAID set.

C.
If MD1 fails, so will MDO.

D.
If MD2 fails, MDO too fails.

E.
If /dev/sdd1 and /dev/sdg1 fail, MDO fails.

Explanation:
MD0 is active and raid1. Md2 and md1 is spare. So it is a stripped mirror RAID set.
Since both depends on MD0, if MD2 fails, MD0 will fail too.
Reference: http://linuxwiki.de/proc/mdstat



Leave a Reply 8

Your email address will not be published. Required fields are marked *


BlueDevil

BlueDevil

Raid 1 = mirrored
Raid 0 = stripped
MD0 – Raid 1 = MD1 and MD2 are mirrored – so if MD2 fails MD0 not fails! Only if MD2 and MD1 fails also MD0 fails!
Because /dev/sdd1 and /dev/sdg1 belongs to different Stripsets (MD1 and MD2 fails) so also MD0 fails.
Answer D is wrong and Answer E is right!

the tuk-ITE'05 CON-KMITL

the tuk-ITE'05 CON-KMITL

A, E

Jef Adams

Jef Adams

Raid 1 = mirrored
Raid 0 = stripped
md0-> md2,md1 are mirrored
md2-> stripped over sdg1[1] sdf1[0
md1-> stripped over sde1[1] sdd1[0]

So answers are B (mirrored stripe), E (1 HD failure on each stripe !)