🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by BadBoo Thu, 21 Oct 1999 00:00
How do I span /var/spool/news across many HD's?
#41022
Author: BadBoo
Date: Thu, 21 Oct 1999 00:00
36 lines
1951 bytes
I would like to stick in a couple more large hard drives so I can quite
expiring news every three days. Is their a way I can modify fstab or
something so that I can plunk in one or two more 20 GB or larger drives
but still have them all span the same directory?

Here is the relevant part of my fstab:

/dev/hdc5      /var/spool/news

If it is kosher to do such a thing, I would like it to be like:

/dev/hdc5      /var/spool/news
/dev/hdc6      /var/spool/news
/dev/hdc7      /var/spool/news


Even if that syntax is wrong, I hope it conveys my intent. I would
like /var/spool/news to span two or three seperate drives so I can quit
running out of HD space every night. I currently expire twice a day,
and expire all articles within 3 days. I have my newsfeed filtering
some of the larger groups, but must maintain all binaries as for some
unknown reason seems to be what our users hit the most. (Is it the
mp3's or the wild life photo's?)

Email would be great, as I said, all my email expires in three days,
and I'd sure hate to miss the answer if I got real busy over the next
couple of days.

Bruce D. Meyer



Sent via Deja.com http://www.deja.com/
Before you buy.

Re: How do I span /var/spool/news across many HD's?
#41031
Author: Kjetil Torgrim Homme
Date: Thu, 21 Oct 1999 00:00
31 lines
1879 bytes
[bdmeyer@my-deja.com]

>   I would like to stick in a couple more large hard drives so I can
>   quite expiring news every three days. Is their a way I can modify
>   fstab or something so that I can plunk in one or two more 20 GB or
>   larger drives but still have them all span the same directory?
>   
>   Here is the relevant part of my fstab:
>   
>   /dev/hdc5      /var/spool/news
>   
>   If it is kosher to do such a thing, I would like it to be like:
>   
>   /dev/hdc5      /var/spool/news
>   /dev/hdc6      /var/spool/news
>   /dev/hdc7      /var/spool/news

Guessing from /dev/hdc?, you are using Linux.  (Note that /dev/hdc6
and /dev/hdc7 are two partitions on the same disk, you probably need
to add a standalone IDE-controller to your server, ABIT (HotRod/66) or
Promise.  The latter is safer, since the former requires a bleeding
edge Linux kernel.)

You can use the MD kernel driver to make several disks appear as one.
However, I think it would be better to use CNFS for storage (if you
are using INN 2.2.1, you forgot to mention this as well :-)


Kjetil T.

Re: How do I span /var/spool/news across many HD's?
#41044
Author: BadBoo
Date: Fri, 22 Oct 1999 00:00
36 lines
2040 bytes
>
> Guessing from /dev/hdc?, you are using Linux.  (Note that /dev/hdc6
> and /dev/hdc7 are two partitions on the same disk, you probably need
> to add a standalone IDE-controller to your server, ABIT (HotRod/66) or
> Promise.  The latter is safer, since the former requires a bleeding
> edge Linux kernel.)

Yes, I am using Linux RH 6.0 Why do you recommend the standalone
controller? I still have two more available ide channels. Is that
because I may saturate the controller with 4 IDE devices of which two
or three are constantly being used, or is their another reason. It is
on a nice Asus Motherboard.




> You can use the MD kernel driver to make several disks appear as one.
> However, I think it would be better to use CNFS for storage (if you
> are using INN 2.2.1, you forgot to mention this as well :-)
>

I am using INN2.2.3 I believe. I am unaware of what CNFS is, is that a
different form of NFS? I'll have to break out the man page for that
one.

I will read up on what MD is and does also. I would certainly like to
understand what I am getting ready to jump into.

Thanks for you help, I appreciate it.


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: How do I span /var/spool/news across many HD's?
#41055
Author: bill davidsen
Date: Fri, 22 Oct 1999 00:00
29 lines
2178 bytes
In article <7unsud$jcs$1@nnrp1.deja.com>, BadBoo  <bdmeyer@my-deja.com> wrote:
| I would like to stick in a couple more large hard drives so I can quite
| expiring news every three days. Is their a way I can modify fstab or
| something so that I can plunk in one or two more 20 GB or larger drives
| but still have them all span the same directory?

