*BSD News Article 64368


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!lazrus.cca.rockwell.com!newssvr.cacd.rockwell.com!newsrelay.iastate.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!in2.uu.net!news.new-york.net!ritz.mordor.com!ritz
From: ritz@ritz.mordor.com (Chris Mauritz)
Subject: Re: inode surgery possible?
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Lines: 25
Organization: Mordor International
Message-ID: <DoD8o6.8Gq@ritz.mordor.com>
References: <Do9LGC.3A4@news2.new-york.net> <DoB8s0.Lxo@ritz.mordor.com> <DoBJ37.6EE@news2.new-york.net>
Date: Sat, 16 Mar 1996 15:07:17 GMT

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)

Chris
-- 
Christopher Mauritz         | For info on internet access:
ritz@mordor.com             | finger/mail info@ritz.mordor.com OR
Mordor International        | http://www.mordor.com/
201/212/718 internet access | Modem: (201)433-7343,(212)843-3451