This site is now 100% read-only, and retired.

XML Logo

Posted by martijnvanb on Tue 13 May 2008 at 12:44
Tags: , ,
- mdadm --detail /dev/md$ check which disk is alive
- shutdown
- replace crashed harddisk
- boot machine
- sfdisk -d /dev/sda | sfdisk /dev/sdb
- mdadm --detail /dev/md0
- check partitions
- rebuild partitions with mdadm --add /dev/md0 /dev/sdb1
- check for other raid partitions
- check status with watch "cat /proc/mdstats"

After that it is finished I am ready for the next harddisk crash