From owner-freebsd-questions Sun Oct 18 21:45:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA15409 for freebsd-questions-outgoing; Sun, 18 Oct 1998 21:45:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from federation.addy.com (federation.addy.com [207.239.68.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA15401 for ; Sun, 18 Oct 1998 21:45:22 -0700 (PDT) (envelope-from francisco@natserv.com) Received: from quisqueya.natserv.com (TC2-dial-107-142.oldslip.inch.com [207.240.142.107]) by federation.addy.com (8.8.5/8.6.12) with ESMTP id AAA20776; Mon, 19 Oct 1998 00:44:48 -0400 (EDT) Message-Id: <199810190444.AAA20776@federation.addy.com> X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <362A620D.33DC@echidna.com> Date: Mon, 19 Oct 1998 00:45:20 -0000 (GMT) Reply-To: francisco@natserv.com From: Francisco Reyes To: Graeme Tait Subject: RE: Out of inodes with many small files on disk Cc: info@boatbooks.com, freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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