Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!uwm.edu!math.ohio-state.edu!jussieu.fr!eurocontrol.fr!not-for-mail From: rbt@eurocontrol.fr (Ollivier ROBERT) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Making new Inodes Date: 26 Jul 1996 13:36:12 GMT Organization: Eurocontrol EEC, Bretigny, France Lines: 17 Message-ID: <4tahkc$jl3@castle.uneec.eurocontrol.fr> References: <4t9v4i$a87@news.kth.se> NNTP-Posting-Host: othello.uneec.eurocontrol.fr [courtesy cc of this posting sent to cited author via email] In article <4t9v4i$a87@news.kth.se>, Tomas Gustavsson <tomasg@dsv.su.se> wrote: > My problem is that I have run oout of inodes on a disk. Can I make > more inodes without doing a newfs? Nope. > If I have to do newfs, do i specify more or less to the -i flag? The parameter after ``-i'' specify the disk space for which an inode is created. That is, assume a 200 MB slice and ``-i 4096''. You'll end up with 200 MB/4 KB = more or less 50000 inodes. So you can calculate how many inodes you need, include a bit more for safety and feed that to ``-i''. Note that newfs defaults to 4x fragment size. That gives 2 KB for a 4 KB/512 B FS and 4 KB for 8 KB/1 KB FS.