User Tools

Site Tools


sysadmin_misc:mdadm

Mdadm

Watch the array status

watch -d -n10 mdadm --detail /dev/md127

Recovery from livecd

mdadm --examine --scan >> /etc/mdadm.conf
mdadm --assemble --scan /dev/md/root
mount /dev/md127 /mnt  # or vgscan...

Destroy an array

mdadm --stop /dev/md0
mdadm --zero-superblock /dev/sda
mdadm --zero-superblock /dev/sdb
sysadmin_misc/mdadm.txt · Last modified: 2019/11/12 14:49 by adyxax