Re: Swap Space Not Being Used?

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

 



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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux