| Replace failed disk in raid array (md) | |
| 1. isolote broken disk and replace 2. Boot system 3. find current disk config cat /proc/mdstat 4. Remove failed disk from config mdadm --manage /dev/md0 --fail /dev/sdb1 5. copy partitions from working disk to new disk sfdisk -d /dev/hda | sfdisk --force /dev/hdb 6. add new partitions to raid array (as per config found) mdadm -a /dev/md0 /dev/hdb1 mdadm -a /dev/md1 /dev/hdb2 mdadm -a /dev/md2 /dev/hdb3 7. Monitor the progress. cat /proc/mdstat Brought to you by ninjatec | |
0 comments:
Post a Comment