[pkg-cryptsetup-devel] Bug#587501: [cryptsetup] cryptsetup luksDump /dev/mapper/sda2_crypt fails

Milan Broz mbroz at redhat.com
Tue Jun 29 10:40:14 UTC 2010



On 06/29/2010 12:26 PM, Georg Gast wrote:
> Package: cryptsetup
> Version: 2:1.1.2-1
> Severity: normal
>
> The following happens if i try "cryptsetup luksDump /dev/sda2_crypt"
>
> cryptsetup luksDump /dev/mapper/sda2_crypt
> Device /dev/mapper/sda2_crypt is not a valid LUKS device.

man crypsetup:
  status <name> reports the status for the mapping <name>.
  luksDump <device> dumps the header information of a LUKS partition.

IOW
status reports information about active mapping (including underlying
LUKS partition in report)

luksDump shows the information about LUKS on-disk metadata
(even if there is no mapping).

> But see the following:
> [code]
> cryptsetup status /dev/mapper/sda2_crypt
> /dev/mapper//dev/mapper/sda2_crypt is active:
>     cipher:  aes-cbc-essiv:sha256
>     keysize: 256 bits
>     device:  /dev/sda2

So you want cryptsetup luksDump /dev/sda2

Milan





More information about the pkg-cryptsetup-devel mailing list