1
1
I find mdadm --detail <device>
very useful when I need to know what is going on with the device (/proc/mdadm
too).
Example:
/dev/md0:
Version : 1.2
Creation Time : Mon Mar 4 08:35:09 2013
Raid Level : raid10
Array Size : 1464884224 (1397.02 GiB 1500.04 GB)
Used Dev Size : 732442112 (698.51 GiB 750.02 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Update Time : Mon Mar 3 11:41:59 2014
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : near=2
Chunk Size : 512K
Name : server.example.com:0 (local to host server.example.com)
UUID : bfee0572:e809b555:22d8bfdb:e585371c
Events : 409
Number Major Minor RaidDevice State
0 8 17 0 active sync set-A /dev/sdb1
1 8 33 1 active sync set-B /dev/sdc1
2 8 49 2 active sync set-A /dev/sdd1
3 8 65 3 active sync set-B /dev/sde1
Recently I started using BTRFS and wonder if there is a way to have similar information about my BTRFS RAID devices? btrfs filesystem show <device>
is good, but does not have the same level of details...
I have already mentioned that it is good, but not as good as what mdadm shows, but I will accept your answer as it is the only one... – DejanLekic – 2014-08-01T09:54:16.810