Bug#584558: LV configured by squeeze installer was not activated by local-top/lvm2
Bernd Schumacher
bernd at bschu.de
Fri Jun 4 15:04:01 UTC 2010
Package: lvm2
Version: 2.02.62-1
Severity: important
Tags: d-i squeeze
I used the debian-testing-amd64-businesscard.iso built from today (2010/06/04)
and configured on my disk "vda" a vg called "all" with a lv called "lvboot" and
a lv called "lvroot" (I configured no swap). "lvboot" was used as ext3 /boot
and "lvroot" was used as crypted /.
The first boot after installing, showed the error:
"Unable to find LVM volume all/lvroot_crypt"
"cryptsetup: evmc_activate is not available"
After waiting for a long time I got a boot prompt. I could enter
(initramfs) lvm vgchange -a y
(initramfs) exit
The system bootet. And I could edit
/usr/share/initramfs-tools/scripts/local-top/lvm2 for a workaround.
I changed activate_vg to:
activate_vg()
{
local dev="$1"
echo "dev=<$dev>"
lvm vgchange -aly --ignorelockingfailure
exit 0
...
}
After "update-initramfs -u" a reboot worked.
(the echo line from the script above says dev=</dev/mapper/all-lvroot_crypt>)
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lvm2 depends on:
ii dmsetup 2:1.02.45-1 The Linux Kernel Device Mapper use
ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.45-1 The Linux Kernel Device Mapper use
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
lvm2 recommends no packages.
lvm2 suggests no packages.
-- no debconf information
More information about the pkg-lvm-maintainers
mailing list