Bug#555958: lvm2: doesn't boot if root fs is an LVM snapshot

Paweł Pawliński 3p at jabster.pl
Thu Dec 2 22:30:38 UTC 2010


Tags: patch

The problem lies in the initramfs script:
/usr/share/initramfs-tools/scripts/local-top/lvm2

It attempts to activate the LV specified as "root=" but this call fails 
for snapshots - the origin volume needs to be activated instead.

Please see the attached patch that adds snapshot support. It was 
successfully tested on my system.

Regards,

Paweł Pawliński
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2.patch
Type: text/x-patch
Size: 954 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20101202/872e060f/attachment.bin>


More information about the pkg-lvm-maintainers mailing list