Swap partition mysteriously disappears
David Abrahams
dave at boost-consulting.com
Thu Sep 7 15:41:59 UTC 2006
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.
> 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. I'm going to build a 2.6.18rc2 kernel and use
swsusp2, which is known to work with swap-on-LVM.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the ubuntu-users
mailing list