Swap partition mysteriously disappears
Derek Broughton
news at pointerstop.ca
Thu Sep 7 21:41:34 UTC 2006
David Abrahams wrote:
> Derek Broughton <news at pointerstop.ca> writes:
>
>> Does anybody have a clue how/why a swap could quietly disappear?
>>
>> Fairly often (enough that I'm going to put a "swapon -a" in the resume
>> sequence after hibernation) it happens when I hibernate and resume -
>
> Yeah, that happens with me; my swap is an LVM2 volume, though.
/ and swap are the only things I _don't_ have in LVM.
>
>> there's obviously a valid swap partition at hibernate time, but it
>> doesn't
>> get reused after resume. This makes sense, as I understand swsusp
>> changes the partition's signature and it isn't actually a valid swap
>> partition at
>> boot time. otoh, when this happens, "swapon -a" always works.
>
> Not for me, IIRC. Afraid to try again and find out; losing my swap is
> a bit too scary.
Why? Everything works without a swap file. It just gets really, really
slow.
--
derek
More information about the ubuntu-users
mailing list