* swsusp resume from dm-crypt over lvm?
@ 2005-11-24 21:58 David Härdeman
2005-11-24 23:26 ` Andreas Steinmetz
0 siblings, 1 reply; 3+ messages in thread
From: David Härdeman @ 2005-11-24 21:58 UTC (permalink / raw)
To: Linux Kernel Mailing List
Using the ability to echo the major:minor to /sys/power/resume from an
initramfs script I am able to resume from a lvm partition.
However, this doesn't seem to work if the swap partition is encrypted
and setup using cryptsetup (dm-crypt over an lvm partition that is).
Is this supposed to work or is it not feasible?
Re,
David
Please CC any replies...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: swsusp resume from dm-crypt over lvm?
2005-11-24 21:58 swsusp resume from dm-crypt over lvm? David Härdeman
@ 2005-11-24 23:26 ` Andreas Steinmetz
2005-11-25 22:46 ` David Härdeman
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Steinmetz @ 2005-11-24 23:26 UTC (permalink / raw)
To: David Härdeman; +Cc: Linux Kernel Mailing List
David Härdeman wrote:
> Using the ability to echo the major:minor to /sys/power/resume from an
> initramfs script I am able to resume from a lvm partition.
>
> However, this doesn't seem to work if the swap partition is encrypted
> and setup using cryptsetup (dm-crypt over an lvm partition that is).
>
> Is this supposed to work or is it not feasible?
See Documentation/power/swsusp-dmcrypt.txt. Works for me.
--
Andreas Steinmetz SPAMmers use robotrap@domdv.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: swsusp resume from dm-crypt over lvm?
2005-11-24 23:26 ` Andreas Steinmetz
@ 2005-11-25 22:46 ` David Härdeman
0 siblings, 0 replies; 3+ messages in thread
From: David Härdeman @ 2005-11-25 22:46 UTC (permalink / raw)
To: Andreas Steinmetz; +Cc: Linux Kernel Mailing List
On Fri, Nov 25, 2005 at 12:26:07AM +0100, Andreas Steinmetz wrote:
>David Härdeman wrote:
>> Using the ability to echo the major:minor to /sys/power/resume from an
>> initramfs script I am able to resume from a lvm partition.
>>
>> However, this doesn't seem to work if the swap partition is encrypted
>> and setup using cryptsetup (dm-crypt over an lvm partition that is).
>>
>> Is this supposed to work or is it not feasible?
>
>See Documentation/power/swsusp-dmcrypt.txt. Works for me.
Thanks, that helped...I had missed that the device must have the same
major/minor when resuming as it had when suspending.
Re,
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-25 22:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-24 21:58 swsusp resume from dm-crypt over lvm? David Härdeman
2005-11-24 23:26 ` Andreas Steinmetz
2005-11-25 22:46 ` David Härdeman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox