From owner-freebsd-questions Thu May 31 20:59:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from core.usrlib.org (CC2-861.charter-stl.com [24.217.115.99]) by hub.freebsd.org (Postfix) with ESMTP id 3087737B423 for ; Thu, 31 May 2001 20:59:37 -0700 (PDT) (envelope-from ajh3@core.usrlib.org) Received: by core.usrlib.org (Postfix, from userid 1001) id ECA34A873; Thu, 31 May 2001 22:58:08 -0500 (CDT) Date: Thu, 31 May 2001 22:58:08 -0500 From: Andrew Hesford To: Kris Kennaway Cc: "Knut A. Syed" , questions@FreeBSD.ORG Subject: Re: 2GB filesize limit? Message-ID: <20010531225808.A46862@core.usrlib.org> References: <200105310943.f4V9hgX04825@gilberto.physik.rwth-aachen.de> <20010531033048.A89957@xor.obsecurity.org> <20010531033616.A90245@xor.obsecurity.org> <20010531120348.E96927@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010531120348.E96927@xor.obsecurity.org>; from kris@obsecurity.org on Thu, May 31, 2001 at 12:03:48PM -0700 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 31, 2001 at 12:03:48PM -0700, Kris Kennaway wrote: > On Thu, May 31, 2001 at 01:48:41PM +0200, Knut A. Syed wrote: > > Kris Kennaway writes: > > > > > A quick test with truncate(1) shows that you can create sparse files > > > up to 16TB in size. > > > > ??? > > > > $ truncate -s 8191G /tmp/foo.test > > $ truncate -s 8192G /tmp/foo.test > > truncate: /tmp/foo.test: File too large > > $ uname -r > > 4.3-RELEASE > > $ > > xor# uname -a > FreeBSD xor.obsecurity.org 4.3-RC FreeBSD 4.3-RC #13: Sat Apr 14 00:11:45 PDT 2001 kkenn@xor.obsecurity.org:/mnt/src-4.x/sys/compile/MOLLARI i386 > xor# truncate -s 16383G big > xor# ls -l big > -rw-r--r-- 1 root wheel 17591112302592 May 31 12:02 big > > (Okay, I meant (16TB - 1 byte) :-) > > Kris This discrepancy gets back to the 1 gigablock file limit I was talking about. Obviously Kris has a filesystem with 16K blocks, whereas Mr. Syed and I have 8K blocks in our filesystems. My maximum file size is 8TB-1byte. -- Andrew Hesford ajh3@usrlib.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message