On 9/22/06, Rick Bilonick <rab@xxxxxxxxxxxx> wrote:
> This should fix the AVCs: > > # restorecon -v /etc/blkid.* > > Paul. > After doing the retorecon, I'm getting fewer messages but swap is not coming on at boot. [chippy@ophth-bilora ~]$ free -m total used free shared buffers cached Mem: 495 309 185 0 24 170 -/+ buffers/cache: 115 379 Swap: 0 0 0 [chippy@ophth-bilora ~]$ dmesg | grep swap Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet resume2=swap:/dev/hda6 [root@ophth-bilora chippy]# /sbin/swapon -a -e [root@ophth-bilora chippy]# free -m total used free shared buffers cached Mem: 495 368 126 0 26 199 -/+ buffers/cache: 141 353 Swap: 0 0 0 [root@ophth-bilora chippy]# /sbin/swapon -sv [root@ophth-bilora chippy]# /sbin/swapon /dev/hda6 [root@ophth-bilora chippy]# free -m total used free shared buffers cached Mem: 495 368 126 0 26 199 -/+ buffers/cache: 141 353 Swap: 1004 0 1004 [root@ophth-bilora chippy]# Why doesn't "swapon -a -e" work? Rick B. -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
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 -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list