[CentOS] Apparently no swap configured

Ian Masters ian at acces.co.jp
Fri Oct 31 06:00:47 UTC 2008


Hello,

Just in case anyone wants to follow my original problem in the future, I
resolved my no swap problem according to Nate's advice as follows:

1. Confirmed that /dev/VolGroup00/swap was not in use by the system
2. Ran the following commands:
mkswap /dev/VolGroup00/swap
swapon /dev/VolGroup00/swap
3. Added the following to fstab:
/dev/VolGroup00/swap         swap                    swap    defaults
     0 0

Swap partition now showing as follows, using 'free':
             total       used       free     shared    buffers     cached
Mem:       3960252     463208    3497044          0      30876     350164
-/+ buffers/cache:      82168    3878084
Swap:      2031608          0    2031608

Thanks to the list and Nate in particular for the assistance.

Ian Masters




More information about the CentOS mailing list