Thread (4 messages) 4 messages, 2 authors, 2015-07-01

Re: resume from swap partition under LVM

From: Uwe Geuder <hidden>
Date: 2015-06-29 20:26:12

On 28 June 2015 at 00:59, Uwe Geuder
[off-list ref] wrote: 
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/power/swsusp.txt?id=refs/tags/v4.1#n411
reads:
quoted
Q: Can I suspend-to-disk using a swap partition under LVM?

A: No. You can suspend successfully, but you'll not be able to
resume. uswsusp should be able to work with LVM. See suspend.sf.net.
Is that information still up to date?
I guess I can reply myself. The "No" answer probably refers to the
kernel resuming itself just with the help of the command line
parameters. Of course that is not possible. I did not even think about
that possibility, because I have used LUKS encrypted disks longer than
hibernate/resume...

What I meant is 

echo -n "$major:$minor" > /sys/power/resume

I guess that should work just fine with LVM, shouldn't it.

I'll send a patch to clarify the answer in the FAQ.

Regards,

Uwe Geuder
-- 
Nomovok Ltd.
Tampere, Finland
uwe.gxuder@nomovok.com (bot test: humans correct 1 obvious spelling error)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help