initramfs-tools should also activate the lvm VG for the RESUME partition

Bug #23329 reported by Timo Aaltonen
8
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Swsusp doesn't work with LVM on breezy, and this is apparently a known issue. It
used to work though (I've been tracking breezy), at least on my Thinkpad T23.
Now it shuts down nicely, but on resume the suspended-data is recognized but not
used and the swap is reinitialized. I'll try to dig out the exact message..

Revision history for this message
Matt Zimmerman (mdz) wrote :

Is your swap on an LVM volume? Please send /etc/fstab

Revision history for this message
Matthew Garrett (mjg59) wrote :

Jeff, Alastair Kergon says vgdisplay should let us determine whether a drive is
missing without damaging the LVM if one is.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I now tried booting the hibernated machine with "break" on the kernel command line.

I followed the /scripts/local-premount/suspend -script, and the $major cannot be
set, because it claims that /dev/mapper/divari-swap does not exist... (which is
true in this case)

so, obviously something is not right ;) All modules are not loaded or something..

Revision history for this message
Jeff Bailey (jbailey) wrote :

(In reply to comment #2)
> Jeff, Alastair Kergon says vgdisplay should let us determine whether a drive is
> missing without damaging the LVM if one is.

You mean to just run vgchange -ay instead of the root one?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

ok, so my setup is a bit different because it has root on a normal partition and
the rest on LVM, so the current system does not support this because only the VG
that where root lies is initialized. This apparently will be fixed after breezy.

Matt Zimmerman (mdz)
Changed in initramfs-tools:
assignee: adconrad → nobody
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

with my setup on edgy hibernation doesn't work at all, since it can't find swap and resumes right away.

Revision history for this message
Shane Fagan (shanepatrickfagan) wrote :

Ive tested hibernate on a few machines and it works, this is an old bug and edgy isnt supported on the desktop anymore. Im marking this bug as invalid but feel free to report a new bug if its still a problem.

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.