🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Chris Russo Sat, 16 Mar 1996 00:00
INN across multiple volumes?
#5708
Author: Chris Russo
Date: Sat, 16 Mar 1996 00:00
17 lines
1086 bytes
Hi, I'm running an INN server on Linux with 4 GB of spool space.  I've
been considering upping my spool space by either getting a larger drive or
just adding a drive to my current configuration.

I seem to recall reading about problems with news spools split across
multiple drives.  Is this recollection true?

Thanks,

Chris Russo

----------------------------------------------------------------------
Chris Russo                          A-Link Network Services, Inc.
crusso@alink.net                     Bolo me
http://www.alink.net/~crusso

Re: INN across multiple volumes?
#6011
Author: John Stewart
Date: Tue, 26 Mar 1996 00:00
32 lines
2158 bytes
In <4j8m2l$d4s@hobyah.cc.uq.oz.au> ccteakle@brolga.cc.uq.oz.au (Chris Teakle) writes:
>The manpage for makehistory (news-recovery(8)) says this:

>     Makehistory does not handle symbolic links.  If the news spool area
>     is split across multiple partitions, the following commands should
>     probably be run before the database is regenerated:
>          cd /var/spool/news
>          find . -type l -name '[1-9]*' -print | xargs -t rm

>IMHO that's a pretty drastic step to take, i.e. deleting all those
>legitimate crossposts.

>Has anyone devised a decent way of dealing with this issue, i.e. having
>news spool split across filesystems, but still being able to safely run
>makehistory?

This is just one example of the problems you run into when you try to
split the news spool across several filesystems.  A much better solution
is to stripe or concatenate two or more physical file systems together to
form a single logical file system.  If your vendor doesn't provide this
functionality then perhaps it is time to switch to another vendor who does.

We use Sun's Solstice Disksuite software to stripe a pair of Seagate 
Hawk disks together to form a single 4Gb file system and we are very
happy with the performance we see.  
-- 
John Stewart -- Computing and Communications Services, Carleton University
Internet: jstewart@ccs.carleton.ca                       613-520-2600x3707
Freenet related queries: xx104@freenet.carleton.ca
let it snow, let it snow, LET IT SNOW!!!

Re: INN across multiple volumes?
#6035
Author: Michael Hucka
Date: Tue, 26 Mar 1996 00:00
19 lines
1520 bytes
>>>>> On 26 Mar 1996, ccteakle@brolga.cc.uq.oz.au (Chris Teakle) wrote:

  ccteakle> ...

  ccteakle> IMHO that's a pretty drastic step to take, i.e. deleting all
  ccteakle> those legitimate crossposts.

  ccteakle> Has anyone devised a decent way of dealing with this issue,
  ccteakle> i.e. having news spool split across filesystems, but still being
  ccteakle> able to safely run makehistory?

That's essentially the question I asked recently (Subject: "makehistory's
inability to handle symlinks", Message-ID <8291gsskf7.fsf@hawk.eecs.umich.edu>)
but I haven't seen an answer yet.
-- 
Mike Hucka     hucka@umich.edu     http://ai.eecs.umich.edu/people/hucka
University of Michigan AI Lab & EECS Departmental Computing Organization

Re: INN across multiple volumes?
#6040
Author: Chris Teakle
Date: Tue, 26 Mar 1996 00:00
36 lines
1925 bytes
crusso@alink.net (Chris Russo) writes:

>Hi, I'm running an INN server on Linux with 4 GB of spool space.  I've
>been considering upping my spool space by either getting a larger drive or
>just adding a drive to my current configuration.

>I seem to recall reading about problems with news spools split across
>multiple drives.  Is this recollection true?

I'd like to do this myself, since the flavour of Un*x on my news servers
(Ultrix-4.x) restrict filesystem size to a maximum of 2Gb.

The INN FAQ describes how to do it. One problem it doesn't address is:

     How does one run makehistory when the news spool is split?

The manpage for makehistory (news-recovery(8)) says this:

     Makehistory does not handle symbolic links.  If the news spool area
     is split across multiple partitions, the following commands should
     probably be run before the database is regenerated:
          cd /var/spool/news
          find . -type l -name '[1-9]*' -print | xargs -t rm

IMHO that's a pretty drastic step to take, i.e. deleting all those
legitimate crossposts.

Has anyone devised a decent way of dealing with this issue, i.e. having
news spool split across filesystems, but still being able to safely run
makehistory?

