User Tools

Site Tools


blog:replace_faulty_disk_in_linux_md

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:replace_faulty_disk_in_linux_md [2012-02-16 06:21] brbblog:replace_faulty_disk_in_linux_md [2014-01-04 11:56] (current) brb
Line 6: Line 6:
   - Power up and set the partition table on the new drive to match those of the other drives in the array. Here we used 'sfdisk -d /dev/sdN | sfdisk /dev/sdF'.   - Power up and set the partition table on the new drive to match those of the other drives in the array. Here we used 'sfdisk -d /dev/sdN | sfdisk /dev/sdF'.
   - Add the proper partition on the new drive into the array, 'mdadm --manage /dev/mdX -a /dev/sdN2'   - Add the proper partition on the new drive into the array, 'mdadm --manage /dev/mdX -a /dev/sdN2'
-  - Sit back and wait for the recovery to happen, you can 'watch cat /proc/mdstat' to watch its progress; you should see something like: +  - Sit back and wait for the recovery to happen. The system will be a bit slow but usable.
- +
-Ref: http://www.linuxquestions.org/questions/linux-server-73/mdadm-raid-5-single-drive-failure-644325/#post3173822+
  
 +Ref: 
 +  * http://www.linuxquestions.org/questions/linux-server-73/mdadm-raid-5-single-drive-failure-644325/#post3173822
 +  * http://askubuntu.com/questions/57908/how-can-i-quickly-copy-a-gpt-partition-scheme-from-one-hard-drive-to-another/57922#57922
 +  * http://www.cyberciti.biz/tips/re-read-the-partition-table-without-rebooting-linux-system.html
 {{tag>linux raid}} {{tag>linux raid}}
  
blog/replace_faulty_disk_in_linux_md.1329369688.txt.gz · Last modified: 2012-02-16 06:21 by brb