All of lore.kernel.org
 help / color / mirror / Atom feed
From: Uwe Geuder <linuxkernel2015-ugeuder@snkmail.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>,
	linux-pm@vger.kernel.org
Subject: Re: resume from swap partition under LVM
Date: Mon, 29 Jun 2015 23:26:04 +0300	[thread overview]
Message-ID: <87mvzip8gz.fsf@e6510-131.site> (raw)
In-Reply-To: <87pp4gq0bl.fsf@e6510-131.site>

On 28 June 2015 at 00:59, Uwe Geuder
<linuxkernel2015-ugeuder@snkmail.com> wrote: 

> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/power/swsusp.txt?id=refs/tags/v4.1#n411
> reads:
>
>> 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)

  reply	other threads:[~2015-06-29 20:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-27 21:59 resume from swap partition under LVM Uwe Geuder
2015-06-29 20:26 ` Uwe Geuder [this message]
2015-06-29 20:35   ` [PATCH] PM / hibernate/resume: clarify documentation Uwe Geuder
2015-07-01  8:46     ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvzip8gz.fsf@e6510-131.site \
    --to=linuxkernel2015-ugeuder@snkmail.com \
    --cc=len.brown@intel.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.