blog:replace_faulty_disk_in_linux_md
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
blog:replace_faulty_disk_in_linux_md [2011-08-31 17:09] – brb | blog:replace_faulty_disk_in_linux_md [2014-01-04 11:55] – brb | ||
---|---|---|---|
Line 2: | Line 2: | ||
Replacing a faulty drive in an mdadm managed RAID array. | Replacing a faulty drive in an mdadm managed RAID array. | ||
- | - Use "mdadm --manage /dev/md0 -r /dev/sdd" | + | - Use 'mdadm --manage /dev/mdX -r /dev/sdF' |
- Power down and replace the drive with a good drive. | - Power down and replace the drive with a good drive. | ||
+ | - Power up and set the partition table on the new drive to match those of the other drives in the array. Here we used ' | ||
+ | - Add the proper partition on the new drive into the array, 'mdadm --manage /dev/mdX -a / | ||
+ | - Sit back and wait for the recovery to happen. The system will be a bit slow but usable. | ||
- | - Power up and set the partition table on the new drive to match those of the other drives in the array. Here we used " | + | Ref: |
- | + | * http://www.linuxquestions.org/questions/linux-server-73/mdadm-raid-5-single-drive-failure-644325/# | |
- | - Add the proper | + | |
- | + | * http://askubuntu.com/questions/57908/how-can-i-quickly-copy-a-gpt-partition-scheme-from-one-hard-drive-to-another/ | |
- | - Sit back and wait for the recovery to happen, you can " | + | |
- | + | ||
{{tag> | {{tag> | ||
blog/replace_faulty_disk_in_linux_md.txt · Last modified: 2014-01-04 11:56 by brb