*BSD News Article 63784


Return to BSD News archive

#! rnews 2122 bsd
Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.nla.gov.au!act.news.telstra.net!newshost.telstra.net!asstdc.scgt.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!news.duke.edu!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!news.new-york.net!news.put.com!le
From: le@put.com (Infobot)
Subject: Re: inode surgery possible?
X-Newsreader: TIN [version 1.2 PL2]
Sender: usenet@put.com (The Root)
Organization: Putnam Internet Services
Message-ID: <DoF023.7wD@put.com>
References: <Do9LGC.3A4@news2.new-york.net> <DoB8s0.Lxo@ritz.mordor.com> <DoBJ37.6EE@news2.new-york.net> <DoD8o6.8Gq@ritz.mordor.com>
X-Nntp-Posting-Host: main.put.com
Date: Sun, 17 Mar 1996 13:56:25 GMT
Lines: 31

Chris Mauritz (ritz@ritz.mordor.com) wrote:
: Louis Epstein (le@put.com) wrote:
: : Chris Mauritz (ritz@ritz.mordor.com) wrote:
: : : Louis Epstein (le@put.com) wrote:
: : : : Is there any way in FreeBSD 2.1 to increase the number of inodes on a disk
: : : : without losing its contents?
: : : : 
: : : : The disk on my news server that takes the incoming spool is regularly
: : : : running out of inodes and shutting down processing.I'd like to fix
: : : : this WITHOUT losing the other contents of the disk,if this is possible!
: : 
: : : You can't.  I already told you that you need to punt the partition
: : : and newfs it to create a filesystem with more inodes.
: : 
: : Gaaaaah!!
: : 
: : It's just the one of the three 4MB disks that ever has that problem.
: : What number would be sufficient to prevent recurrence?

: This is what I use.  You should read the man page for newfs and
: season to taste:

: newfs -a 8 -d 0 -b 4096 -f 1024 -i 3000 (for non-alt)
: newfs -a 8 -d 0 -b 16384 -f 4096 -i 10240 (for alt)

Hmmm...my three disks are alt.binaries,alt.everything-but-binaries,and
everything-but-alt(local hierarchies will be on the fourth disk that holds
the history files).In.coming is on the everything-but-alt disk,which is
the one that runs out of inodes...the alt.binaries disk never uses much 
of its inode allotment at all.