*BSD News Article 73409


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Increasing Inodes
Date: 11 Jul 1996 14:25:01 GMT
Organization: interface business GmbH, Dresden
Lines: 25
Message-ID: <4s32rt$fv2@innocence.interface-business.de>
References: <4s1pgt$429@tribune>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Judasg@cris.com (Damien Thorn) wrote:

> partition.  I'd like to redo the file system with about 5x the default
> number of inodes.
> 
> Also, the drives have (and are probed as) having 512 byte sectors.
> FreeBSD is defaulting to using 1k blocks.  Should we redo the FS with
> 512 byte blocks as well?  Does this require even more inodes?

This (BSD/OS) is the wrong newsgroup, but your problem is not
primarily system-dependant, so this doesn't matter much.

Basically, you have to backup your file system, and run newfs again,
with modified parameters.  There's the opportunity to tune some of the
newfs params after file system creation, but what you want is not
among them.  (And cannot actually be, since it affects the entire file
system layout.)

512/4096 blocking is highly recommended for Newsserver file systems,
where the typical usage profile consists of many rather small files.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j