*BSD News Article 80132


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sprintlink.net!news-peer.sprintlink.net!www.nntp.primenet.com!nntp.primenet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!uunet!news-in2.uu.net!demos!snm.demos.su!not-for-mail
From: Andrew A. Vasilyev <andy@snm.demos.su>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD as news-server??
Date: 7 Oct 1996 14:42:35 GMT
Organization: Demos Online Service
Lines: 33
Distribution: world
Message-ID: <53b4sr$9to@news.demos.su>
References: <537ddl$3cc@amd40.wecs.org> <3258CCD5.ABD322C@FreeBSD.org>
NNTP-Posting-Host: snm.demos.su
Mime-Version: 1.0
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960923]

Jordan K. Hubbard <jkh@FreeBSD.org> wrote:
> If it were me, I'd reserve about 700MB for the OS (so I could play with
> new versions of inn, have a reasonable /usr/local on the machine, etc)
> and take the rest (2x 4.3 and 2gb from quantum) as 3 large filesystems,
> which you can partition and mount from the installer then "sacrifice"
> later for ccd (e.g. take the entries out of /etc/fstab and combine the 3
> filesystems into one with ccdconfig(8) after the system is up).  See the
> man pages for ccd(4) and ccdconfig(8) - they're pretty self-explanatory.

> Once you have your mongo 10.6Gb partition created from this, just mount
> /var/spool/news on it and you're on your way.

  Unfortunately there should be at least 3 different FSs on different
  spindles: one for NOV database (over.view), it carries big files,
  so fragment/block could be {2048,4096}/8192; (2) different logs (news.*,
  log,etc) - also big files; (2') history{,.pag} - huge files with random I/O;
  and (3) news spool itself - a lot of tiny files, so frag/block should be
  512/{1024,2048}, and about 10^6 inodes for 6G (you figures may be different
  if you carries more or less alt.*, so the good idea to have different
  FS for alt.binaries.* and the rest).

  So the best configuration is several small (1-2G) disks for history,
  NOV, logs. And all the rest big (4G) could be concatenated by ccd.

> Oh yeah, also don't forget to create those 3 filesystems with more than
> the default set of inodes.  You can set the newfs options in the label
> editor, and a good value to add might be `-i 1024' or even `-i 768'.

  On 10G space, I'm afraid we loose a lot of space for extra i-nodes.
  We'll get more than 13*10^6 i-nodes, and 'll have about 2*10^6
  articles - even less if we like alt.{binaries,warez}.* :((
________
	ANDY