Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 1998 00:45:20 -0000 (GMT)
From:      Francisco Reyes <francisco@natserv.com>
To:        Graeme Tait <graeme@echidna.com>
Cc:        info@boatbooks.com, freebsd-questions@FreeBSD.ORG
Subject:   RE: Out of inodes with many small files on disk
Message-ID:  <199810190444.AAA20776@federation.addy.com>
In-Reply-To: <362A620D.33DC@echidna.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 18-Oct-98 Graeme Tait wrote:
> The "out of inodes" condition   arose with about 50% of the disk
> occupied with the small files 

The default for FreeBSD (from man newfs) is to have 1 inode for each 4
fragments = 4K.

You will need to newfs the disk with something like:
newfs -i 1024

That will you 4 times the number of available inodes.


> How can I predict if I will run out of inodes before filling a disk (or
> partition

Simple. Look at the output of df -i and see how many inodes you have free.
That is how many files you can have.

----
francisco@natserv.com
The power to serve.   http://www.freebsd.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?199810190444.AAA20776>