mdadm.md (521B)
1 # mdadm 2 3 https://www.tecmint.com/manage-software-raid-devices-in-linux-with-mdadm/ 4 5 ``` 6 cat /proc/mdstat 7 cat /etc/mdadm.conf 8 sudo mdadm --query /dev/md127 9 sudo mdadm --detail /dev/md127 10 sudo mdadm --examine /dev/sdb1 11 sudo mdadm --manage /dev/md127 --re-add /dev/sdb1 # if using same disk 12 sudo mdadm --manage /dev/md127 --add /dev/sdb1 # if using new disk 13 ``` 14 15 * had to run this when one of the disks was offline on boot and the system dropped into maintenance mode 16 ``` 17 mdadm --stop /dev/md127 18 mdadm --assemble --scan 19 ```