You are not logged in.
Pages: 1
Hello all, I have an LVM on LUKS setup, however after I boot up and enter my encryption password, I get a message that says something along the lines of "Waiting 10 seconds to mount /dev/mapper/lvmvol-mainvol on real root". This fails and I get booted into the BusyBox rescue shell. I head over to /dev/mapper/ and sure enough, my virtual group is there (lvmvol) and so are two of my logical volumes (swapvol and snapshot) but mainvol is not there. Out of desperation I tried to use cryptsetup and I ran "cryptsetup open /dev/sda2 lvmvol". I am greeted with a message something along the lines of "lvmvol already unlocked" however when I ls /dev/mapper again, lvmvol-mainvol is there again and when I exit the rescue shell, my machine boots up fine. It should be noted that if I do not do any of this and immediately exit the rescue shell, I get a kernel panic.
Any ideas?
Thanks
Offline
A few days ago I experienced a similar problem and it seems that in my case my root volume group and logical volume are not being activated. They are not in /dev/mapper. I've had this configuration up and running for some time now so something broke very recently - LVM2, LUKS or udev.
Last edited by KairiTech (2014-11-26 13:03:25)
Offline
Observation - device-mapper and lvm2 were updated a bit ago to a release (2.02.112) that does not exist on the upstream server anymore, 2.02.113 was released with a few fixes including "Fix regression in vgscan --mknodes usage (2.02.112)." This commit:
https://git.fedorahosted.org/cgit/lvm2. … fe832a7610
fixes:
https://git.fedorahosted.org/cgit/lvm2. … df331ee416
...which has something to do with activation. The package is already marked out of date -- so you could downgrade and rebuild your iniramfs and see if that fixes it, or wait for Eric to make the new 2.02.113 package release.
https://www.archlinux.org/packages/core … ce-mapper/
ftp://sources.redhat.com/pub/lvm2/
Offline
Its not a huge deal since I don't boot that often and so taking those extra steps isn't a huge deal. I'll just wait for the update and post back after I get it
Offline
Issue still exists. The new 2.02.114-1 version didn't seem to solve anything.
Last edited by KairiTech (2014-12-08 13:03:28)
Offline
Downgrading lvm2 and device-mapper packages didn't fix the similar issue I posted here.
Did you find any solution to your problem, crossroads1112, with an upgrade or downgrade in packages or by doing anything else?
Offline
I recently switched to the systemd lvm and encrypt hooks following these instructions and I don't have the issue. Maybe that is a workaround?
Offline
Pages: 1