Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2005 16:22:52 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Attila Nagy <bra@fsn.hu>
Cc:        freebsd <freebsd-hackers@freebsd.org>
Subject:   Re: UFS2 max limits?
Message-ID:  <20051115002252.GB79020@funkthat.com>
In-Reply-To: <43777D24.2060606@fsn.hu>
References:  <84dead720511112135j435a3723ld15a9d993bbae9cc@mail.gmail.com> <43777D24.2060606@fsn.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



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