[pkg-cryptsetup-devel] Bug#549870: Acknowledgement (cryptsetup: Command failed: /dev/vg0/services_data_backup_snapshot is not a LUKS partition)

Stuart Pook debian50 at pook.it
Tue Oct 6 06:27:19 UTC 2009


The problems seems to be somewhat random. Last night my backup script told me

['cryptsetup', 'luksOpen', '/dev/vg0/services_data_backup_snapshot', 'services_data_backup_unlocked', '--non-exclusive', '--readonly', '--key-file=-'] failed 255: Command failed: No key available with this passphrase.

This morning I was able to mount the snapshot once but the second time I got an error:

: root; lvcreate --size 256M --snapshot --name services_data_backup_snapshot /dev/vg0/services_data
  Logical volume "services_data_backup_snapshot" created
: root; cryptsetup luksOpen /dev/vg0/services_data_backup_snapshot services_data_backup_unlocked --non-exclusive --readonly --key-file=/tmp/xxx
key slot 1 unlocked.
Command successful.
: root; cryptsetup remove services_data_backup_unlocked
: root; lvremove --force /dev/vg0/services_data_backup_snapshot
  Logical volume "services_data_backup_snapshot" successfully removed

It worked, but only once.

: root; lvcreate --size 256M --snapshot --name services_data_backup_snapshot /dev/vg0/services_data
  Logical volume "services_data_backup_snapshot" created
: root; cryptsetup luksOpen /dev/vg0/services_data_backup_snapshot services_data_backup_unlocked --non-exclusive --readonly --key-file=/tmp/xxx
Command failed: /dev/vg0/services_data_backup_snapshot is not a LUKS partition

: root; lvremove --force /dev/vg0/services_data_backup_snapshot
  Logical volume "services_data_backup_snapshot" successfully removed





More information about the pkg-cryptsetup-devel mailing list