[CentOS] Apparently no swap configured
Ian Masters
ian at acces.co.jp
Tue Oct 28 06:34:31 UTC 2008
Nate
Thanks very much for the reply.
> If that volume is not in use by anything else you should
> be perfectly able to do:
>
> mkswap /dev/VolGroup00/swap
> swapon /dev/VolGroup00/swap
>
> then add something like this to fstab:
> /dev/VolGroup00 swap swap defaults 0 0
Well it doesn't show up when I do 'df':
[root at mail ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
4.8G 446M 4.1G 10% /
/dev/mapper/VolGroup00-LogVol02
1.9G 316M 1.5G 18% /var
/dev/mapper/VolGroup00-LogVol03
9.5G 2.3G 6.7G 26% /usr
/dev/sda1 99M 32M 63M 34% /boot
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol04
9.9G 172M 9.2G 2% /home
/dev/mapper/VolGroup00-LogVol05
1.9G 35M 1.8G 2% /tmp
Also, as I said /dev/VolGroup00/swap is not listed in /etc/fstab, but it
is listed in /dev/mapper/. Is that good enough confirmation that it is
not in use?
I'm very curious how I managed to get into this situation, using the GUI
install method. Any ideas on that? I'd prefer not to be in this
situation again.
Thanks
Ian Masters
More information about the CentOS
mailing list