Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 22:58:08 -0500
From:      Andrew Hesford <ajh3@usrlib.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        "Knut A. Syed" <Knut.Syed@nhh.no>, questions@FreeBSD.ORG
Subject:   Re: 2GB filesize limit?
Message-ID:  <20010531225808.A46862@core.usrlib.org>
In-Reply-To: <20010531120348.E96927@xor.obsecurity.org>; from kris@obsecurity.org on Thu, May 31, 2001 at 12:03:48PM -0700
References:  <200105310943.f4V9hgX04825@gilberto.physik.rwth-aachen.de> <20010531033048.A89957@xor.obsecurity.org> <20010531033616.A90245@xor.obsecurity.org> <s3ielt5eo2u.fsf@kas.nhh.no> <20010531120348.E96927@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kris@obsecurity.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010531225808.A46862>