Bug#544641: lvm2: Can't resume from a uswsusp hibernation on LVM swap
waldi at debian.org
Wed Sep 2 07:24:13 UTC 2009
reassign 544641 uswsusp
On Tue, Sep 01, 2009 at 09:58:24PM -0400, Stefan Monnier wrote:
> My machines all use LVM and have their swap on LVM as well.
> Recently the hibernation feature started to fail, because upon
> resume, it couldn't find the swap partition. It seems the problem
> is that /usr/share/initramfs-tools/scripts/local-top/lvm2 tries
> to activate $ROOT and $RESUME, but with uswsusp, $RESUME is just
> set to "y" rather than to the actual device (the resume device
> name is stored in /etc/uswsusp.conf instead).
initramfs-tools only specifies the resume variable for use to resume
anything, and this variable includes the complete device name. So it was
already broken and only worked as the lvm support enabled the complete
boot VG, which is not longer the case.
The man on tops walks a lonely street; the "chain" of command is often a noose.
More information about the pkg-lvm-maintainers