Replace mdadm

From Karmaking
Revision as of 08:14, 5 June 2012 by Daniel (talk | contribs)
Jump to navigationJump to search

1. Mark faulty drive as "failed":

mdadm --fail /dev/md1 /dev/sdb1

2. Remove drive:

mdadm --remove /dev/md1 /dev/sdb1

3. Add new partitions to arrays:

mdadm --add /dev/md0 /dev/hdc1