Ubuntu not using the swap partition

Florian Diesch diesch at spamfence.net
Thu Mar 27 16:33:55 UTC 2008


Ioannis Vranos <ivranos at freemail.gr> wrote:

> OS: Ubuntu 7.10 x86.
>
> During installation I had created a partition named /hdc1 for swap, but
>  Ubuntu is not using it:
>
> john at john-desktop:~$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hdc3             292G   13G  265G   5% /
> varrun                506M  132K  506M   1% /var/run
> varlock               506M     0  506M   0% /var/lock
> udev                  506M  104K  506M   1% /dev
> devshm                506M     0  506M   0% /dev/shm
> lrm                   506M   34M  472M   7%
> /lib/modules/2.6.22-14-generic/volatile
> /dev/hdc2             942M   35M  860M   4% /boot
> john at john-desktop:~$

df doesn't show swpa partitions as they don't have a file system. 

Use "free" to see general memory usage and "swapon -s" to list swap
partitions.




   Florian
-- 
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
**  Hi! I'm a signature virus! Copy me into your signature, please!  **
-----------------------------------------------------------------------




More information about the ubuntu-users mailing list