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

Re: [dm-devel] Device removal handling



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.


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