Re: Swap Space Not Being Used?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rick Bilonick wrote:
On Thu, 2006-09-21 at 23:45 +0200, ronald wrote:
...
[root@ophth-bilora chippy]# cat /proc/meminfo | grep -i swap
SwapCached:          0 kB
SwapTotal:           0 kB
SwapFree:            0 kB

[root@ophth-bilora chippy]# /sbin/swapon -sv

[root@ophth-bilora chippy]# dmesg | grep swap
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
resume2=swap:/dev/hda6
audit(1158897380.741:4): avc:  denied  { unlink } for  pid=1852
comm="swapon" name="blkid.tab.old" dev=dm-0 ino=1733754
scontext=system_u:system_r:fsadm_t tcontext=root:object_r:etc_t
tclass=file

i don't run selinux or audit and therefore no knowledge here, but the "denied" ... ALARM ALARM

try:
- reboot
- at grub boot menu hit the space key
- select the kernel line
- hit key "a" (for append)
- backspace all including the r from rhgb
- key in selinux=0 audit=0 3
- enter or "b" key
- login as root

swapon -sv ?	
no swap space => swapon -a

swapon -sv ?
no swap space =>

   - swapoff -a

   - mkswap /dev/hda6 -L "SWAP-hda6"  ( label included in " " )

   - swapon -a

swapon -sv ?

no swap space => stay with dave jones advice !

--
	
   ronald

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux