Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 1999 18:25:45 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Alejandro Ramirez <ales@megared.net.mx>
Cc:        Albert Everett <aeverett@webintl.com>, questions@freebsd.org
Subject:   Re: maximum file size
Message-ID:  <19990821182544.A451@marder-1>
In-Reply-To: <02ce01beebf5$99d2da80$d4630a0a@megared.net.mx>; from Alejandro Ramirez on Sat, Aug 21, 1999 at 11:52:48AM -0500
References:  <37BEB44E.29ED2CD4@webintl.com> <19990821153112.E267@marder-1> <02ce01beebf5$99d2da80$d4630a0a@megared.net.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 21, 1999 at 11:52:48AM -0500, Alejandro Ramirez wrote:
> Hi,
> 
>     How can I know the size of the blocks I'm using in my system??? (FreeBSD
> 3.2 Release)
> 

The default block-size is 8kB, so if you let sysinstall newfs your
disks then that's what it'll be.

dumpfs(8) is the only way that I know (but there are probably
several other ways) of finding the block-size of an existing fs.
The disk must be umounted for dumpfs to work which makes checking
the root fs a bit difficult :-)

> Thanks
> 
> Ales
> 
> ----- Original Message -----
> From: Mark Ovens <mark@dogma.freebsd-uk.eu.org>
> To: Albert Everett <aeverett@webintl.com>
> Cc: <questions@FreeBSD.ORG>
> Sent: Saturday, August 21, 1999 9:31 AM
> Subject: Re: maximum file size
> 
> 
> > On Sat, Aug 21, 1999 at 09:14:39AM -0500, Albert Everett wrote:
> > > Hopefully this will be a trivial question, but I haven't found the
> answer yet
> > > online or in Greg's FreeBSD book.
> > >
> > > How large can a file be under FreeBSD? I've heard that under Linux the
> size
> > > limit is 2gb.
> > >
> > > It's not difficult to imagine large log files resulting from a busy web
> site,
> > > but most documentation seems to be focused on minimums rather than
> maximums.
> > >
> >
> > According to the FAQ >4TB:
> >
> > 2.27. What are the limits for ffs file-systems?
> >
> > For ffs file-systems, the maximum theoretical limit is 8 tera-bytes
> > (2G blocks), or 16TB for the default block size of 8K. In practice,
> > there is a soft limit of 1 tera-byte, but with modifications
> > file-systems with 4 tera-bytes are possible (and exist).
> >
> > The maximum size of a single ffs file is approximately 1G blocks
> > (4TB) if the block size is 4K.
> >
> >                            maxfilesize
> >    ----------------------------------
> >    2.2.7    3.0
> > fs block size   -stable  -current  works  should-work
> > -------------   -------  --------  -----  -----------
> > 4K              4T-1       4T-1    4T-1   4+T
> > 8K              32+G       8T-1    32+G   16T-1
> > 16K             128+G      16T-1   128+G  32T-1
> > 32K             512+G      32T-1   512+G  64T-1
> > 64K             2048+G     64T-1   2048+G 128T-1
> >
> > > Albert Everett
> > > aeverett@webintl.com
> > >
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > >
> >
> > --
> > STATE-OF-THE-ART: Any computer you can't afford.
> > OBSOLETE: Any computer you own.
> > ________________________________________________________________
> >       FreeBSD - The Power To Serve http://www.freebsd.org
> >       My Webpage http://http://ukug.uk.freebsd.org/~mark/
> > mailto:mark@ukug.uk.freebsd.org              http://www.radan.com
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

-- 
STATE-OF-THE-ART: Any computer you can't afford.
OBSOLETE: Any computer you own.
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org              http://www.radan.com



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?19990821182544.A451>