From owner-freebsd-stable Sat Jan 13 11:27:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id 2F7F037B400 for ; Sat, 13 Jan 2001 11:27:31 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f0DJRSS34276; Sat, 13 Jan 2001 11:27:28 -0800 (PST) (envelope-from dillon) Date: Sat, 13 Jan 2001 11:27:28 -0800 (PST) From: Matt Dillon Message-Id: <200101131927.f0DJRSS34276@earth.backplane.com> To: Bruce Burden Cc: freebsd-stable@FreeBSD.ORG Subject: Re: /swap too large? What?? References: <20010113002643.A33278@tigerfish2.my.domain> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : 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