On Wed, 17 Sep 2003, Sergey Korzhevsky wrote:

> Hi.
>
> Is it possible to create swapfile over 2G on 64bit system?. I think yes,
> but i've got the following "answer":
>
> ls -la
> -rw-r--r--    1 root     root     4294967296 Sep 17 12:51 swap3
>
>  mkswap /share/share/swap3
> mkswap: error: swap area needs to be at least 40kB
> Usage: mkswap [-c] [-v0|-v1] [-pPAGESZ] /dev/name [blocks]

That looks like a software error, but AFAICR 2Gb is the defined limit,
and I don't recall any reference to 32/64 bit.

Previously, the limit was 128 Mbyte and that was NOT
architecture-specific.


>
>
> It is on SLES7(64b, beta). 'Mkswap' from util-linux-2.11b-52
>
>
> ps:
>  uname -a
> Linux zlinux 2.4.21-4 #2 SMP Tue Sep 2 11:42:25 EEST 2003 s390x unknown
>
>  ldd /sbin/mkswap
>         libc.so.6 => /lib64/libc.so.6 (0x0000010000033000)
>         /lib/ld64.so.1 => /lib/ld64.so.1 (0x0000010000000000)
>
> So, what's wrong?
>
>         WBR, Sergey
>

--


Cheers
John.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
Copyright John Summerfield. Reproduction prohibited.

Reply via email to