On 09/20/2011 09:51 AM, Ulrich Windl wrote: > h02:~ # mdadm /dev/md6 --fail detached > h02:~ # mdadm -v /dev/md6 --remove failed > h02:~ # mdadm /dev/md6 --fail /dev/dm-27 > mdadm: set /dev/dm-27 faulty in /dev/md6 > ### It only works if the device is explicitly named! > h02:~ # mdadm /dev/md6 --remove /dev/dm-27 > mdadm: hot removed /dev/dm-27 from /dev/md6 > h02:~ # mdadm /dev/md6 --re-add missing > mdadm: re-added /dev/disk/by-id/dm-name-T11_AS_2-E1 > ### Only then "--re-add missing" works.
I'm probably missing something here, but last I checked --re-add was supposed to be used only to add the same physical device you've previously --remove'd. If you're adding a replacement disk, even if it has the same /dev/xyzN name as the previously removed one, you need to use --add. The "missing" keyword is mostly used to create or start arrays in "degraded" mode. If that is still the case, what exactly is "--re-add missing" supposed to accomplish? Dima -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
