swap on a lv for hibernation
David Abrahams
dave at boost-consulting.com
Mon Aug 28 12:52:38 UTC 2006
David Abrahams <dave at boost-consulting.com> writes:
> Alexander Skwar <listen at alexander.skwar.name> writes:
>
>>> Do you know how to make sure that partition
>>> actually gets used for swap space?
>>
>> cat /proc/swaps
>
> It's really strange for me; mine is empty. I can do
>
> # mkswap /dev/mapper/vg_fast-swap
> # swapon -av
>
> and then swap is back. And it shows up in
>
> # free
>
> but it won't get mounted at boot time, and I need to do a new mkswap
> before I can do swapon -av again. Is there a fix for this, or is it
> just another way in which ubuntu is LVM-incompatible?
Correction: it works fine at first boot. I only have this problem
when I reboot after hibernating. Naturally, (at least if swsusp
suspends into the swap partition) that skewers things pretty badly ;-)
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the ubuntu-users
mailing list