From: Neil Brown Date: Fri, 11 May 2007 06:16:56 +0000 Subject: Re: removed disk && md-device Message-Id: <17988.2648.848008.141952@notabene.brown> List-Id: References: <200705091417.09033.bs@q-leap.de> <20070509131450.GA31985@lapse.madduck.net> <200705091539.53863.bs@q-leap.de> <17986.50678.340484.891578@notabene.brown> In-Reply-To: message from Neil Brown on Thursday May 10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bernd Schubert , linux-raid@vger.kernel.org, linux-hotplug-devel@lists.sourceforge.net, 416512@bugs.debian.org On Thursday May 10, neilb@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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel