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

Re: Swap Space Not Being Used?



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


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