FS#63610 - [lvm2] mount Problems after Update
Attached to Project:
Arch Linux
Opened by Martin (happycadaver) - Saturday, 31 August 2019, 11:53 GMT
Last edited by Christian Hesse (eworm) - Friday, 06 September 2019, 15:24 GMT
Opened by Martin (happycadaver) - Saturday, 31 August 2019, 11:53 GMT
Last edited by Christian Hesse (eworm) - Friday, 06 September 2019, 15:24 GMT
|
Details
After Insttall Version 2.02.186-1
I have this Message: password is required to access the luks volume: mount: /new_root: special device /dev/mapper/vg0-root does not exist. ERROR: device '/dev/mapper/vg0-root' not found, Skipping fsck. mount: /new_root: special device /dev/mapper/vg0-root does not exist. You are now being dropped into an emergency shell. sh: can't access tty; job control turned off [rootfs ]# When i Install Version 2.02.185-1 i have no Problems. |
This task depends upon
Closed by Christian Hesse (eworm)
Friday, 06 September 2019, 15:24 GMT
Reason for closing: Fixed
Additional comments about closing: lvm2 2.02.186-2
Friday, 06 September 2019, 15:24 GMT
Reason for closing: Fixed
Additional comments about closing: lvm2 2.02.186-2
https://github.com/lvmteam/lvm2/issues/24
Downgrade to
device-mapper-2.02.185-1-x86_64.pkg.tar.xz
lvm2-2.02.185-1-x86_64.pkg.tar.xz
fixed it. But this error occurs only if you have LVM on LUKS on more than one partition, see: https://bugs.archlinux.org/task/63634
Setup: LVM on LUKS (Arch Linux), LVM on LUKS over two partitions or two SSDs
After Upgrade to
core/device-mapper 2.02.186-1 (base) - device-mapper-2.02.186-1-x86_64.pkg.tar.xz
core/lvm2 2.02.186-1 (base) - lvm2-2.02.186-1-x86_64.pkg.tar.xz
system runs into recovery shell after password input.
workaround: Downgrade to
device-mapper-2.02.185-1-x86_64.pkg.tar.xz
lvm2-2.02.185-1-x86_64.pkg.tar.xz
helps and boot is successful.
This Bud does not occur on systems with LVM on LUKS with one partition (tested)
lvm vgchange -ay # force activation of logical volume
mkdir /new # Maybe it already exists.
mount /dev/mapper/root_logical_volume /new
exit
(Here you should exit the emergency mode and start normally.)
Then in root :
cd /var/cache/pacman/pkg/
yaourt -U device-mapper-2.02.185-1-x86_64.pkg.tar.xz lvm2-2.02.185-1-x86_64.pkg.tar.xz