Re: [Patch mdadm] Add hot-unplug support to mdadm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux