*BSD News Article 61408


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!in2.uu.net!news.new-york.net!ritz.mordor.com!ritz
From: ritz@ritz.mordor.com (Chris Mauritz)
Subject: Re: Problems w/ restore from DAT
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Lines: 30
Organization: Mordor International
Message-ID: <DMB4AF.63@ritz.mordor.com>
References: <4f46b3$ue@ender.techcenter.paccar.com>
Date: Mon, 5 Feb 1996 14:30:15 GMT

Arlen Fletcher (fletcher@techcenter.paccar.com) wrote:
: I've been attempting to move our news server to a newer machine
: running FreeBSD 2.1.0 RELEASE by backing up the \var\spool\news
: directory to DAT and restoring on the new machine.  I get the
: following errors part way through the restore:
: 
: Feb  4 14:27:38 news1 /kernel: uid 0 on /var: out of inodes
: Feb  4 14:28:09 news1 last message repeated 6041 times
: 
: 
: So, the question is, how do I change the number of inodes when
: I set up a new filesystem (I chose 'novice' installation)?  
: Unix System Administration mentions that news servers
: need lots of inodes - and refers the reader to Chap. 24 where
: nothing more is said about inodes.  Help!

You need to newfs the partitions to add more inodes.

One of my friends runs one of the larger news servers around these
parts and he offered the following advice for news partitions:

newfs -a 8 -d 0 -b 4096 -f 1024 -i 3000 (for non-alt)
newfs -a 8 -d 0 -b 16384 -f 4096 -i 10240 (for alt)

See "man newfs" to see what all those switches are for, though the
"-i" switch is the one you'll probably be most interested in. 8-)

Regards,

Chris
-- 
Christopher Mauritz         | For info on internet access:
ritz@mordor.com             | finger/mail info@ritz.mordor.com OR
Mordor International        | http://www.mordor.com/
201/212/718 internet access | Modem: (201)433-7343,(212)843-3451