*BSD News Article 68657


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!dish.news.pipex.net!pipex!tube.news.pipex.net!pipex!lade.news.pipex.net!pipex!news.be.innet.net!bofh.dot!INbe.net!news.nl.innet.net!INnl.net!hunter.premier.net!bofh.dot!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!newsfeed.pitt.edu!bb3.andrew.cmu.edu!cantaloupe.srv.cs.cmu.edu!usenet@cs.cmu.edu
From: Matthew White <mwhite@cmu.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help !! I have run out of inodes !!!!
Date: Thu, 16 May 1996 13:05:37 -0400
Organization: Carnegie-Mellon University, School of Computer Science
Lines: 30
Message-ID: <319B6061.41C67EA6@cmu.edu>
References: <4n7lnp$190@emerald.xara.net> <319905CC.41C67EA6@Chicago.xs4all.nl>
NNTP-Posting-Host: freehold.pc.cs.cmu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b3 (X11; I; FreeBSD 2.1-STABLE i386)

Sander Temme wrote:
> 
> 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.
> 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?

This is a dubious statement.  Partition size is the personal pidgin of
the sysadmin.  This won't be the reason you're running out of inodes,
since they are allocated by partition size.

> 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.


You needed 'tar xfp', which preserves the file permissions.


-Matt