I want to remove a device from a raid1 device. I can't stop the raid
because it's the / filesystem so I used raidsetfaulty to mark the device
as faulty and then ran raidhotremove.

I ran:

[root@srvaecot-1 /root]# raidsetfaulty /dev/md0 /dev/sdd2

and my /proc/mdstat now reads:

[root@srvaecot-1 /root]# cat /proc/mdstat 
Personalities : [raid1] [raid5] 
read_ahead 1024 sectors
md0 : active raid1 sdd2[0](F) sdc2[2] sdb2[1] sda2[0] 618432 blocks
[3/3] [UUU]

but when I run raidhotremove I get:

[root@srvaecot-1 /root]# raidhotremove /dev/md0 /dev/sdd2
/dev/md0: can not hot-remove disk: disk busy!


Running kernel 2.2.12 with raid0145-19990824 patch and
raidtools-19990824-0.90

Any ideas?

Leandro

Reply via email to