From owner-freebsd-current@FreeBSD.ORG Thu Feb 17 19:55:59 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B738316A4D8 for ; Thu, 17 Feb 2005 19:55:59 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 780E143D41 for ; Thu, 17 Feb 2005 19:55:59 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j1HJtxx6029052; Thu, 17 Feb 2005 11:55:59 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j1HJtxob029051; Thu, 17 Feb 2005 11:55:59 -0800 Date: Thu, 17 Feb 2005 11:55:59 -0800 From: Brooks Davis To: Eric Anderson Message-ID: <20050217195559.GA6201@odin.ac.hmc.edu> References: <20050216215325.9201.qmail@web26805.mail.ukl.yahoo.com> <4213C1FB.6030802@centtech.com> <20050216225528.GB2787@odin.ac.hmc.edu> <4213D099.3020504@centtech.com> <20050216230709.GA22840@odin.ac.hmc.edu> <4214F538.30409@centtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <4214F538.30409@centtech.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: FreeBSD Current Subject: Re: newfs limits? 10TB filesystem max? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 19:55:59 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 17, 2005 at 01:49:12PM -0600, Eric Anderson wrote: > Brooks Davis wrote: > [..snip..] > >>>>>>I've just built an enormous 10TB filesystem. When > >>>>>>trying to newfs the disk, it bombed with something > >>>>>>like "cannot allocate memory" after something like > >>>>>>23xxxxxxxxx sectors.. I noticed disklabel complains > >>>>>>about disks with more than 2^32-1 sectors not being > >>>>>>supported.. =20 >=20 > [..snip..] > >In that case, you probably don't actually have a bsdlabel there. It's > >not longer required with geom since you can newfs disks. > > > >-- Brooks > > >=20 > Ok - but I'm still wondering why newfs can't newfs.. Here's the real erro= r=20 > pasted in: >=20 > a newfs -U /dev/vinum/plex/raid.p0 gives: > ... > 23425543840, 23425920160, 23426296480, 23426672800, 23427049120,=20 > 23427425440, 23427801760, 23428178080, 23428554400, 23428930720, > 23429307040, 23429683360, 23430059680, 23430436000, 23430812320,=20 > 23431188640, 23431564960, 23431941280, 23432317600, 23432693920, > 23433070240, 23433446560, 23433822880, 23434199200, 23434575520,=20 > 23434951840, 23435328160, 23435704480, 23436080800, 23436457120, > 23436833440, 23437209760, 23437586080, 23437962400, 23438338720,newfs:=20 > wtfs: 65536 bytes at sector 23438715040: Cannot allocate memory >=20 > But: > newfs -U -s 23438338720 /dev/vinum/plex/raid.p0=20 > works.. So I'm losing the last part of my partition.. I'm guessing you are hitting the process datasize limit with newfs. You should be able to raise it a bit from the default. Be warned, that fsck has much higher memory requirements so recovery may be difficult if not impossiable without a 64-bit machine. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCFPbOXY6L6fI4GtQRAt4TAJ4xMkmHHx0r1lHzjUqshaBoYpyGEACgp3q9 EqjmS1YeB+hAcIXcDAL2cR0= =cSPV -----END PGP SIGNATURE----- --DocE+STaALJfprDB--