Sunday, June 28, 2015

Fix repair replace broken failed RAID mirrored hard drive from proxmox hardware node HN MD0

** REBOOT NOT REQUIRED FOR HOT-SWAP DRIVE BAY **

cat /proc/mdstat

FROM SDB TO SDC:
dd if=/dev/zero of=/dev/sdc bs=512 count=1
sfdisk -d /dev/sdb | sfdisk --force /dev/sdc
mdadm --manage /dev/md0 --add /dev/sdc1

FROM SDC TO SDB:
dd if=/dev/zero of=/dev/sdb bs=512 count=1
sfdisk -d /dev/sdc | sfdisk --force /dev/sdb
mdadm --manage /dev/md0 --add /dev/sdb1

cat /proc/mdstat

No comments:

Post a Comment