Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 1999 16:29:20 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Wes Peters <wes@softweyr.com>
Cc:        advocacy@freebsd.org
Subject:   Re: Data Communications Magazine article
Message-ID:  <19990408162920.P2142@lemis.com>
In-Reply-To: <370C3A60.5D005F12@softweyr.com>; from Wes Peters on Wed, Apr 07, 1999 at 11:10:56PM -0600
References:  <370C3132.29B9E0F2@softweyr.com> <19990408151256.L2142@lemis.com> <370C3A60.5D005F12@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday,  7 April 1999 at 23:10:56 -0600, Wes Peters wrote:
> Greg Lehey wrote:
>>
>> On Wednesday,  7 April 1999 at 22:31:46 -0600, Wes Peters wrote:
>>> *** Need to quote maximum file and filesystem sizes here. ***
>>
>> I don't think we can.  File systems can be more than 100 GB, and you'd
>> have to calculate the maximum file size.  It depends on the (square
>> of) the block size.
>
> And the largest supported block size is?

You want I should know all the answers?  I'm not even sure there is a
maximum.  Let's see...

  # newfs -N -b 262144 -f 32768 /dev/vinum/rsrc 
  /dev/vinum/rsrc:        819200 sectors in 200 cylinders of 1 tracks, 4096 sectors
          400.0MB in 13 cyl groups (16 c/g, 32.00MB/g, 2048 i/g)
  super-block backups (for fsck -b #) at:
   512, 66048, 131584, 197120, 262656, 328192, 393728, 459264, 524800, 590336, 655872, 721408, 786944,
  # newfs -N -b 524288  -f 131072 /dev/vinum/rsrc 
  /dev/vinum/rsrc:        819200 sectors in 200 cylinders of 1 tracks, 4096 sectors
          400.0MB in 13 cyl groups (16 c/g, 32.00MB/g, 4096 i/g)
  super-block backups (for fsck -b #) at:
  Floating point exception (core dumped)

Well, with 256 kB blocks the triple indirect inode pointers points to
2**42 blocks of 2**18 bytes, or a total of about 2**60 bytes.  We'd
really need to go to 512 kB blocks to address the entire 18 EB.  But I
suspect that's just a bug in newfs which we can fix when the need
arises :-)

>>> *** Need a good reference for Vinum here.  At a minimum, we
>>>     can point him at http://www.lemis.com/vinum.html if OK
>>>     with Greg Lehey.  ***
>>
>> What's wrong with that?  Should I update it?  I suppose that question
>> answers itself.  Anyway, you (or anybody else) are welcome to quote
>> it.
>
> It says right on the page that it's not up-to-date.  ;^)

Sure.  Lots of web pages do that.  But I might update it before he
sees it :-)

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-advocacy" in the body of the message




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