James Knott wrote:
> I've now got SUSE 10.2 set up with RAID and LVM on my server.  However,
> I don't seem to be able to re-add a "failed" drive, without rebooting. 
> The drives are hot-swapable.  When I use the command mdadm  /dev/md0/
> -add /dev/sdxx I get a "device busy" error message.  Even removing the
> drive with the --remove option, before the add command doesn't help.  I
> still have to reboot to add the drive.  Is there something I'm missing?

If a drive/partition is marked as "failed", you need to remove it from
the RAID first with:

mdadm --manage --remove /dev/mdx /dev/sdxx

Then you can add it again with:

mdadm --manage --add /dev/mdx /dev/sdxx

Hope it helps.

> 
> tnx jk
> 

-- 
Rui Santos
http://www.ruisantos.com/

Veni, vidi, Linux!
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to