User Tools

Site Tools


it_tips:swraidqr

Linux Software RAID Quick Reference

title

code

Enumerate RAIDs

mdadm -E /dev/sd[a-c][0-3]

Check RAID activity

cat /proc/mdstats

Detail RAID device

mdamd --detail /dev/md125

grep for State

create mdadm.conf

mdadm --detail --scan --verbose >> /etc/mdadm.conf

This also shows devices UUID

SELinux RAID fix

restorecon -R /mnt/raid1

where /mnt/raid1 is the mount path of the RAID

References

it_tips/swraidqr.txt · Last modified: 2020/06/22 21:16 by florido

Accessibility Statement