On Friday November 3, gombasg@xxxxxxxxx wrote: > On Fri, Nov 03, 2006 at 02:39:31PM +1100, Neil Brown wrote: > > > mdadm could probably be changed to be able to remove the device > > anyway. The only difficulty is: how do you tell it which device to > > remove", given that there is no name in /dev to use. > > Suggestions? > > Major:minor? If /sys/block still holds an entry for the removed disk, > then the user can figure it out from the name. Or mdadm could just > accept a path under /sys/block instead of a device node. I like the /sys/block idea. So if given a directory we look for a 'dev' file and read major:minor from that. I guess I could also just allow mdadm /dev/mdX --remove failed and all failed devices get removed. Thanks for the suggestion. NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html