Bug#544641: lvm2: Can't resume from a uswsusp hibernation on LVM swap
Stefan Monnier
monnier at iro.umontreal.ca
Wed Sep 2 01:58:24 UTC 2009
Package: lvm2
Version: 2.02.51-2
Severity: normal
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).
As a workaround I added RESUME=/dev/mapper/foo-swap to
/usr/share/initramfs-tools/conf.d/uswsusp, but that should
not be necessary.
Stefan
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (10, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lvm2 depends on:
ii dmsetup 2:1.02.36-2 The Linux Kernel Device Mapper use
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.36-2 The Linux Kernel Device Mapper use
ii libreadline5 5.2-5 GNU readline and history libraries
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
lvm2 recommends no packages.
lvm2 suggests no packages.
-- debconf information:
lvm2/snapshots:
More information about the pkg-lvm-maintainers
mailing list