[dm-devel] Device removal handling
Phillip Susi
psusi at cfl.rr.com
Wed Jul 13 15:53:29 UTC 2011
On 7/12/2011 6:58 AM, Alasdair G Kergon wrote:
> We already have dmsetup remove -f which replaced a device by the error
> target then attempts to remove it (which will fail if it is still in
> use).
>
> You have a need for this without the removal attempt?
The question is, how do you get udev to invoke this when the underlying
device is removed? It has no idea what dm device was using the disk.
Further, if it was a mirror, then you don't want to try to kill the
mirror if the other leg is still good, you just want the mirror to fail
and release the removed disk.
More information about the dm-devel
mailing list