Re: damaged encrypted LUKS device

Markus Feldmann <[email protected]> Mon, 28 Nov 2011 15:42:56 +0100
Newsgroups gmane.comp.file-systems.ext3.user
Message-ID <[email protected]>
Am 26.11.2011 17:40, schrieb Matija Nalis:
>
> try "e2fsck -C0 /dev/dm-0" (assuming /dev/dm-0 is your block device
> after decryption).

How can i be sure, that my cryptsetup/LUKS harddisk is still decrypted?

<cryptsetup status /dev/dm-1> gives me:
> root@feld-bert:/home/markus# cryptsetup status /dev/dm-1
> /dev/mapper//dev/dm-1 is active.
>   type:    LUKS1
>   cipher:  aes-xts-plain
>   keysize: 256 bits
>   device:  /dev/sdb
>   offset:  4096 sectors
>   size:    1953521072 sectors
>   mode:    read/write