Linux Commands - mdadm --examine (partition RAID)

by
Jeremy Canfield |
Updated: May 22 2021
| Linux Commands articles
The mdadm command with the --examine option can be used to examine a partition.
mdadm --examine /dev/sdb1
Something like this should be returned.
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : db6713ad:66881ca7:48e01e17:6f0a0053
Name : www.example.com:root
Creation Time : Sat Mar 26 17:23:25 2016
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 3860856832 (1841.00 GiB 1976.76 GB)
Array Size : 1930428416 (1841.00 GiB 1976.76 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=0 sectors
State : clean
Device UUID : d18980d6:b3710ba9:5f3e4f24:a1bd3519
Internal Bitmap : 8 sectors from superblock
Update Time : Wed May 12 19:43:05 2021
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 8f05083d - correct
Events : 209562
Device Role : Active device 0
Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
Did you find this article helpful?
If so, consider buying me a coffee over at