Thread View: news.software.nntp
2 messages
2 total messages
Started by Michael P. Deignan
Sun, 09 Jan 1994 13:59
Re: How to increase number of inodes under SCO UNIX 3.2.4?
Author: Michael P. Deignan
Date: Sun, 09 Jan 1994 13:59
Date: Sun, 09 Jan 1994 13:59
63 lines
3531 bytes
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
Re: How to increase number of inodes under SCO UNIX 3.2.4?
Author: Murray S. Kucherawy
Date: Sun, 09 Jan 1994 17:22
Date: Sun, 09 Jan 1994 17:22
35 lines
2346 bytes
2346 bytes
In article <1994Jan9.135918.11118@cs.brown.edu>, Michael P. Deignan <md@maxcy2.maxcy.brown.edu> wrote: >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. >... Don't forget that, if you do this and you're running INN, some things need to change (most certainly the way expire is run, but there are others; the FAQ has all the details). -- Murray S. Kucherawy ========================================================== Software Support, Network Operations Centre E-mail: mskucher@nic.hookup.net HookUp Communication Corp. - Waterloo, Ontario, CANADA NIC Handle "MSK"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads