Date: Sat, 13 Jan 2001 11:27:28 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Bruce Burden <brucegb@realtime.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: /swap too large? What?? Message-ID: <200101131927.f0DJRSS34276@earth.backplane.com> References: <20010113002643.A33278@tigerfish2.my.domain>
next in thread | previous in thread | raw e-mail | index | archive | help
: Hi gang,
:
: Okay, I have downloaded 4.2, from January 10 or so. I have
: a ~1.7GB swap defined on da0s1b. When I attempt to mount it,
: however, I am told:
:
:exceeded maximum of 3355443 blocks per swap unit
:
: Hmmm. I can't find anything about this in the archives, nor am
: I able to:
The only thing that can cause this is if you have configured an
absurdly large NSWAPDEV.
: I am concerned, however, as to why I can't mount my previous
: swap area on a different disk. Has something changed to limit the
: swap space you can create?
:
: Bruce
A sanity check was put in the code to ensure that the internal
bitmap tree could not overflow.
The default NSWAPDEV is 4 (up to 4 swap devices). The block
limitation is (2GB / 16 / NSWAPDEV) 512 byte blocks, or:
2GB / 16 / NSWAPDEV * 512.
If NSWAPPDEV is 4, each swap parition can theoretically be up to 17 GB
in size.
-Matt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101131927.f0DJRSS34276>
