Installation dmadm
fdisk disk information view the -l, 6 100GB disk, respectively, / dev / sdb, / dev / sdc, / dev / sdd, / dev / sde, / dev / sdf, / dev / sdg
create raid5, two hot spare
-C created Raid
-v display procedure
-n Raid specified disc number
-l Raid level designated
-x specified number of hot spare
used mdadm -D / dev / md0 Raid view information, Raid rebuilding is
about 3 minutes using mdadm -D / dev / md0 raid view information, initialization is complete raid
format
mount the partition
simulated fault
/ dev / sdg rebuiding transition from hot spare disk is raid
CentOS configuration software Raid
Guess you like
Origin blog.51cto.com/wanglei1024/2429813
Recommended
Ranking