16
Consistency Policy : resync
Resync Status : 0% complete
UUID : bd08e6b3:90b4c83c:498c7d20:2b33be77
Number Major Minor RaidDevice State
0 8 32 0 active sync set-A /dev/sdc
1 8 80 1 active sync set-B /dev/sdf
2 8 48 2 active sync set-A /dev/sdd
3 8 64 3 active sync set-B /dev/sde
Viewing the states of all RAID arrays
Perform this task to view the state of all RAID arrays.
Syntax
cat /proc/mdstat
Examples
# View the states of all RAID arrays.
[root@localhost ~]# cat /proc/mdstat
Personalities : [raid1]
md127 : active raid1 sda[1] sdb[0]
468845568 blocks super external:/md0/0 [2/2] [UU]
[>....................] resync = 0.5% (2401792/468845568) finish=35.6min
speed=218344K/sec
md0 : inactive sdb[1](S) sda[0](S)
2210 blocks super external:imsm
unused devices: <none>
[root@localhost ~]# mdadm -D /dev/md127
/dev/md127:
Container : /dev/md0, member 0
Raid Level : raid1
Array Size : 468845568 (447.13 GiB 480.10 GB)
Used Dev Size : 468845568 (447.13 GiB 480.10 GB)
Raid Devices : 2
Total Devices : 2
State : clean, resyncing
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Consistency Policy : resync