removing/adding drives to arrays
Hopefully someone will help verify what I am about to say. These commands are found in the Manage mode help/man/info of the mdadm command.
- mark drive to be removed as "failed" if it is not already listed as failed
mdadm /dev/md? -f /dev/hd?
mdadm -D /dev/md? will display the info on the array, mdadm -E /dev/hd? displays pretty much the same info
- remove the failed drive
mdadm /dev/md? -r /dev/hd? removes the failed device from the array, now install the new drive
- hot add the new drive, the new drive will be synched to the drive that remained installed
mdadm /dev/md? -a /dev/hd? adds the drive
Verify the array with mdadm -E /dev/md?
I hope this helps.
Oops, I just realized that you said mdraid. The above is my guess with mdadm. Probably not much help then...
Last edited by joe4psu; 05-18-2006 at 06:57 AM.