Bug#555958: lvm2: doesn't boot if root fs is an LVM snapshot
Marc Haber
mh+debian-bugs at zugschlus.de
Thu Nov 12 21:40:55 UTC 2009
Package: lvm2
Version: 2.02.53-2
Severity: normal
Hi,
when the root fs is an LVM snapshot, Debian squeeze doesn't boot:
|Begin: Mounting root file system ... Begin: Running /scripts/local-top ... device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel at redhat.com
| Can't change snapshot logical volume "root-snap"
|Unable to find LVM volume zgserver-lenny/root-snap
|done.
|Begin: Waiting for root file system ...
This used to work on lenny and is kind of important if one wants to
test invasive changes by snapshotting the entire system and booting
into the snapshot.
Reproduce:
Install lenny on LVM
take snapshot
boot with root=/dev/mapper/root-snap
see it work
upgrade to lenny
boot wirh root=/dev/mapper/root-snap
see "Can't change snapshot logical volume "root-snap""
This can also be reproduced inside virtualbox-ose.
Greetings
Marc
More information about the pkg-lvm-maintainers
mailing list