From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 15 00:22:57 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23CA616A41F for ; Tue, 15 Nov 2005 00:22:57 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2042C43D4C for ; Tue, 15 Nov 2005 00:22:56 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jAF0MtWq084516; Mon, 14 Nov 2005 16:22:55 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jAF0MqDP084515; Mon, 14 Nov 2005 16:22:52 -0800 (PST) (envelope-from jmg) Date: Mon, 14 Nov 2005 16:22:52 -0800 From: John-Mark Gurney To: Attila Nagy Message-ID: <20051115002252.GB79020@funkthat.com> Mail-Followup-To: Attila Nagy , Joseph Koshy , freebsd References: <84dead720511112135j435a3723ld15a9d993bbae9cc@mail.gmail.com> <43777D24.2060606@fsn.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43777D24.2060606@fsn.hu> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd Subject: Re: UFS2 max limits? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 00:22:57 -0000 Attila Nagy wrote this message on Sun, Nov 13, 2005 at 18:51 +0100: > Joseph Koshy wrote: > >The Wikipedia page referenced below says that UFS2 supports a > >filesystem size of 2^80 Bytes (1YiB) with the limit on a given > >file being 2^55 bytes (32 PiB). > >Are these numbers correct? I somehow remember the limits as > >being much lower (of the order of 16TB or so). > I could only create a 128TB sparse file on an UFS2 partition, so I guess > 32 PB is a little bith high. No, it is not... The reason you were limited to 128TB is that you did not create your filesystem with -f 65536 -b 65536... If you look at my equation that I posted earlier, if you have a blocksize of 16384, you end up with ~128TB as the max file size... K M G T (16384/8)^3*16384 / 1024 / 1024 / 1024 / 1024 == 128 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."