Bugzilla – Bug 155381
swap on LVM: resume doesn't work
Last modified: 2006-03-15 07:07:15 UTC
When swap is on a logical volume (LVM), resume doesn't work, because kernel doesn't fiind the swap volume during boot (LVM swap is activated later via fstab).
We have had some fun with device mapper and swap on it before for suspend. Now, we have ability to trigger resume anywhere in initrd, as long as filesystems are not mounted. Unfortunately if you activate your swap using fstab... that seems like same time as mounting and too late...
You could be able to rearrange init scripts somehow, but for now I'd say it is unsupported.
I noticed that the error message is not captured in boot.msg, so here are some final words: The boot arguments are like this: <5>Kernel command line: root=/dev/sysVG/rootLV vga=0x317 selinux=0 resume=/dev/sysVG/swapLV splash=silent During boot when the device mapper is loaded the swap device doesn't seem "to appear" (for resume to work). Later it's added via /etc/fstab: <6>Adding 2097144k swap on /dev/sysVG/swapLV. Priority:-1 extents:1