Re: swsusp resume from dm-crypt over lvm?

From: David Härdeman
Date: Fri Nov 25 2005 - 17:48:13 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/