Thread View: news.software.nntp
10 messages
10 total messages
Started by Peter Fastré
Fri, 03 Mar 2000 00:00
INN - short on disk space
Author: Peter Fastré
Date: Fri, 03 Mar 2000 00:00
Date: Fri, 03 Mar 2000 00:00
15 lines
1417 bytes
1417 bytes
I'm using INN now with 1 18GB-drive, and we carry only the text-groups (no binaries). This disk is almost full, so we want to add another hard drive. We are using the traditional storage method. The second hard drive would have mountpoint /news2, and the first harddrive (the 18GB) has /news1. How can I span my article spool over these two drives? Maybe there is some way to mount two drives to the same directory? (I'm using Redhat Linux 6.0) I know it can be done with the CNFS-method. But can I switch to this method without throwing away all my articles? Thanks Peter Fastr�
Re: INN - short on disk space
Author: Russ Allbery
Date: Fri, 03 Mar 2000 00:00
Date: Fri, 03 Mar 2000 00:00
16 lines
1296 bytes
1296 bytes
Felix Kronlage <felix@mad.hazardous.org> writes: > Just use symlinks to link to /var/spool/news > Just an example... > First stop innd, then move parts of your newsspool, e.g. the ../news/, > ../comp/ directories completly to the other harddrive (in your case > mounted on /news2) into the directories /news2/news/ and /news2/comp/ > and link these to /var/spool/news/articles (ln -s /news2/comp/ > /var/spool/news/articles/comp). Make sure you add the -l flag to your expire flags if you do this. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN - short on disk space
Author: Felix Kronlage
Date: Fri, 03 Mar 2000 00:00
Date: Fri, 03 Mar 2000 00:00
26 lines
1988 bytes
1988 bytes
On Fri, 03 Mar 2000 12:06:56 +0100, Peter Fastr�
<peter.fastre@village.uunet.be> wrote:
>We are using the traditional storage method. The second hard drive
>would have mountpoint /news2, and the first harddrive (the 18GB) has
>/news1. How can I span my article spool over these two drives? Maybe
>there is some way to mount two drives to the same directory? (I'm using
>Redhat Linux 6.0)
Just use symlinks to link to /var/spool/news
Just an example...
First stop innd, then move parts of your newsspool, e.g. the ../news/,
../comp/ directories completly to the other harddrive (in your case
mounted on /news2) into the directories /news2/news/ and /news2/comp/
and link these to /var/spool/news/articles (ln -s /news2/comp/
/var/spool/news/articles/comp).
should work.
-fk
--
Why does the dog wag it's tail? Because he is smarter than his tail.
If the tail would be smarter, it would wag the dog. (from: Wag the Dog)
07 C7 6A 59 A1 9C FF 5E ED E8 7F 94 A7 0D 9E BB (pgp)
http://www.hazardous.org/
Re: INN - short on disk space
Author: Kjetil Torgrim Homme
Date: Mon, 06 Mar 2000 00:00
Date: Mon, 06 Mar 2000 00:00
25 lines
1677 bytes
1677 bytes
[Peter Fastr�] > I'm using INN now with 1 18GB-drive, and we carry only the > text-groups (no binaries). This disk is almost full, so we want to > add another hard drive. We are using the traditional storage > method. The second hard drive would have mountpoint /news2, and > the first harddrive (the 18GB) has /news1. How can I span my > article spool over these two drives? Maybe there is some way to > mount two drives to the same directory? (I'm using Redhat Linux > 6.0) You can use md, which is software RAID. The disadvantage is that the whole spool is gone if one of the disks fail. CNFS is better in that regard. > I know it can be done with the CNFS-method. But can I switch to > this method without throwing away all my articles? Yes, but you really need to have a spare disk during the conversion. makehistory will do it for you, look at the manual page. Kjetil T.
Re: INN - short on disk space
Author: Felix Kronlage
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
11 lines
1366 bytes
1366 bytes
On Wed, 08 Mar 2000 13:46:17 +0100, Peter Fastr� <982623pf@hogent.be> wrote: >Ok, I will do this, but where? Not in inn.conf, expire.ctl, ... I have been >looking in the manpages for expire and I know now what this option will do, >but I still don't know how to set this option. Take a look at the news.daily script :-) -fk
Re: INN - short on disk space
Author: Peter Fastré
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
13 lines
1280 bytes
1280 bytes
> Make sure you add the -l flag to your expire flags if you do this. Ok, I will do this, but where? Not in inn.conf, expire.ctl, ... I have been looking in the manpages for expire and I know now what this option will do, but I still don't know how to set this option. Could you give me some clarity? Peter
Re: INN - short on disk space
Author: Russ Allbery
Date: Wed, 08 Mar 2000 00:00
Date: Wed, 08 Mar 2000 00:00
17 lines
1356 bytes
1356 bytes
Peter Fastr� <982623pf@hogent.be> writes:
> Ok, I will do this, but where? Not in inn.conf, expire.ctl, ... I have
> been looking in the manpages for expire and I know now what this option
> will do, but I still don't know how to set this option.
The easiest way is to change your news.daily cron job to read:
news.daily [... other options ...] expflags="-v1 -l"
You can find the current value of the flags by reading the news.daily
script.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: INN - short on disk space
Author: bill davidsen
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
32 lines
2036 bytes
2036 bytes
In article <slrn8bvag8.mhm.felix@mad.hazardous.org>, Felix Kronlage <felix@mad.hazardous.org> wrote: | Just use symlinks to link to /var/spool/news | Just an example... | First stop innd, then move parts of your newsspool, e.g. the ../news/, | ../comp/ directories completly to the other harddrive (in your case | mounted on /news2) into the directories /news2/news/ and /news2/comp/ | and link these to /var/spool/news/articles (ln -s /news2/comp/ | /var/spool/news/articles/comp). | | should work. Use care, there are some things you have to do if you use symlinks. For long term ease of admin you probably don't want to do this. The better way is to do a hard mount of the new drive using a dummy name, and copy something like comp there, then remount the drive as comp. Test with feeds off, then unmount and clear out the old hierarchy before remount. You really want to use either CNFS, or if you must use traditional, use the software RAID to stripe the filesystem over both drives. That works. -- 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: INN - short on disk space
Author: bill davidsen
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
32 lines
1935 bytes
1935 bytes
In article <1rya7v9097.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: | > I know it can be done with the CNFS-method. But can I switch to | > this method without throwing away all my articles? | | Yes, but you really need to have a spare disk during the conversion. | makehistory will do it for you, look at the manual page. I never had the guts to try that, but he has the disk he needs. Consider these steps: - the data are in traditional store on drive A - mount drive B as /cnfs/sp01 - create cycbuffs on B, and the matching storage and cycbuff configs - use makehistory to move the data from traditional to the CNFS storage on B - delete the files on A and create more cycbuffs Did I miss anything, guys? I didn't mention this because I thought he wanted to stay with traditional. I don't think it works very well, but he knows his needs far better than I do. -- 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: INN - short on disk space
Author: Peter Fastré
Date: Fri, 10 Mar 2000 00:00
Date: Fri, 10 Mar 2000 00:00
16 lines
1477 bytes
1477 bytes
> The easiest way is to change your news.daily cron job to read: > > news.daily [... other options ...] expflags="-v1 -l" > > You can find the current value of the flags by reading the news.daily > script. Thanks, I knew it was with news.daily, but was not sure how to specify the options, with or without the - before the l (maybe this sounds stupid to you, but I don't want to make fatal mistakes on our running system) Peter
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