Hang on, I think there's something wedged here. You already have a
/dev/mapper/vg-swap but this is *not* being created by crypttab as that
obviously fails. This is also what confused me at first in comment 5. If
you already have an LV which is called vg-swap, you can't additionally
define a cryptswap target with the same name. I. e. you are trying to
have /dev/mapper/vg-swap being the underlying encrypted device for the
to-be-created /dev/mapper/vg-swap encrypted device.

Can you please rename vg-swap in /etc/crypttab and /etc/fstab to
something else, like "cryptswap1"?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1443413

Title:
  boot fails on cryptsetup random swap partition with "invalid argument"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1443413/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to