Device ... is still in use.

Jean-Paul Calderone <exarkun-wgPraSjSqjuEakHPNWoOSQC/[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <CAEeXt4P6EU5zp4dLPU8Rca0B6i-Cot4zQ0EjN0OYpu2LeXozLA@mail.gmail.com>
Hello,

I have a luks device on removable media that has somehow become stuck on my
system.  The physical media has been disconnected but the luks device
continues to exist and I cannot remove it.

cryptosetup close fails:

$ sudo cryptsetup close luks-64ca6f08-82c9-4571-a976-f37a83aca3b1
> Device luks-64ca6f08-82c9-4571-a976-f37a83aca3b1 is still in use.


I don't understand what is still using the device.  It is not mounted
anywhere:

$ mount | grep luks-64ca6f08-82c9-4571-a976-f37a83aca3b1
> $


How do I close this device?

Thanks,
Jean-Paul

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.