Thread View: news.software.nntp
6 messages
6 total messages
Started by Jay G. Scott
Fri, 19 Sep 2003 13:55
INN--how to migrate cyclobuff to new disk
Author: Jay G. Scott
Date: Fri, 19 Sep 2003 13:55
Date: Fri, 19 Sep 2003 13:55
21 lines
1917 bytes
1917 bytes
i hope i have this right.... i've been away from news for a while. i have a news server with the articles stored in cyclic buffers. i'm about to put in some new disks, and i'd like to save my current buffers. i __may__ have enough room to enlarge the buffers, we'll see. the question is, how do i migrate the old buffers to new storage? is there a way to dump the articles to files? erg. unless there's a way to put them back in buffers.... well, i think you can see what i'm getting at. i don't remember seeing this in the manual, but if it's there, holler. (i'm behind rev on the software so that's on my list, too.) -- Jay Scott 512-835-3553 gl@arlut.utexas.edu Head of Sun Support, Sr. Operating Systems Specialist Applied Research Labs, Computer Science Div. S224 University of Texas at Austin
Re: INN--how to migrate cyclobuff to new disk
Author: Russ Allbery
Date: Fri, 19 Sep 2003 14:10
Date: Fri, 19 Sep 2003 14:10
22 lines
2078 bytes
2078 bytes
Jay G Scott <gl@arlut.utexas.edu> writes:
> i hope i have this right.... i've been away from news for a while.
> i have a news server with the articles stored in cyclic buffers. i'm
> about to put in some new disks, and i'd like to save my current buffers.
> i __may__ have enough room to enlarge the buffers, we'll see.
> the question is, how do i migrate the old buffers to new storage? is
> there a way to dump the articles to files? erg. unless there's a way
> to put them back in buffers....
There isn't really a good way to move articles between buffers easily,
unfortunately. Is there any way to keep the existing buffers as-is and
just add some new ones? Are you using files or block devices for your
buffers?
--
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: INN--how to migrate cyclobuff to new disk
Author: Klaus Ellegaard
Date: Fri, 19 Sep 2003 14:47
Date: Fri, 19 Sep 2003 14:47
38 lines
2587 bytes
2587 bytes
gl@arlut.utexas.edu (Jay G. Scott) writes: >i have a news server with the articles stored in cyclic buffers. >i'm about to put in some new disks, and i'd like to save my current >buffers. i __may__ have enough room to enlarge the buffers, we'll >see. >the question is, how do i migrate the old buffers to new storage? >is there a way to dump the articles to files? erg. unless there's >a way to put them back in buffers.... You can't move the contents of the buffers around easily. The best thing to do is copy the old buffers to the new disks. Consider possible performance issues before doing that. If keeping the buffers is not possible, use either suck or newsx to "export" the contents to (batch) files, set up new buffers on the new disks and let INN import the files. Remember to clear the history file and set "artcutoff" in inn.conf to a large enough value. Reset the "artcutoff" value afterwards. The second method obviously requires some down time for your server. If you import the old articles from files AND process incoming feeds at the same time, the overview will not be generated with articles in chronological order. If you don't want your users to notice that you have changed buffers (I.e. not have to reset their newsrc-files), set your INN to be an Xrefslave while importing the old articles. Remember to turn that feature off again before you start accepting incoming feeds. Most of this is assuming that you have a fairly simple setup. Klaus.
Re: INN--how to migrate cyclobuff to new disk
Author: Jeffrey M. Vinocur
Date: Fri, 19 Sep 2003 16:47
Date: Fri, 19 Sep 2003 16:47
14 lines
1522 bytes
1522 bytes
In article <878yok98dk.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > >There isn't really a good way to move articles between buffers easily, >unfortunately. Well, contrib/respool.c may be helpful (I've never used it). You still need some downtime to do a full `makehistory -O` run afterwards, but it might be worth trying. -- Jeffrey M. Vinocur jeff@litech.org
Re: INN--how to migrate cyclobuff to new disk
Author: Jay G. Scott
Date: Thu, 25 Sep 2003 15:30
Date: Thu, 25 Sep 2003 15:30
36 lines
2211 bytes
2211 bytes
In article <bkfbu8$s5u$2@puck.litech.org>, Jeffrey M. Vinocur <jeff@litech.org> wrote: >In article <878yok98dk.fsf@windlord.stanford.edu>, >Russ Allbery <rra@stanford.edu> wrote: >> >>There isn't really a good way to move articles between buffers easily, >>unfortunately. sorry i haven't responded--how 'bout them viruses, huh? my real problem is that i'd like to get the buffer files off the machine entirely. that is, back 'em up, repartition the disks, restore them. is that completely hopeless? > >Well, contrib/respool.c may be helpful (I've never used it). You >still need some downtime to do a full `makehistory -O` run >afterwards, but it might be worth trying. piffle--delays are no big deal compared to failures. i can run makehistory. i'll have a look at respool. j. > > >-- >Jeffrey M. Vinocur >jeff@litech.org -- Jay Scott 512-835-3553 gl@arlut.utexas.edu Head of Sun Support, Sr. Operating Systems Specialist Applied Research Labs, Computer Science Div. S224 University of Texas at Austin
Re: INN--how to migrate cyclobuff to new disk
Author: Russ Allbery
Date: Thu, 25 Sep 2003 18:20
Date: Thu, 25 Sep 2003 18:20
17 lines
1991 bytes
1991 bytes
Jay G Scott <gl@arlut.utexas.edu> writes:
> my real problem is that i'd like to get the buffer files off the
> machine entirely. that is, back 'em up, repartition the disks,
> restore them. is that completely hopeless?
Not at all. If you have another system to which you can copy the buffers,
you should be able to do exactly that. It's easier if you use files as
CNFS buffers since you can then just use rsync; if you use block devices,
you'll need to do something like piping dd into an rsh of dd on another
system.
--
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.
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