Software Raid 5

From MattWiki
  • To create the RAID
mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/hdb /dev/hdc /dev/hdd
  • To rebuild the RAID
mdadm --assemble /dev/md0 /dev/hdb /dev/hdc /dev/hdd
  • Status of the RAID
cat /proc/mdstat
  • Status of the Drives
mdadm --query --examine /dev/hdb /dev/hdc /dev/hdd