🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2344

Re: How to increase number of inodes under SCO UNIX 3.2.4?

#2344
From: Michael P. Deignan
Date: Sun, 09 Jan 1994 13:59
63 lines
3531 bytes
In article <muhlig.56.2D300C38@usctoux1.cto.us.edu.pl>, 
   muhlig@usctoux1.cto.us.edu.pl (Maciek Uhlig) writes:

|> Could somebody more experienced in news administration enlighten me
|> how to increase number of inodes under SCO 3.2.4? Currently I've
|> installed 1.8 GB hard disk and found number of inodes equal to
|> 65488. This is certainly too low because I expect I need 
|> 500.000 - 1.000.000 inodes. 
|> However mkfs -f EAFS /dev/u1 1851585:500000 creates filesystem
|> with about 900.000 blocks and about 65.000 inodes. Is the number
|> of inodes hardcoded somewhere or can I really increase it?
|> Please help!

The number of inodes per SCO EAFS filesystem is limited to 65k. This
is a hard limit. However, there is a way to get around this.

1. Divide your hard disk in a series of smaller filesystems, named
    "news0", "news1", "news2", etc. See caveat below.

2. In your /usr/spool/news (or wherever you have your news spool
   directory), create a series of mount points named ".news0", etc.
   One for each filesystem you created in step #1.

3. Mount the filesystems

4. Create the major hierarchy 'directories' as a series of symbolic
   links to the various filesystems. For instance:

    alt -> /usr/spool/news/.news0/alt
    biz -> /usr/spool/news/.news0/biz
    comp -> /usr/spool/news/.news1/comp
    news -> /usr/spool/news/.news2/news
    misc -> /usr/spool/news/.news2/misc

    etc. Be sure the directories you are sumbollically linking to exist,
    otherwise you'll have problems.

The net result of this is that you'll be able to get many times more inodes
across several filesystems than if you were to simply create a single filesystem.

The trick in this entire process is to attempt to figure out how you want to
lay out your filesystems. For instance, I found that the filesystem which
contained alt had to be the largest, rec/comp the next largest, and I could
fit sci, soc, misc, on a third, and the remainder on a fourth. The exact size
of the filesystems is important, since you don't want to have to recreate a
whole bunch of new filesystems if you guess wrong! :-) The number of inodes
per filesystem I always made the maximum, and found that the highest I ever
got, even with 100% of all space filled on a filesystem, was about 66% inode
utilization.

Also, for this to work properly you'll probably have to compile whatever
news processing software you have to use symbolic links. Otherwise the
software may not be able to figure out how to physically create files
for cross-posted articles which span several filesystems.


MD
-- 
-- Michael P. Deignan
-- Population Studies & Training Center 
-- Brown University, Box 1916, Providence, RI  02912 
-- (401) 863-7284
Technical Details
Message-ID: <1994Jan9.135918.11118@cs.brown.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-biz.sco.general.mbox.zip!gmd.de!Germany.EU.net!EU.net!uunet!brunix!maxcy2.maxcy.brown.edu!md
References: <muhlig.56.2D300C38@usctoux1.cto.us.edu.pl>

Show Full Headers
Complete Article Headers
Message-ID: <1994Jan9.135918.11118@cs.brown.edu>
Subject: Re: How to increase number of inodes under SCO UNIX 3.2.4?
Date: Sun, 9 Jan 1994 13:59:18 GMT
From: md@maxcy2.maxcy.brown.edu (Michael P. Deignan)
References: <muhlig.56.2D300C38@usctoux1.cto.us.edu.pl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-biz.sco.general.mbox.zip!gmd.de!Germany.EU.net!EU.net!uunet!brunix!maxcy2.maxcy.brown.edu!md
Newsgroups: news.software.nntp,comp.unix.xenix.sco,biz.sco.general
Sender: news@cs.brown.edu
Organization: Population Studies & Training Center
Lines: 62