🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2157

Re: Please help !! No inode left...

#2157
From: Daniel S. Riley
Date: Tue, 14 Sep 1993 21:05
35 lines
2741 bytes
On 13 Sep 1993 15:39:58 GMT, gcombs@parsifal.umkc.edu (Gerald Combs) said:
gcombs>   We ran into this problem on a DECstation running Ultrix.  We
gcombs> increased the number of inodes by backing up our disk and
gcombs> running newfs with the -i option, which specifies the number
gcombs> of bytes per inode.  Smaller numbers mean more inodes.  We
gcombs> were less than pleased to find that Ultrix has a hard limit on
gcombs> the number of inodes in a partition, so we had to split the
gcombs> disk into partitions as well.

I don't believe Ultrix does have a hard limit on the number of inodes
in a partition.  What it *does* have, in common with just about every
other file system derived from the BSD ufs prior to 4.3BSD-tahoe, is a
hard limit on the number of inodes per cylinder group:

root_lns598> grep MAXIPG /usr/include/fs/ufs/fs.h 
 * MAXIPG bounds the number of inodes per cylinder group, and
 * N.B.: MAXIPG must be a multiple of INOPB(fs).
#define MAXIPG          2048    /* max number inodes/cyl group */
        char    cg_iused[MAXIPG/NBBY];  /* used inode map */

You can get around this by using the '-c' parameter to newfs to make
the cylinder groups smaller, increasing the number of cylinder groups
and hence increasing the maximum number of inodes on the partition.

I have a 1988 posting from Chris Torek which explains all this in more
gorey detail than you could ever want to know--perhaps it should be
reposted periodically, as this seems to be one of the most commonly
asked news-spool-management questions.

--
-Dan Riley                          Internet: dsr@lns598.tn.cornell.edu
-Wilson Lab, Cornell University     HEPNET/SPAN: lns598::dsr (44630::dsr)
	      "Distance means nothing/To me." -Kate Bush
Technical Details
Message-ID: <DSR.93Sep14170534@lns596.lns.cornell.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!caen!batcomputer!news.graphics.cornell.edu!newsstand.cit.cornell.edu!lns598.lns.cornell.edu!dsr
References: <1993Sep11.043929.23864@hp9000.csc.cuhk.hk> <27248e$flt@parsifal.umkc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <DSR.93Sep14170534@lns596.lns.cornell.edu>
Subject: Re: Please help !! No inode left...
Date: Tue, 14 Sep 1993 21:05:33 +0000
From: dsr@lns598.tn.cornell.edu (Daniel S. Riley)
References: <1993Sep11.043929.23864@hp9000.csc.cuhk.hk> <27248e$flt@parsifal.umkc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!caen!batcomputer!news.graphics.cornell.edu!newsstand.cit.cornell.edu!lns598.lns.cornell.edu!dsr
Newsgroups: news.sysadmin,news.software.nntp,comp.sys.hp
Organization: Wilson Lab, Cornell U., Ithaca, NY 14853
Lines: 34
Distribution: world
NNTP-Posting-Host: lns596.lns.cornell.edu
In-reply-to: gcombs@parsifal.umkc.edu's message of 13 Sep 1993 15:39:58 GMT