Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 02-23-2010, 07:46 PM   #1
LQ Newbie
Registered: Jan 2007
Posts: 13

Rep: Reputation: 0
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
Old 02-23-2010, 08:12 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,813

Rep: Reputation: 1451Reputation: 1451Reputation: 1451Reputation: 1451Reputation: 1451Reputation: 1451Reputation: 1451Reputation: 1451Reputation: 1451Reputation: 1451
Not enough info.
fdisk -l
swapon -s
Old 02-23-2010, 08:15 PM   #3
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,380
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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.
Old 02-24-2010, 01:09 PM   #4
LQ Newbie
Registered: Jan 2007
Posts: 13

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap and proc palisetty_suman Linux - Newbie 4 02-18-2009 07:31 PM
SWAP - having trouble with swap auto mounting at boot lostdj Linux - General 2 08-05-2008 01:47 PM
Creating a version of grep for swap KingofBLASH Programming 6 08-28-2004 11:22 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM

All times are GMT -5. The time now is 05:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration