resizing my slices/partitions - was pruning the Ports tree

Danny MacMillan flowers at users.sourceforge.net
Mon Jul 12 12:02:59 PDT 2004


On Sat, Jul 10, 2004 at 03:50:08PM -0600, Bill Moran wrote:
> 
> "Graham North" <graham.north at telus.net> wrote:
> 
> > recently installing a full ports tree I find that my FBSD /usr slice is
> > almost out of file handles.
> 
> This is very unusual.  There are generally more than enough inodes so that
> you don't run out of inodes before you run out of space.  Did you use

I don't think it's that unusual for a small slice.  For example I recently
installed FreeBSD on a 1.44GB hard drive, using the auto-defaults, and I
ran out of inodes on /usr before sysinstall was finished installing the
ports collection.  That's when I learned about those options to newfs.

It's only the inodes / block averaged over time figure that matters when
determining the proper ratio.  Some activities (like installing the ports
collection) use a lot of inodes / block, but that doesn't mean the steady-
state use of the system will continue to consume inodes at the same
prodigious rate.

The OP will probably be fine by giving himself twice the inodes on that
partition.

-- 
Danny MacMillan



More information about the freebsd-questions mailing list