United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
This will give you information on RAID personalities. Example output of this command would look similar to the following:cat /proc/mdstat
$ cat /proc/mdstat
Personalities : [raid0]
md0 : active raid0 hdd6[1] hda6[0]
40692224 blocks 256k chunks
|
In the event that your RAID array is rebuilding, this command will give you information on the percentage completion of the rebuild.
You can now use the mdadm command to extract further information. Information on mdadm is available by typing man mdadm in a terminal. Following is an example usage of mdadm, based on the example given above:
# mdadm --examine /dev/hda6
/dev/hda6:
Magic : a92b4efc
Version : 00.90.00
UUID : 28b55174:0f0b055e:29c12adf:a158a4d3
Creation Time : Tue Sep 21 20:53:05 2004
Raid Level : raid0
Device Size : 19534848 (18.63 GiB 20.00 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Tue Sep 21 20:53:05 2004
State : dirty
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 2fd39a8a - correct
Events : 0.1
Chunk Size : 256K
Number Major Minor RaidDevice State
this 0 3 6 0 active sync /dev/hda6
0 0 3 6 0 active sync /dev/hda6
1 1 22 70 1 active sync /dev/hdd6
|