*BSD News Article 53243


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!gatech!newsjunkie.ans.net!howland.reston.ans.net!Germany.EU.net!news.dfn.de!RRZ.Uni-Koeln.DE!se
From: se@MI.Uni-Koeln.DE (Stefan Esser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: how do I re-newfs my newsspool
Date: 18 Oct 1995 19:30:06 GMT
Organization: Institute for Mathematics, University of Cologne, Germany
Lines: 30
Message-ID: <463kju$n55@news.rrz.uni-koeln.de>
References: <4616gm$2f1@shellx.best.com>
NNTP-Posting-Host: sysiphos.mi.uni-koeln.de

In article <4616gm$2f1@shellx.best.com>, paigen@shellx.best.com (David Paigen) writes:
|> I have just discovered (surprise!) that there are not enough
|> inodes in my newsspool.  I check the man page for newfs to see
|> what I had to do, and I still have some questions...
|> 
|> Can I just specify a -i argument and depend on defaults for the rest?
|> 
|> Will this procedure work?
	
|> 	1. dump /dev/sd0d
|> 	2. umount /dev/sd0d

 	3. newfs -i 1024 -b 4096 -f 512 /dev/sd0d

(You may need to change the size of the cylinder group, too.
The clustering code has sped up the 4K block file system
considerably, and you will make much better use of your spool 
directory using small fragments ...)

|> 	4. mount /dev/sd0d /var/spool/news
|> 	5. restore /dev/sd0d

This should do the job, else ...

STefan
-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/staff/esser/esser.html	  <se@ZPR.Uni-Koeln.DE>