swap is 0k (zero k)

Fajar Priyanto fajarpri at cbn.net.id
Sun Aug 28 14:06:46 UTC 2005


Hi all,
I just notice that my swap partition is 0k (zero k).
Using top it shows:
top - 21:01:54 up 48 min,  6 users,  load average: 0.13, 0.32, 0.42
Tasks: 159 total,   3 running, 156 sleeping,   0 stopped,   0 zombie
Cpu(s): 19.3% us,  1.6% sy,  0.3% ni, 78.8% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    514816k total,   509060k used,     5756k free,     9244k buffers
Swap:        0k total,        0k used,        0k free,   191856k cached

I suspect that it has something to do with the [mtent] error regarding garbage 
entry in /etc/fstab on swap line. I googled, and found a bugzilla page on FC4 
about this, the solution said to clear those garbage characters and replace 
it with the word 'swap', so I did. The [mtent] error during the boot now 
dissappears. But now I have 0k (zero k) swap?

This is my fstab:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1                /                       ext3    defaults        1 1
LABEL=/                 /data                   ext3    defaults        1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
LABEL=/home             /home                   ext3    defaults        1 2
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
LABEL=swap              swap                    swap    defaults        0 0
/dev/hdc                /media/cdrecorder       auto    
pamconsole,exec,noauto,managed 0 0

Is there something wrong?
Thanks.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | http://linux2.arinet.org
21:06:44 up 53 min, 2.6.11-1.1369_FC4 GNU/Linux 
public key: https://www.arinet.org/fajar-pub.key




More information about the users mailing list