Neil Brown napsal(a):
This is not corrrect. You can removed disconnected devices with:
mdadm /dev/mdx --fail detached --remove detached
will fail, then remove, all component devices on /dev/mdx which
have been detached from the system.
This has been possible since about 2.6.2.
Well, this is another great thing I overlooked in the manual.
Using this feature and some tiny scripts, I am now able to do fully
automatic hot-unplug even with the old mdadm which came with my
distribution:
https://raid.wiki.kernel.org/index.php/Hotplug#Fully_automated_hotplug_and_hot-unplug_using_UDEV_rules
Very cool, thanks for your help!
Tomas
--
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