Linux RAID Cheat Sheet

Normal RAID situation Check RAID status: # mdadm --detail /dev/md0 Where /dev/md0 is the path to the volume. Example results: /dev/md0: Version : 1.2 Creation Time : Sun Dec 27 00:33:54 2020 Raid Level : raid5 Array Size : 9766912000 (9314.45 GiB 10001.32 GB) Used Dev Size : 1953382400 (1862.89 GiB 2000.26 GB) Raid Devices : 6 Total Devices : 6 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Sun Dec 11 17:19:25 2022 State : active Active Devices : 6 Working Devices : 6 Failed Devices : 0 Spare Devices : 0 Layout : left-symmetric Chunk Size : 512K Consistency Policy : bitmap Name : kn0:0 (local to host kn0) UUID : 00000000:00000000:00000000:00000000 Events : 22001356 Number Major Minor RaidDevice State 0 8 48 0 active sync /dev/sdd 7 8 80 1 active sync /dev/sdf 8 8 16 2 active sync /dev/sdb 3 8 0 3 active sync /dev/sda 4 8 32 4 active sync /dev/sdc 6 8 64 5 active sync /dev/sde Check for RAID status:...

December 11, 2022 · 7 min · 1384 words · Me