User Tools

Site Tools


it_tips:swraidqr

This is an old revision of the document!


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

it_tips/swraidqr.1592845446.txt.gz · Last modified: 2020/06/22 17:04 by florido

Accessibility Statement