Re: Swap Space Not Being Used?

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

 



> 	Two choices...  Change the "LABEL=SWAP-hda6" in your fstab to read
> simply "/dev/hda6" or go back and rebuild the swap again, and this time
> specify the label name using the -L option:
> 
> 	mkswap -L "SWAP-hda6" /dev/hda6
> 
> > Rick B.
> 
> 	Mike

OK, I did "/sbin/mkswap -L "SWAP-hda6" /dev/hda6" and the results after
rebooting:


[chippy@ophth-bilora ~]$ dmesg | grep swap
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
resume2=swap:/dev/hda6
audit(1158951063.679:4): avc:  denied  { unlink } for  pid=1852
comm="swapon" name="blkid.tab.old" dev=dm-0 ino=1733818
scontext=system_u:system_r:fsadm_t tcontext=root:object_r:etc_t
tclass=file
audit(1158951063.791:5): avc:  denied  { unlink } for  pid=1852
comm="swapon" name="blkid.tab.old" dev=dm-0 ino=1733818
scontext=system_u:system_r:fsadm_t tcontext=root:object_r:etc_t
tclass=file
Adding 1028120k swap on /dev/hda6.  Priority:-1 extents:1
across:1028120k
[chippy@ophth-bilora ~]$ free -m
             total       used       free     shared    buffers
cached
Mem:           495        304        190          0         19
169
-/+ buffers/cache:        115        379
Swap:         1004          0       1004
[chippy@ophth-bilora ~]$


At first I was concerned about the dmesg entries but the free command
shows that swap is on so I assume this fixes the problem. I also ran
some programs that are memory hogs and swap is actually used. Thanks!

Rick B.


-- 
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