You are not logged in.

#1 2019-11-13 22:18:48

kalle
Member
Registered: 2016-04-09
Posts: 22

external hdd with crypt on lvm won't decrypt a second time

Hi there,

I have an external hard disk which contains a single logical volume which contains a single encrypted partition.

I can decrypt and mount the partition with

cryptsetup open /dev/mapper/xxx-xxx bla
mount /dev/mapper/bla /mnt

However, after

umount /mnt
cryptsetup close bla

I cannot repeat the first step. Doing

cryptsetup open /dev/mapper/xxx-xxx bla

yields

Device /dev/mapper/xxx-xxx is not a valid LUKS device

The only remedy is to reboot the computer.

Any suggestion how to solve this.

Thanks

Offline

Board footer

Powered by FluxBB