Moving a Luks encrypted Volume to another Droplet

Posted June 11, 2020 541 views
DigitalOcean Volumes

I setup an encrypted volume on one of my droplets. When I deleted the droplet I kept the encrypted volume, expecting to use it later. I setup a new Droplet and attached the encrypted volume. When I try to open the volume i get the following error:

cryptsetup luksOpen /dev/disk/by-id/scsi-0DOVolumevolume-nyc3-01 secure-volume
Enter passphrase for /dev/disk/by-id/scsi-0DOVolumevolume-nyc3-01:

“No key available with this passphrase.”

Was there a keyfile I should have backed up before migrating the volume? I expected that I could just open the volume again by using my password.

Any help appreciated.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!