[dm-crypt] force luksClose

Benjamin Eberhardt eberhab at gmail.com
Fri Feb 22 01:17:14 CET 2013


Thank you all much for your replies. I rebooted then but will perform your
commands and mail the output when it happens again.

Cheers,
Benjamin



On 21 February 2013 23:41, Milan Broz <gmazyland at gmail.com> wrote:

> On 21.2.2013 22:16, Benjamin Eberhardt wrote:
>
>>
>> # cryptsetup luksClose sata_p1_2TBa
>> Device sata_p1_2TBa is busy.
>>
>> no open files on *sata* davice (both device and mountpoint are called the
>> same)
>>
>> # lsof |grep sata
>> #
>>
>> blkid doesnt really help me either:
>>
>> # lsblk
>>
>
> There must be something wrong with that device,
> it must show in lsblk output (but it is not there).
>
> Seems like it is partially removed (empty table) - can you add
> output of
>
> dmsetup table sata_p1_2TBa
> dmsetup info -c sata_p1_2TBa
> blockdev --getsz /dev/mapper/sata_p1_2TBa ?
>
> (btw another mapping will not show in lsof, but it should
> be visible in lsblk. If it is reproducible I would like to at least
> fix lsblk so we have some reliable tool to debug it...)
>
> Milan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20130222/7cc57bdc/attachment.html>


More information about the dm-crypt mailing list