🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Peter Fastré Fri, 14 Jan 2000 00:00
Storage manager - overview
#43306
Author: Peter Fastré
Date: Fri, 14 Jan 2000 00:00
40 lines
2191 bytes
I have three questions.

1. Is it possible in Linux to mount two or more partitions to 1
directory, e.g. /news? You can do this on NT (logical volume) and they
say you can do it on some other Unix's too (e.g. Sun). It would be very
easy for us because we can use the traditional storage in INN instead of
cnfs, while still using all of our diskspace (two harddisks).

2. We tried to use cnfs, but we encountered the following problem. When
creating the history database (makehistory -i), we get an error 'Can't
initialize storage manager'. We created the cycbuffers, and also the
metacycbuffers.
cycbuff.conf:
    cycbuff:ALT01:/news1/buf/alt01:2000000
    cycbuff:ALT02:/news2/buf/alt02:2000000
    cycbuff:ALT03:/news1/buf/alt03:2000000
    ...

    metacycbuff:ALT:ALT01,ALT02,ALT03
    metacycbuff:NOTALT:NOTALT01,NOTALT02,NOTALT03,...

Am I forgetting something? We created the files with dd and they are
owned by news.
We use now the traditional storage method, but with this method we can
only use one drive.

If we use cnfs, where does INN put his outgoing files (the files our
users post)? Do we have to create files for these articles too or are
they put in the normal cycbufs?

3. Overview. Is this necessary? If we don't include it in 'newsfeeds',
everything seems to work all right?

Thank you for your support
Peter




Re: Storage manager - overview
#43349
Author: Russ Allbery
Date: Sat, 15 Jan 2000 00:00
46 lines
2743 bytes
Peter Fastr� <peter.fastre@village.uunet.be> writes:

> 1. Is it possible in Linux to mount two or more partitions to 1
> directory, e.g. /news? You can do this on NT (logical volume) and they
> say you can do it on some other Unix's too (e.g. Sun). It would be very
> easy for us because we can use the traditional storage in INN instead of
> cnfs, while still using all of our diskspace (two harddisks).

Current Linux may have support for striping; I unfortunately don't know
much about it.  Look around the normal Linux documentation sites and see
if you can find a HOWTO.

> 2. We tried to use cnfs, but we encountered the following problem. When
> creating the history database (makehistory -i), we get an error 'Can't
> initialize storage manager'.

The real error message will be in syslog; check there to see what went
wrong.

> Am I forgetting something? We created the files with dd and they are
> owned by news.  We use now the traditional storage method, but with this
> method we can only use one drive.

You can use two disks with traditional storage too; the most common way of
doing that is to mount the second disk as /news1 and create symlinks for
specific hierarchies from /news to /news1.  (Like put alt.* and comp.* on
/news1 and everything else on /news.)  Make sure to pass the -l flag to
expire, though; see the man page for it and news.daily.

> If we use cnfs, where does INN put his outgoing files (the files our
> users post)? Do we have to create files for these articles too or are
> they put in the normal cycbufs?

They're written to the spool (so they're put into the normal cycbuffs) and
then feed data is handled with newsfeeds as always.

> 3. Overview. Is this necessary? If we don't include it in 'newsfeeds',
> everything seems to work all right?

If you're using the storage API under INN 2.2, overview data is always
written directly by INN, so you don't need or want overchan.

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

Re: Storage manager - overview
#43445
Author: bill davidsen
Date: Mon, 17 Jan 2000 00:00
51 lines
2744 bytes
In article <387FA2D3.B10BA882@village.uunet.be>,
Peter =?iso-8859-1?Q?Fastr=E9?=  <peter.fastre@village.uunet.be> wrote:
| I have three questions.
|
| 1. Is it possible in Linux to mount two or more partitions to 1
| directory, e.g. /news? You can do this on NT (logical volume) and they
| say you can do it on some other Unix's too (e.g. Sun). It would be very
| easy for us because we can use the traditional storage in INN instead of
| cnfs, while still using all of our diskspace (two harddisks).

  No. Nor do you need or want to. You can either create a striped "md"
device on two disks, or you can just mount partitions of both drives and
create CNFS cycbuffs on them.

| 2. We tried to use cnfs, but we encountered the following problem. When
| creating the history database (makehistory -i), we get an error 'Can't
| initialize storage manager'. We created the cycbuffers, and also the
| metacycbuffers.
| cycbuff.conf:
|     cycbuff:ALT01:/news1/buf/alt01:2000000
|     cycbuff:ALT02:/news2/buf/alt02:2000000
|     cycbuff:ALT03:/news1/buf/alt03:2000000
|     ...
|
|     metacycbuff:ALT:ALT01,ALT02,ALT03
|     metacycbuff:NOTALT:NOTALT01,NOTALT02,NOTALT03,...
|
| Am I forgetting something? We created the files with dd and they are
| owned by news.

  I believe the names have to be six (or at most seven) characters long,
and I got badly bitten by this one. NOTALT01 is too long unless that
limitation has been removed.

| We use now the traditional storage method, but with this method we can
| only use one drive.
|
| If we use cnfs, where does INN put his outgoing files (the files our
| users post)? Do we have to create files for these articles too or are
| they put in the normal cycbufs?

  All articles go in cycbuffs

| 3. Overview. Is this necessary? If we don't include it in 'newsfeeds',
| everything seems to work all right?

  You are probably using a version which writes the overview directly
from innd without a separate process.

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