Hi, well this is deeply confusing. I made a swap file of 1GB in Mepis Linux - but no matter what I do, it seems Mepis refuses to use it.
Previously (on a prior install) I discoverd that this was due to the Mepis automatic fstab configuration utility messing my partition table up. It had listed the swap partition as /boot the /home patition as swap, the swap partition as /home and so on. A very silly bug in other words.
Fixing this brought my swap partition online - and in the process brough memory management in KDE under control - going from 480MB usage when idle to 90 - 96MB. While all in all is a lot easier to live with.
But this time round, fstab looks OK - yet my swap partition still isn't being used - and I am back up to and stuck at 480MB (of 512MB) for avereage/idle usage.
My Fstab file currently looks like this:
Code:
/dev/hda4 / reiserfs defaults,noatime,notail 0 0
/dev/hda2 none swap defaults 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hda3 /home reiserfs defaults,noatime,notail 0 0
# Dynamic entries
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0
/dev/sda1 /mnt/sda1 ntfs noauto,users,exec,ro,umask=0222 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0
/dev/floppy /mnt/floppy vfat,ext2,hfsplus noauto,users,dev 0 0[
My guess is that Mepis is doing some kind of dynamic disk mounting stuff - and has pretty much taken to ignoring fstab.
swapon -s reports:
Filename Type Size Used Priority
/dev/hda2 partition 996020 0 -1
So hda2 is recognised as swap. It just isn't being used.
What on Earth I wonder is going on?
GJ