🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39824

Re: news spool area exported from NFS

#39824
From: Joe Greco
Date: Tue, 14 Sep 1999 00:00
62 lines
3581 bytes
In news.software.nntp article <gVtD3.10204$N77.783503@typ11.nn.bcandid.com>, cmadams@fly.hiwaay.net (Chris Adams) wrote:
:Once upon a time, Joe Greco <jgreco@ns.sol.net> said:
:>    If you are not concerned about losing "some" data, you can drop the
:>    DAC960SX and one drive, and use my spooldir mod to Diablo to limit
:>    the number of articles you'd lose if you lost a drive.  Only really
:>    recommended for redundant environments.
:
:I am setting up a new server to use Diablo.  What is this "spooldir mod"
:you mention?  It doesn't seem to be on your patch page.  It sounds
:interesting.

Nothing recent's on the patch page, it's all in my working sources.  :-/

The basic idea is to split up

/news/spool/news/D.xxxxxxx

into

/news/spool/news/N.xx/D.xxxxxxxx

where the number of "N.xx" directories is configurable.  This means that
instead of setting up a CCD or RAID that spans all your drives, you can
set up smaller drives and risk losing less if one dies.  Mount each one
on a N.xx directory, obviously.

My original reason for doing it is invalid, however :-)  (you can learn
so much by actually experimenting...)  I was worried about fsck times on
a very large partition.  I reasoned that increasing parallelism would
reduce the fsck times.  However, simply reducing the inode count (a valid
thing to do with Diablo) accomplishes the same thing and allows you to use
a single filesystem, if you want.

My very large news filesystems fsck in 30 seconds (after a forced crash
that is).

:I am setting up Linux and Diablo on a server that used to be an NT news
:server.  It has a lot of hardware (two dual channel external RAID boxes
:with AMI MegaRAID controllers).  I am setting it up with each RAID box
:as a single RAID0 array (8 drives x 8.5G = 69G) and then using Linux's
:software mirroring (this is a quad PPro 200 system so it should have
:enough CPU) to mirror the two drives (so we don't go down it a drive
:fails).  I am planning on doing text only messages, so I figured that
:leaves plenty of free space.
:
:Any suggestions - is the way I am headed a good idea?  I have setup INN
:before and had it running smooth, but I am new to Diablo.  There isn't
:near as much info on Diablo as there was on INN, so I'm kind of in the
:dark on the best way to work things.

Well, let me ask this of you.  If you lost 1/16 of your articles, would
you care?

If not, you'd be better off setting up something like my spooldir mod,
_not_ mirroring the drives, and ending up with 138GB space.

Otherwise, what you're doing is probably OK, but I'd recommend FreeBSD
instead.  Diablo was designed on FreeBSD and works great with it.

... JG

Technical Details
Message-ID: <37de8171$0$11108@news.execpc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7rhmg7$gmh$1@coco.singnet.com.sg> <ylso4hwzim.fsf@windlord.stanford.edu> <37de5ead$0$91175@news.execpc.com> <gVtD3.10204$N77.783503@typ11.nn.bcandid.com>

Show Full Headers
Complete Article Headers
Message-ID: <37de8171$0$11108@news.execpc.com>
Subject: Re: news spool area exported from NFS
Date: Tue, 14 Sep 1999 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <7rhmg7$gmh$1@coco.singnet.com.sg> <ylso4hwzim.fsf@windlord.stanford.edu> <37de5ead$0$91175@news.execpc.com> <gVtD3.10204$N77.783503@typ11.nn.bcandid.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 525049534
Sender: jgreco@earth.execpc.com
X-Trace: K5Si:bCC31MI5[332>a9YKbfNiaEHUgJGRYcgIRLSUEMm^IMT:J_;ONN<3]L:bUEQE]d4H87I=[?BGhaMU<hZ^NGF4FfQ?Mh6UM
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com