Bug#416512: removed disk && md-device

Neil Brown neilb at suse.de
Fri May 11 06:16:56 UTC 2007


On Thursday May 10, neilb at suse.de wrote:
> 
> No, I haven't, but it is getting near the top of my list.

I have just committed a change to the mdadm .git so that
   mdadm /dev/md4 --fail detached

will fail any components of /dev/md4 that appear to be detached (open
returns -ENXIO). and
   mdadm /dev/md4 --remove detached
will remove any such devices (that are failed or spare).
so

   mdadm /dev/md4 --fail detached --remove detached

will get rid of any detached devices completely, as will

   mdadm /dev/md4 --fail detached --remove failed

though that will also remove any failed devices that don't happen to
be detached.

NeilBrown




More information about the pkg-mdadm-devel mailing list