| Even if that syntax is wrong, I hope it conveys my intent. I would
| like /var/spool/news to span two or three seperate drives so I can quit
| running out of HD space every night. I currently expire twice a day,
| and expire all articles within 3 days. I have my newsfeed filtering
| some of the larger groups, but must maintain all binaries as for some
| unknown reason seems to be what our users hit the most. (Is it the
| mp3's or the wild life photo's?)

  Since you didn't say what news or operating system you use, I can only
offer that most system require use of RAID-0 to stripe. This is built in
to some systems, like AIX and Linux, add-on for others, and requires
hardware for still others.

  And if you run a recent INN you should change to CNFS and let the
application handle the disk space and load balancing.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: How do I span /var/spool/news across many HD's?
#41093
Author: Konrad Neitzel
Date: Mon, 25 Oct 1999 00:00
37 lines
2079 bytes
> | I would like to stick in a couple more large hard drives so I can quite
> | expiring news every three days. Is their a way I can modify fstab or
> | something so that I can plunk in one or two more 20 GB or larger drives

Hmm - just something we did:

We just uses spool1 / spool2 / spool3 as mount points for our drives.
And spool/articles/* was symbolic links to another hard drive. And same
for overview/*!
This works fine for inn 1.4 on a Ultrix 4.4 DECstation 5100 (?? I am not
sure - we got a sparc for our news server for a long time now :-)) ).

And I think that it was not to bad to store overview, articles and
history
on different hard disks.

And another point:
Why do you want to expire only every 3 days? I expire more then once per
day (because I am short of space - got only a 12 GB Raid System!)

If you really have enough room for news - maybe that does not matter.
But if you want to keep as much news as you can than more expires will
do a good work! (The difference between the state before expire runs and
after it runs is really high!).

Just my thought - i would like to hear your opinion to this...

Greetings,

Konrad Neitzel



 Sent via Deja.com http://www.deja.com/
 Before you buy.

Re: How do I span /var/spool/news across many HD's?
#41105
Author: bill davidsen
Date: Mon, 25 Oct 1999 00:00
28 lines
2086 bytes
In article <7uqgtc$enc$1@nnrp1.deja.com>, BadBoo  <bdmeyer@my-deja.com> wrote:
| 
| >
| > Guessing from /dev/hdc?, you are using Linux.  (Note that /dev/hdc6
| > and /dev/hdc7 are two partitions on the same disk, you probably need
| > to add a standalone IDE-controller to your server, ABIT (HotRod/66) or
| > Promise.  The latter is safer, since the former requires a bleeding
| > edge Linux kernel.)
| 
| Yes, I am using Linux RH 6.0 Why do you recommend the standalone
| controller? I still have two more available ide channels. Is that
| because I may saturate the controller with 4 IDE devices of which two
| or three are constantly being used, or is their another reason. It is
| on a nice Asus Motherboard.

  You have as many channels as you have cables, my guess is two. Unlike
SCSI which supports overlapping i/o, reconnect, etc, EIDE doesn't allow
anywhere near optimal use of more than one device per string. And the
channels you have are probably only 33 Mbit, while the Promise will give
you 66 capability.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.s

Re: How do I span /var/spool/news across many HD's?
#41129
Author: Bruce D. Meyer
Date: Tue, 26 Oct 1999 00:00
78 lines
4209 bytes
Well, because I don't know what I am doing for starters!  ;-)
I want to keep about a week of binaries online at all times. I also want to
keep about a month of normal text files (like say this newsgroup) so people
can research problems and discussions for quite some time. If the news
article is moderated or has expire headers, then I will honor the expire
headers.  The problem is, people look for an article, two or three days
later, and it is already gone. I had considered modifying the mount points
for various binaries to their own hard drives, and putting all the text
newsgroups to a separate hard drive. I read in a book on INN, that placing
various hierarchies on different hard drives can cause problems if the
various overview, or some database file tries to perform a non symbolic
directory change. (like cd ../../) and it will be in the wrong place. I may
not be wording this correctly, but it was something along that lines. Well,
not just in the wrong place but the wrong drive. I don't claim to understand
why the OS (Linux) can't handle that, but defer to the experience of
O'Reilly's authors that wrote the book. I will be happy to try and find that
sentence again, if anyone disagrees or just want to see it verbatim.

I think I may not have expressed myself clearly, or you didn;'t understand
me on the expiring. let me rephrase it:

I expire twice a day. But My expire.ctl says to expire ALL binaries in three
days. So it ignored the expire headers, and forces ALL binaries that are
three days old to be deleted. I perform this twice a day, and it seems to
catch articles that are 2.5 days old in the morning, 12 hours later and then
they are 3 days old, and removed. Without this my 20 GB hard drive would
fill up in about 12 hours.  I go twice daily from 38% to 89-9x% (result of
df)

Holler loudly.

Bruce



Konrad Neitzel <neitzel@neitzel.de> wrote in message
news:381490EB.C087002C@neitzel.de...
> > | I would like to stick in a couple more large hard drives so I can
quite
> > | expiring news every three days. Is their a way I can modify fstab or
> > | something so that I can plunk in one or two more 20 GB or larger
drives
>
> Hmm - just something we did:
>
> We just uses spool1 / spool2 / spool3 as mount points for our drives.
> And spool/articles/* was symbolic links to another hard drive. And same
> for overview/*!
> This works fine for inn 1.4 on a Ultrix 4.4 DECstation 5100 (?? I am not
> sure - we got a sparc for our news server for a long time now :-)) ).
>
> And I think that it was not to bad to store overview, articles and
> history
> on different hard disks.
>
> And another point:
> Why do you want to expire only every 3 days? I expire more then once per
> day (because I am short of space - got only a 12 GB Raid System!)
>
> If you really have enough room for news - maybe that does not matter.
> But if you want to keep as much news as you can than more expires will
> do a good work! (The difference between the state before expire runs and
> after it runs is really high!).
>
> Just my thought - i would like to hear your opinion to this...
>
> Greetings,
>
> Konrad Neitzel
>
>
>
>  Sent via Deja.com http://www.deja.com/
>  Before you buy.



Re: How do I span /var/spool/news across many HD's?
#41145
Author: bill davidsen
Date: Wed, 27 Oct 1999 00:00
37 lines
2854 bytes
In article <7v5n0h$m8d$1@news.rocsoft.net>,
Bruce D. Meyer <bmeyer@rocsoft.net> wrote:
| Well, because I don't know what I am doing for starters!  ;-)

|                             I had considered modifying the mount points
| for various binaries to their own hard drives, and putting all the text
| newsgroups to a separate hard drive. I read in a book on INN, that placing
| various hierarchies on different hard drives can cause problems if the
| various overview, or some database file tries to perform a non symbolic
| directory change. (like cd ../../) and it will be in the wrong place. I may
| not be wording this correctly, but it was something along that lines. Well,
| not just in the wrong place but the wrong drive. I don't claim to understand
| why the OS (Linux) can't handle that, but defer to the experience of
| O'Reilly's authors that wrote the book. I will be happy to try and find that
| sentence again, if anyone disagrees or just want to see it verbatim.

  The problem with mounts is due to symbolic links, and is not inherent
to your o/s or INN. If you mount another drive as
/var/spool/news/alt/binaries or some such, it will work fine. If you
have space in /bigtmp and make a symbolic link to a directory there,
like "ln -s /bigtmp/altbin /var/spool/news/alt/binaries, that doesn't
work as well. There are some extra flags and things you can use to make
it work, but there is an unavoidable overhead.

  Other than that it should be fine. If you are going to take all
binaries you really want to go to a recent INN and CNFS storage for
performance. Figure 40-60GB/day depending on your filters, your
newsgroup selection, and you max article size. I've got mine down to
~20GB/day, and I plan to keep it there.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: How do I span /var/spool/news across many HD's?
#41157
Author: BadBoo
Date: Wed, 27 Oct 1999 00:00
87 lines
4436 bytes
I will have to dig deeper on CNFS. I did a man for it, but nothing
returned. I will assume I am using traditional spool then.

No, I didn't realize It would take 350 GB. Wow!  I had my feed filter
out bainairies, as it seemed to be a typo that duped binaries. I am
filtering stuff like alt.hipcrime as it seems like copycat for
pre-existing newsgroups. The rate that hipcrime is newgrouping make me
think that no one is controlling the news group creation process for
that hierarchy. I do a list of all the sub dirs, and sort them by size,
then filter the most boneheaded ones that take up lot's of space but
none of our users appear to ever request.  If someone ever requests a
newsgroup, I'll unfilter it happily. I agree that it's a tough job
trying to figure out what are real and used newsgroups and what are
just pure crosspost reservoirs.  Frankly, books could (and should!) be
written about news group moderation and news maintinaing. (I have one
from O'Reilly) but it has taught me that you could right several more
on news before it is well understood. I almost feel like news has
gotten out of hand. Then again, I may just not understand...

What would be nice, is someone maintaining a list of mutually approved
newsgroups voted on by a bunch of bonafide news admins, and then
downloading that updated newsgroup and active file for actual usage. I
would contribute to the creation of something like that. (Heck, it's
only 41000 groups to edit, one at a time!)  ;-)

Bruce


In article <ylln8p4jq3.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> Bruce D Meyer <bmeyer@rocsoft.net> writes:
>
> > I want to keep about a week of binaries online at all times.
>
> You're already aware that currently this will take ~350GB of disk
space,
> right?  At least if you're carrying all binary groups.  (I think
there are
> a lot of them that aren't worth carrying, but that's just my opinion.)
>
> > I also want to keep about a month of normal text files (like say
this
> > newsgroup) so people can research problems and discussions for quite
> > some time. If the news article is moderated or has expire headers,
then
> > I will honor the expire headers.  The problem is, people look for an
> > article, two or three days later, and it is already gone.
>
> Yeah, you want to keep text groups for longer than that (I only keep
them
> for 21 days, since more than that in my opinion results in too many
> articles sticking around in a lot of groups for people just starting
to
> read those groups).
>
> > I had considered modifying the mount points for various binaries to
> > their own hard drives, and putting all the text newsgroups to a
separate
> > hard drive.
>
> You shouldn't have to do that to give them separate expire times.
Are you
> using traditional spool or CNFS?  I'm assuming traditional spool.
>
> > I read in a book on INN, that placing various hierarchies on
different
> > hard drives can cause problems if the various overview, or some
database
> > file tries to perform a non symbolic directory change.
>
> If you give INN the correct flags, it handles it fine.  It's mostly
expire
> that has to do things differently, and the change is just to make
sure you
> pass -l to expire.  The flags='-v1 -l' option to news.daily will do
this.
>
> --
> Russ Allbery (rra@stanford.edu)
<URL:http://www.eyrie.org/~eagle/>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: How do I span /var/spool/news across many HD's?
#41164
Author: Andrew Gierth
Date: Wed, 27 Oct 1999 00:00
14 lines
1321 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:

 > Bruce D Meyer <bmeyer@rocsoft.net> writes:
 >> I want to keep about a week of binaries online at all times.

 Russ> You're already aware that currently this will take ~350GB of
 Russ> disk space,

More like 450GB+, and growing all the time.

-- 
Andrew.

Re: How do I span /var/spool/news across many HD's?
#41179
Author: Simon Lyall
Date: Thu, 28 Oct 1999 00:00
15 lines
1382 bytes
Russ Allbery <rra@stanford.edu> wrote:
>Well, this does exist in one form or another for pretty much every
>newsgroup hierarchy except alt.* (and a few other ones that aren't
>particularly important).

A checkgroups for alt.* turns up in my mailbox every month or so. I had a
look at it but it has far to many joke groups in it so I didn't bother
checking further.

-- 
Simon J. Lyall  |  Very Busy  |  Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention."  |  MT.


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