From owner-freebsd-current@FreeBSD.ORG Wed Feb 16 21:53:29 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 D526016A4CE for ; Wed, 16 Feb 2005 21:53:29 +0000 (GMT) Received: from web26805.mail.ukl.yahoo.com (web26805.mail.ukl.yahoo.com [217.146.176.81]) by mx1.FreeBSD.org (Postfix) with SMTP id C7B7643D1D for ; Wed, 16 Feb 2005 21:53:28 +0000 (GMT) (envelope-from cguttesen@yahoo.dk) Received: (qmail 9203 invoked by uid 60001); 16 Feb 2005 21:53:25 -0000 Message-ID: <20050216215325.9201.qmail@web26805.mail.ukl.yahoo.com> Received: from [217.149.113.94] by web26805.mail.ukl.yahoo.com via HTTP; Wed, 16 Feb 2005 22:53:25 CET Date: Wed, 16 Feb 2005 22:53:25 +0100 (CET) From: Claus Guttesen To: Eric Anderson , FreeBSD Current In-Reply-To: <4213B531.7000704@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: Wed, 16 Feb 2005 21:53:30 -0000 > 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.. Aren't you supposed to use gpt(8) to define partitions larger than 2 TB? > Is newfs supposed to be able to work? I've used the > -s option to newfs to limit my filesystem size to > the max it would allow, which ends up being > 11350482546 1K blocks, which means I'm only losing a > couple GB, which is no sweat right now for me, but > if someone wanted a 20TB filesystem, they'd be > hosed. Then the question is whether newfs reads gpt-partitioned disks? From newfs(8): Before running newfs the disk must be labeled using bsdlabel(8). How did you create such a huge partition? Your question is quite interesting, I'm at a storage-solution which supports LUN's larger than 2.2 TB. regards Claus