Helpful mdadm commands

  • mdadm /dev/md0 --add /dev/sdX
  • cat /proc/mdstat get overview of Raids in PC
  • mdadm --detail /dev/md0 get more detailed view
  • mdadm /dev/md0 --monitor --test --oneshot testing especially for sending mails
  • blkid show all the ids of the hdds
  • For repair on a Live CD the following commands:
    sudo mdadm --assemble --scan```