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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to