Swap partition mysteriously disappears

Luis lemsx1 at gmail.com
Sat Sep 9 13:08:39 UTC 2006

may i suggest you check that your partition table is correct. a
similar situation happened to me with a XFS formatted drive (LVM+XFS
really). under an older kernel, i'd be able to mount it with no
problem, but with the latest Edgy kernel i couldn't.
when i open the partition table with QTparted (or that other gnome
front-end for parted), i got a few messages about corrupt partitions.
in dmesg it would say something about I/O buffer something. I fixed it
by dropping the partition complely (parted) and re-creating it. that
was the end of that problem.

On 9/7/06, Derek Broughton <news at pointerstop.ca> wrote:
> 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 -
> 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.
> At other times though, I'll be working along merrily until suddenly the
> system freezes as the disc thrashes.  In this case, "swapon -a" works about
> 90% of the time, but occasionally I have to "mkswap" the partition.
> There's never anything in syslog to indicate a problem.
> This appeared to start after I installed boinc, but I can't see any obvious
> clue - except that boinc is fully intended to try to maximize resource use,
> so could be filling the swap space.
> It happens with 2.6.15-25 and all 2.6.17 stock ubuntu kernels.
> --
> derek
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Luis Mondesi
*NIX Guru


"We think basically you watch television to turn your brain off, and
you work on your computer when you want to turn your brain on" --
Steve Jobs in an interview for MacWorld Magazine 2004-Feb

No .doc: http://www.gnu.org/philosophy/no-word-attachments.es.html

More information about the ubuntu-users mailing list