*BSD News Article 98652


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!platinum.sge.net!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!inquo!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Out of INODES
Date: 27 Jun 1997 21:25:38 GMT
Organization: Private BSD site, Dresden
Lines: 40
Message-ID: <5p1b4i$rd6@uriah.heep.sax.de>
References: <01bc830e$a0ffc9f0$0f00a8c0@kahuna>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43674

"Kurt Schafer" <kschafer@cyberbeach.net> wrote:

> I received an error that one of the directories I've got set up as a
> repository for USENET articles is out of inodes.

If you've been using the default number of i-nodes, that's quite
normal.

> The drive is a 4gig barracuda of which 1.2gigs are taken up. But god knows
> how many actual files and directories are hogging inodes.

#define GOD "df -i"

;-)

> Any pointers would be welcome.

newfs -i is your friend.

     -i number of bytes per inode
                 This specifies the density of inodes in the file system.  The
                 default is to create an inode for every (4 * frag-size) bytes
                 of data space.  If fewer inodes are desired, a larger number
                 should be used; to create more inodes a smaller number should
                 be given.

That is, for a 4096/512 filesystem (i hope you did at least this), the
default is one i-node per 2 KB data space.  You probably need
something like -i 1024 then.

freebsd-isp@freebsd.org might be a good reference for you, it's the
mailing list for ISP-related discussions.  I'm sure you'll find people
there more competent than me in this area.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)