*BSD News Article 68548


Return to BSD News archive

#! rnews 1901 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!bofh.dot!in-news.erinet.com!imci5!imci4!newsfeed.internetmci.com!EU.net!sun4nl!xs4all!Chicago.xs4all.nl!usenet
From: Sander Temme <sander@Chicago.xs4all.nl>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help !! I have run out of inodes !!!!
Date: Wed, 15 May 1996 00:14:36 +0200
Organization: Wherever
Lines: 30
Message-ID: <319905CC.41C67EA6@Chicago.xs4all.nl>
References: <4n7lnp$190@emerald.xara.net>
NNTP-Posting-Host: chicago.xs4all.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (X11; I; FreeBSD 2.1.0-RELEASE i386)
To: Craig Stratton <craigs@brandcomms.com>

Craig Stratton wrote:
> 
> My server has informed me that i have run out of inodes
> 495358 used 0 free, but he disk is only 36% full.
> 
> How can i increase the number of inodes available ?
> Can i do it without damaging the data on the disk already ?
> (1.3Gb)
> 

Do you have one 1.3 gig partition? That's big. FreeBSD usually suggests
assigning some smaller partitions. Do you run news or uucp on that disk?

When my /var partition ran out of inodes (I run a very limited
newsfeed), I just tarred the whole /var partition, unmounted it and ran
newfs on the special device. newfs Has a lot of options, see man newfs.
Then I tar xf 'd the data. 

However, ever since I did this my news expire doesn't happen anymore. I
suspect some permissions got lost in the tarring/untarring, because it
runs fine as root and I already had to make /var/tmp world-writable. I
don't know what went wrong. But this should be the way to get more
inodes per kbyte on your disk. 

S.

-- 
Sander the Sybersurfer                        sander@chicago.xs4all.nl
Powered by FreeBSD                       http://www.xs4all.nl/~sctemme
Finger sctemme@xs4all.nl for PGP Public Key.