This error is making using encrypted external USB harddrives completely unusable for me. I see that error every time I try to use any (of two completely different) devices after a few minutes, sometimes after a bit longer.
There are suggestions on help pages to use "sudo dmsetup remove /dev/mapper/udisks-luks-uuid-xxxx" however this fails with a "device busy" message. There are suggestions on help pages to use "sudo cryptsetup luksClose udisks-luks-uuid-xxxxx" however this also failes with a "Device or resource busy message". The only temporary way to make this error message go away is to completely reboot my computer, reattach the harddrive, enter the password and use it for a few minutes until the same error appears again. I am using Ubuntu 15.10 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/484429 Title: Plugging in a LUKS device causes the following error: Error unlocking device: cryptsetup exited with exit code 239: Command failed: Device already exists To manage notifications about this bug go to: https://bugs.launchpad.net/udisks/+bug/484429/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs