LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Gparted says swap has 5 Gb, grep SwapTotal /proc/meminfo says swap has 800 Mb (https://www.linuxquestions.org/questions/red-hat-31/gparted-says-swap-has-5-gb-grep-swaptotal-proc-meminfo-says-swap-has-800-mb-791116/)

rickrandall 02-23-2010 07:46 PM

Gparted says swap has 5 Gb, grep SwapTotal /proc/meminfo says swap has 800 Mb
 
Centos 5.4 distro (clone of RHEL). Don't understand the discrepancy noted in the subject line

syg00 02-23-2010 08:12 PM

Not enough info.
Code:

fdisk -l
swapon -s


neonsignal 02-23-2010 08:15 PM

Has the swap partition been resized at any point? If so, was the swap 'filesystem' recreated using mkswap?

Also, some older architectures may have problems with swap space >2GB.

rickrandall 02-24-2010 01:09 PM

Issue resolved, thanks!
 
Thanks for the fast replies! I ended up having to reinstall because I messed up something with the root password. During that reinstall I chose to reformat the swap partition and in the process of doing that I see that now fdisk -l and grep SwapTotal /proc/meminfo both say I have 5 Gb of swap.

Issue is resolved, now.


All times are GMT -5. The time now is 06:00 AM.