----
Chris Teakle
Prentice Centre, University of Qld, Australia

Re: INN across multiple volumes?
#6064
Author: Jerry Aguirre
Date: Wed, 27 Mar 1996 00:00
43 lines
2683 bytes
In article <4j8m2l$d4s@hobyah.cc.uq.oz.au> ccteakle@brolga.cc.uq.oz.au (Chris Teakle) writes:
>
>crusso@alink.net (Chris Russo) writes:
>
>>I seem to recall reading about problems with news spools split across
>>multiple drives.  Is this recollection true?
>
>I'd like to do this myself, since the flavour of Un*x on my news servers
>(Ultrix-4.x) restrict filesystem size to a maximum of 2Gb.
>
>The INN FAQ describes how to do it. One problem it doesn't address is:
>
>     How does one run makehistory when the news spool is split?

Yes, a terrible thing happens. :-)  The article might be expired and leave
the dangling symbolic links in the crossposted directories for a few days.

When news creates the original history entry it always puts the real
article first in the list of groups.  When expire is run with the -l
option it is careful to not expire the first entry until all the
crossposted groups have expired.  This prevents the dangling symbolic
links pointing to an article that no longer exists.

Makehistory does not distinguish between symbolic links and the original
article.  Thus the real article could be listed other than the first entry
and expire could remove it prematurely.

But I have yet to have anyone document what drastic harm this will cause.
I have also never had to rebuild the history file compleatly from scratch.
(Mainly because I will do just about anything to avoid it as it would
probably take several days.) I think the warning is excessive.

On the other hand splitting groups across several file systems is a real
pain.  You might map out how to split alt, alt/binaries, etc. so the disk
space works out but the disk bandwidth will not.  Alt/binaries uses a lot
of disk space but not very much bandwidth.  And then two days later the
space usage will have shifted by hundreds of megabytes!

Go with some kind of striping that allows you to make one logical file
system out of several disks.  You will get better performance and a lot
less maintenance.

Re: INN across multiple volumes?
#6065
Author: Ove Hansen
Date: Wed, 27 Mar 1996 00:00
35 lines
2375 bytes
In article <jstewart.827856550@superior>, jstewart@superior.carleton.ca
(John Stewart) writes:
|> This is just one example of the problems you run into when you try to
|> split the news spool across several filesystems.  A much better
|> solution
|> is to stripe or concatenate two or more physical file systems together
|> to
|> form a single logical file system.  If your vendor doesn't provide this
|> functionality then perhaps it is time to switch to another vendor who
|> does.
|> 
|> We use Sun's Solstice Disksuite software to stripe a pair of Seagate 
|> Hawk disks together to form a single 4Gb file system and we are very
|> happy with the performance we see.  

Having recently moved a spool from two 2GB disks on the same controller, 
where both were separate partitions, onto two 4GB disks on two different 
SCSI controllers, with the rest of the system being on a separate SCSI, 
*and* with the 4GB disks merged into one large 8 GB logical volume, I'd 
say it's like having a totally new newsserver...! 

If I'd had performance numbers to give you I would, unfortunately I'm 
often not organized enough to measure things like that before and after 
changes... However when my users actually ask whether I've upgraded the 
newsserver then I know I've hit at least *one* thing right :-) ...

And the likelyhood of running out of space on one large partition is
smaller than if you have two or more with a total of the same amount of 
space - it'll save your bacon now and then when you go away for a long 
weekend and all your feeds at the same time decide to barf 150,000 
articles/day instead of 50,000 ;-) ...
-- 
Ove Hansen - e-mail: ove@neu.sgi.com

Re: INN across multiple volumes?
#6143
Author: Alan Brown
Date: Sat, 30 Mar 1996 00:00
22 lines
1503 bytes
In article <crusso-1603961109180001@buzz.alink.net>,
Chris Russo <crusso@alink.net> wrote:
>Hi, I'm running an INN server on Linux with 4 GB of spool space.  I've
>been considering upping my spool space by either getting a larger drive or
>just adding a drive to my current configuration.
>
>I seem to recall reading about problems with news spools split across
>multiple drives.  Is this recollection true?

It is if you use symlinks, however Linux has striping software available 
and it works well according to people using it.

What kernel and INN version are you running?

AB

-- 
"But you can't say they have arrived to classify your nervous lies
 What's right, what's not, what may not be. Don't try your tricky tests on me
 For I won't live in fear my friend - that every day could be my end"

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads