[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: s2disk resume failure: drive not found



On Wed, 11 Jan 2012 20:58:20 +0100
Nicolas Bercher <nbercher@yahoo.fr> wrote:

> Hi,
> 
> I enjoy suspend to disk using s2disk (package uswsusp) on several
> computers.  However, on a laptop (dell e4200 with SSD drive),
> s2disk succeeds in hibernating the laptop (s2disk) but can't find
> the swap device, /dev/dm-2, on reboot in order to reload the
> system.  I've checked for it: swap is really /dev/dm-2 and I have
> only one swap volume.
> 
> Because this swap lives in a LVM Logical Volume, I also tried any
> other variants I know to point to this LV in /etc/uswsusp.conf:
>    /dev/local/swap
>    /dev/mapper/local-swap
> 
> Do I have to do something after modifying /etc/uswsusp.conf such
> as updating initramfs?

Yes - I've often had similar problems, and I'm pretty sure that
updating the initramfs is required. [I suspend to a swap LVM volume on
top of a LUKS container.]

> I feel there's something tricky here, does anyone experienced the
> same or have any suggestions?

Celejar


Reply to: