🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Stephane Demeleumester Sat, 14 Feb 2004 07:54
Add a new disk spool on inn 2.4.1
#68117
Author: Stephane Demeleumester
Date: Sat, 14 Feb 2004 07:54
10 lines
1246 bytes
Hi

Actually i have one news server with one IDE Disk in tradspool.

I want add a new disk, what is the configuration of storage.conf for inn
stock article on two disk

thanks for your help

Re: Add a new disk spool on inn 2.4.1
#68119
Author: ruud
Date: Sat, 14 Feb 2004 12:40
15 lines
1677 bytes
Stephane Demeleumester wrote:

> Hi
> 
> Actually i have one news server with one IDE Disk in tradspool.
> 
> I want add a new disk, what is the configuration of storage.conf for inn
> stock article on two disk

That's easy, just copy the spool directory to the new harddisk and edit the
path in inn.conf

-- 
Gr. Ruud
http://www.nl-netwerken.com
Re: Add a new disk spool on inn 2.4.1
#68122
Author: Jeffrey M. Vinocur
Date: Sat, 14 Feb 2004 15:37
21 lines
1848 bytes
In article <402dd3bf$0$827$636a15ce@news.free.fr>,
Stephane Demeleumester <Step@pasdepub.com> wrote:
>
>Actually i have one news server with one IDE Disk in tradspool.
>
>I want add a new disk, what is the configuration of storage.conf for inn
>stock article on two disk

If you want to use exclusively tradspool, you don't need to
modify storage.conf; instead you use your regular system tools to
spread the spool across two disks.

For example, you could (stop INN first) move the contents of
$patharticles/alt to the new disk, and then mount the new disk at
that location, so that INN simply sees it as part of the
available space (for storing articles in alt.*).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Add a new disk spool on inn 2.4.1
#68124
Author: John Schmidt
Date: Sat, 14 Feb 2004 17:01
23 lines
1994 bytes
On Sat, 14 Feb 2004, Jeffrey M. Vinocur wrote:

> If you want to use exclusively tradspool, you don't need to
> modify storage.conf; instead you use your regular system tools to
> spread the spool across two disks.
>
> For example, you could (stop INN first) move the contents of
> $patharticles/alt to the new disk, and then mount the new disk at
> that location, so that INN simply sees it as part of the
> available space (for storing articles in alt.*).

It's killing me that I don't remeber the specifics (it's been a
looooong time sice I've had a box set up that way), but isn't
there an additional flag you have to set somewhere to deal with
crossposted articles, since hardlinks across filesystems aren't
available? Or is that no longer needed by current inn?

Or, quite possibly, am I simply imagining the whole thing?

JS

Re: Add a new disk spool on inn 2.4.1
#68126
Author: Jeffrey M. Vinocur
Date: Sat, 14 Feb 2004 19:09
28 lines
2355 bytes
In article <Pine.LNX.4.44.0402141155290.6030-100000@news.mebay.biz>,
John Schmidt  <a.dingo@mebay.biz> wrote:
>
>On Sat, 14 Feb 2004, Jeffrey M. Vinocur wrote:
>
>> If you want to use exclusively tradspool, you don't need to
>> modify storage.conf; instead you use your regular system tools to
>> spread the spool across two disks.
>
>It's killing me that I don't remeber the specifics (it's been a
>looooong time sice I've had a box set up that way), but isn't
>there an additional flag you have to set somewhere to deal with
>crossposted articles, since hardlinks across filesystems aren't
>available? Or is that no longer needed by current inn?

Hmm, good point.  I've never used this configuration myself (it's
hard to imagine wanting tradspool for such a quantity of news
that it wouldn't fit on a single disk these days).

Looking through the source, it seems that INN automatically falls
back to symlinks if the link(2) fails (e.g. due to being cross-
partition).  At least, provided ./configure found support for
symlink(2) on your system (if it doesn't, and a link(2) fails,
you get an "could not link" error reported via syslog).

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Add a new disk spool on inn 2.4.1
#68127
Author: Russ Allbery
Date: Sat, 14 Feb 2004 20:08
25 lines
2436 bytes
John Schmidt <a.dingo@mebay.biz> writes:

> It's killing me that I don't remeber the specifics (it's been a looooong
> time sice I've had a box set up that way), but isn't there an additional
> flag you have to set somewhere to deal with crossposted articles, since
> hardlinks across filesystems aren't available? Or is that no longer
> needed by current inn?

It's no longer needed, but good memory.  :)  INN uses hard links normally
and fall back on soft links if the directories were on different
partitions, and it used to be that this would cause problems for expire
since expire would want to just remove the article out of the group and
with symlinks if you delete the "master" article, that actually deletes it
from all groups.

As it turns out, introducing the storage API required that we have a
master article always, even with hard links, because of how the storage
API works, which means that INN now always does that logic and nothing
special is required if symlinks are used instead of hard links.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Add a new disk spool on inn 2.4.1
#68129
Author: John Schmidt
Date: Sun, 15 Feb 2004 16:14
18 lines
1924 bytes
On Sat, 14 Feb 2004, Jeffrey M. Vinocur wrote:

> Hmm, good point.  I've never used this configuration myself (it's
> hard to imagine wanting tradspool for such a quantity of news
> that it wouldn't fit on a single disk these days).

Yeah - tradspool was my preference for servers that are text
only (due to fine-grained expiry control), but I doubt I'll
ever use it for new boxes other than "toy" servers at home or
non customer accessible boxes at work[1].

JS

[1] News servers work pretty durn well as bug tracking databases
    in smaller environments, and tradspool is MUCH easier to
    back up and restore.
Re: Add a new disk spool on inn 2.4.1
#68130
Author: Russ Allbery
Date: Sun, 15 Feb 2004 19:09
16 lines
1935 bytes
John Schmidt <a.dingo@mebay.biz> writes:

> Yeah - tradspool was my preference for servers that are text only (due
> to fine-grained expiry control), but I doubt I'll ever use it for new
> boxes other than "toy" servers at home or non customer accessible boxes
> at work[1].

I'd use tradspool for any news server that doesn't take binaries.  The
recovery capabilities are just so much better that I'd use it whenever
it's capable of keeping up.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Add a new disk spool on inn 2.4.1
#68131
Author: Jeffrey M. Vinocur
Date: Mon, 16 Feb 2004 00:47
15 lines
1675 bytes
In article <Pine.LNX.4.44.0402151106420.6030-100000@news.mebay.biz>,
John Schmidt  <a.dingo@mebay.biz> wrote:
>
>Yeah - tradspool was my preference for servers that are text
>only (due to fine-grained expiry control), but I doubt I'll
>ever use it for new boxes other than [...]

Just keep in mind that you can mix and match...no reason you
can't put your alt.binaries.* in CNFS and your other groups in
tradspool.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Add a new disk spool on inn 2.4.1
#68132
Author: John Schmidt
Date: Mon, 16 Feb 2004 05:05
12 lines
1665 bytes
On Sun, 15 Feb 2004, Russ Allbery wrote:

> I'd use tradspool for any news server that doesn't take binaries.  The
> recovery capabilities are just so much better that I'd use it whenever
> it's capable of keeping up.

Great point. If recovery after nastiness is needed at all, tradspool
is by far the best way to go.

JS
Re: Add a new disk spool on inn 2.4.1
#68133
Author: John Schmidt
Date: Mon, 16 Feb 2004 05:09
19 lines
1715 bytes
On Mon, 16 Feb 2004, Jeffrey M. Vinocur wrote:

> Just keep in mind that you can mix and match...no reason you
> can't put your alt.binaries.* in CNFS and your other groups in
> tradspool.

Yeah, that makes sense, and I am aware of the mix and match
capabilities of newer inn versions. But, for some reason I can't
really define, mixing CNFS and tradspool on one server makes
me feel...

somehow...

oogey.

JS

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