Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: Ubuntu not using the swap partition

Smoot Carl-Mitchell

2008-03-25

Replies:

Author LoginPost Reply

On Wed, 2008-03-26 at 03:15 +0200, Ioannis Vranos wrote:
> OS: Ubuntu 7.10 x86.
>
>
> During installation I had created a partition named /hdc1 for swap, but
> Ubuntu is not using it:
>
>
> john@(protected)
> 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@(protected):~$

You will not see swap in a df listing, since swap is not a mounted file
system. Run this command:

swapon -s

and you should see the swap usage.
--
Smoot Carl-Mitchell
System/Network Architect
smoot@(protected)
+1 480 922 7313
cell: +1 602 451 9005

--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.