Article View: news.software.nntp
Article #39833Re: news spool area exported from NFS
From: Chris Adams
Date: Tue, 14 Sep 1999 00:00
Date: Tue, 14 Sep 1999 00:00
91 lines
4719 bytes
4719 bytes
Once upon a time, Joe Greco <jgreco@ns.sol.net> said: >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. :-/ I thought the patch page looked a little out of date. >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. That's what I thought it sounded like. >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. So, what is a good bytes per inode for a spool filesystem? Again, not having actually _run_ Diablo yet, I don't have a feel for these kinds of things (but I want to set it up and never have to change it of course!). >My very large news filesystems fsck in 30 seconds (after a forced crash >that is). That's good. How big of a spool do you have and how many inodes do you have (how many in use)? How about the overview filesystem? It sounds like overview creates a lot of files. >: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. So, for non-binary groups, that would be something like 100 days of messages in the spool. Much bigger history file and more overview information. Can Diablo handle that? >Otherwise, what you're doing is probably OK, but I'd recommend FreeBSD >instead. Diablo was designed on FreeBSD and works great with it. I thought about that, but I'm not near as familiar with FreeBSD (and I'm a Linux fan :-) ). Also, I didn't find the AMI MegaRAID controller on the supported hardware list. Another thing I saw in your message: you said you are using RAID 5. Is the performance okay? I have always steered clear of RAID 5 for high I/O applications (especially news) because I'd heard that it couldn't keep up. If RAID 5 can keep up okay, I would have a lot more space (because right now I am doing RAID 0+1). How about doing RAID 5 in the hardware on each of the two RAID controllers and then doing RAID 0 (striping) in software? The reason I am doing part in software is because I can't create a RAID group that spans controllers (or at least I can't figure out how). -- Chris Adams <cmadams@hiwaay.net> Systems and Network Administrator - HiWAAY Information Services I don't speak for anybody but myself - that's enough trouble.
Technical Details
Message-ID:
<2DwD3.10701$N77.804364@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-mailReferences:
<7rhmg7$gmh$1@coco.singnet.com.sg> <37de5ead$0$91175@news.execpc.com> <gVtD3.10204$N77.783503@typ11.nn.bcandid.com> <37de8171$0$11108@news.execpc.com>Show Full Headers
Complete Article Headers
Message-ID: <2DwD3.10701$N77.804364@typ11.nn.bcandid.com> Subject: Re: news spool area exported from NFS Date: Tue, 14 Sep 1999 00:00:00 +0000 From: cmadams@fly.hiwaay.net (Chris Adams) References: <7rhmg7$gmh$1@coco.singnet.com.sg> <37de5ead$0$91175@news.execpc.com> <gVtD3.10204$N77.783503@typ11.nn.bcandid.com> <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 X-Deja-AN: 525081180 X-Trace: typ11.nn.bcandid.com 937334334 208.147.154.56 (Tue, 14 Sep 1999 14:38:54 EDT) Organization: HiWAAY Information Services NNTP-Posting-Date: Tue, 14 Sep 1999 14:38:54 EDT Newsgroups: news.software.nntp