linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grzegorz Kulewski <kangur@polcom.net>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Support for > 2GB swap partitions?
Date: Mon, 10 Jan 2005 01:47:35 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.60.0501100142070.27893@alpha.polcom.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0501091933090.29064@p500>

On Sun, 9 Jan 2005, Justin Piszcz wrote:

> I remember reading in the past that > 2GB swap partitions were supported in 
> Linux as of recent util-linux packages with a 2.6 kernel or am I wrong?
>
> # fdisk -l
>
> Disk /dev/sda: 251.0 GB, 251000193024 bytes
> 255 heads, 63 sectors/track, 30515 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          16      128488+  83  Linux
> /dev/sda2              17         526     4096575   82  Linux swap
> /dev/sda3             527       30515   240886642+  83  Linux
>
> # top
> top - 19:33:43 up  3:26,  1 user,  load average: 1.33, 2.63, 1.66
> Tasks: 166 total,   1 running, 165 sleeping,   0 stopped,   0 zombie
> Cpu(s):  9.1% us,  3.4% sy,  0.0% ni, 83.5% id,  1.8% wa,  0.1% hi,  2.2% si
> Mem:   2075192k total,  2062540k used,    12652k free,       64k buffers
> Swap:        0k total,        0k used,        0k free,  1608272k cached
>
>
> Only recognizes 2GB of 4GB?

No. It looks like you forgot to enable your swap at all! 2GB is your RAM. 
Your swap is 0.

Try
$ swapon /dev/sda2

or

$ swapon -a

if your swap is listed in /etc/fstab

(possibly with

$ mkswap /dev/sda2

before).

I am using 4 GB swaps on many machines (x86 and x86_64) for long time 
without any problems.


Grzegorz Kulewski


  reply	other threads:[~2005-01-10  0:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-10  0:34 Support for > 2GB swap partitions? Justin Piszcz
2005-01-10  0:47 ` Grzegorz Kulewski [this message]
2005-01-10 10:09   ` Justin Piszcz
2005-01-10 14:59     ` Nikola Ciprich
2005-01-10  2:20 ` Andries Brouwer
2005-01-10 10:10   ` Justin Piszcz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.60.0501100142070.27893@alpha.polcom.net \
    --to=kangur@polcom.net \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).