[dm-devel] Device removal handling

Alasdair G Kergon agk at redhat.com
Sun Jul 10 22:03:30 UTC 2011


If you want to remove a dm device forcibly, replace it with an 'error' target
that will return I/O errors.  (dmsetup remove -f)

(But devices should be removed from the top down, obviously, and if
it's your main filesystem, you could e.g. set up a ramdisk do do
this from.)

Alasdair




More information about the dm-devel mailing list