[dm-devel] Device removal handling

Alasdair G Kergon agk at redhat.com
Tue Jul 12 10:58:26 UTC 2011


On Tue, Jul 12, 2011 at 08:24:44AM +0200, Hannes Reinecke wrote:
> What I would like to see is this logic being pushed into
> eg dmsetup, so that one call to dmsetup would be sufficient to achieve 
> this. And without heavy parsing of arguments etc.
> Something like 'dmraid replace error' would be cool.

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?

Alasdair




More information about the dm-devel mailing list