[sllug-members]: Replacing a failed HD in a software mirrored array

Marc Christensen marc at sllug.org
Thu Mar 8 17:03:15 MST 2007


Lamont Peterson wrote:

>> Has anyone replaced a HD in a sofware mirror before?  Anything I should
>> be careful of?  Any gotchas/pointers?
> 
> You will have to "remove" the failed drive before you can "add" the 
> replacement.  For example:
> 
> # mdadm --manage md0 -r /dev/sdb1
> # mdadm --manage md0 -a /dev/sdb1
> 
> You can do this at anytime, such as before you pull the drive, after you pull 
> it/before you insert the replacement or after you insert the new drive.

Very cool!  Thanks Lamont.

--
Marc Christensen
http://blog.mecworks.com


More information about the sllug-members mailing list