Re: Swap Space Not Being Used?



Hi Rick!

Lets go back a bit. What is in /etc/fstab?
# Mine is a bit strange me doing quad boot FC5, Ubuntu, Suse, and Sun.
-------------------------------------------------
tod@tod-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
------------------------------------------------
# and so you feel more at home:
------------------------------------------------
tod@tod-desktop:~$ free -m
total used free shared buffers cached
Mem: 630 620 10 0 71 204
-/+ buffers/cache: 344 286
Swap: 1287 18 1268
tod@tod-desktop:~$ dmesg | grep -i swap
[17179635.188000] Adding 1318456k swap on /dev/hda2. Priority:-1
extents:1 across:1318456k
---------------------------------------------------
Is the device in fstab what you want and will the options defined
work? In my case /dev/hda2 was made and chosen by Solaris and I
simply copied, pasted the line in Solaris to this Ubunut fstab.
Anyway, I think it is likely fstab will have a clue.

Good Hunting!

Tod


I did post the fstab information before but it was probably missed. Here
it is again:

[chippy@ophth-bilora ~]$ cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults
1 1
LABEL=/boot /boot ext3 defaults
1 2
/dev/devpts /dev/pts devpts gid=5,mode=620
0 0
/dev/shm /dev/shm tmpfs defaults
0 0
/dev/proc /proc proc defaults
0 0
/dev/sys /sys sysfs defaults
0 0
LABEL=SWAP-hda6 swap swap defaults
0 0
/dev/hda2 /mnt/windows ntfs ro,umask=0222
0 0
/dev/hdb /media/cdrecorder auto
pamconsole,exec,noauto,managed 0 0

I'm going to try what Michael Warfield suggested:

mkswap -L "SWAP-hda6" /dev/hda6

I'll reboot and report back. Thanks.

Rick B.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Pen-drive no longer automounts
    ... USB disc. ... I eventually put two entries into fstab, ... I think I read that FC5 won't have fstab-sync, but for the moment I'm at a loss on how to add entries. ...
    (Fedora)
  • Re: fstab user root - read-write-permission
    ... This is my fstab ... # This file is edited by fstab-sync - see 'man fstab-sync' for details ... >>This will always mount the partition with you as the owner and group. ... >>that mounts the partitions for that user, ...
    (Fedora)
  • Re: partition labels
    ... using traditional /dev/hda* device names in fstab and grub.conf but the ... release notes say I now have to use partition labels. ... and edited fstab and grub.conf accordingly: ... # This file is edited by fstab-sync - see 'man fstab-sync' for details ...
    (comp.os.linux.misc)
  • Re: howto disable floppy drive
    ... > I have tried to remove (with fstab-sync) settings on fstab for my floppy, ... > Remove an entry from fstab by giving a HAL ... I assume it does not try to mount the CD on boot. ...
    (Fedora)