# mdadm -D /dev/md0/dev/md0: Version : 00.90.01 Creation Time : Wed Aug 23 15:10:19 2006 Raid Level : raid5 Array Size : 417536 (407.75 MiB 427.56 MB) Device Size : 208768 (203.88 MiB 213.78 MB) Raid Devices : 3 Total Devices : 4Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Wed Aug 23 15:10:21 2006 State : clean Active Devices : 3Working Devices : 4 Failed Devices : 0 Spare Devices : 1 Layout : left-symmetric Chunk Size : 64K Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 33 1 active sync /dev/sdc1 2 8 49 2 active sync /dev/sdd1 3 8 65 -1 spare /dev/sde1 UUID : f8283de5:39c73d89:b9fbc266:fdceb416 Events : 0.2
生成配置文件(/etc/mdadm.conf):
# mdadm -D -s >/etc/mdadm.conf