Re: Swap maximum size documented ?

From: Jakob Oestergaard
Date: Wed Jun 01 2005 - 07:43:27 EST


On Wed, Jun 01, 2005 at 02:25:13PM +0200, david.balazic@xxxxxxxxx wrote:
> Hi!
>
> Is there any doc about swap size limits ?

Documetation? Is this a trick question? It's Linux, of course there is
no current documentation except for the source ;)

/me ducks and runs ;)

> The mkwap(8) man page claims, that currently the limit is
> 32 swap areas of maximum 2 gigabyte size (for x86 arch).
>
> Is that correct ?

Not on 2.6 kernels, no.

[sparrow:joe] $ cat /proc/swaps
Filename Type Size Used Priority
/dev/mapper/vg0-swap partition 8388600 0 -1

I use 4-8 G swap areas on 32-bit x86 and 64-bit amd64 kernels.

You probably need a new version of mkswap if it insists that 2G is the
maximum - it sure isn't a kernel limitation anymore.

--

/ jakob

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/