Thread View: news.software.nntp
7 messages
7 total messages
Started by Xavier Roche
Sat, 14 Apr 2012 07:19
Migrating a big INN timecaf/tradindexed spool ?
Author: Xavier Roche
Date: Sat, 14 Apr 2012 07:19
Date: Sat, 14 Apr 2012 07:19
15 lines
1726 bytes
1726 bytes
Hi folks! Is there a way to migrate a big INN spool (with timecaf and tradindexed overview) _without_ respooling the entire universe, and/or rebuilding the history ? The history.* files are few GB, and the spool is quite huge too, and a complete respool would take ages. Will copying files (timecaf chunks, history.* files, overview structure) "as is" cause troubles ? I remember than INN was using the inode number in the code somehow, but I don't know if this is still relevant now (the old server is running INN 2.4.3) Thanks in advance for any suggestions !
Re: Migrating a big INN timecaf/tradindexed spool ?
Author: Russ Allbery
Date: Sat, 14 Apr 2012 20:11
Date: Sat, 14 Apr 2012 20:11
28 lines
2425 bytes
2425 bytes
Xavier Roche <xroche@free.fr.NOSPAM.invalid> writes:
> Is there a way to migrate a big INN spool (with timecaf and tradindexed
> overview) _without_ respooling the entire universe, and/or rebuilding
> the history ?
> The history.* files are few GB, and the spool is quite huge too, and a
> complete respool would take ages.
You should be able to just copy the files if the new INN is the same
architecture as the old INN.
> Will copying files (timecaf chunks, history.* files, overview structure)
> "as is" cause troubles ? I remember than INN was using the inode number
> in the code somehow, but I don't know if this is still relevant now (the
> old server is running INN 2.4.3)
tradindexed uses the inode number as an optimization to avoid a reopen if
the overview file hasn't changed. It will work with inode mismatches, but
there will be a lot of warnings in the logs and it will be slower. You
can use tdx-util -R to fix the inode numbers in the indices, or just let
the first nightly expire on the new system take care of it.
--
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: Migrating a big INN timecaf/tradindexed spool ?
Author: Xavier Roche
Date: Sat, 14 Apr 2012 20:54
Date: Sat, 14 Apr 2012 20:54
19 lines
2007 bytes
2007 bytes
Le 14/04/2012 22:11, Russ Allbery a écrit : > You should be able to just copy the files if the new INN is the same > architecture as the old INN. Great! > the overview file hasn't changed. It will work with inode mismatches, but > there will be a lot of warnings in the logs and it will be slower. You > can use tdx-util -R to fix the inode numbers in the indices, or just let > the first nightly expire on the new system take care of it. Okay great - but wouldn't tdx-util -R be as slow as respooling the complete base ? (Considering that tdx-util -R will run in monothread, and a respool could be parallelized ?) [ By the way - isn't tdx-util -R restricted to tradspool ? (the man page suggests that) ] Thanks for the hints!
Re: Migrating a big INN timecaf/tradindexed spool ?
Author: Ray Banana
Date: Sat, 14 Apr 2012 21:11
Date: Sat, 14 Apr 2012 21:11
19 lines
2118 bytes
2118 bytes
Thus spake Xavier Roche <xroche@free.fr.NOSPAM.invalid> > Le 14/04/2012 22:11, Russ Allbery a écrit : >> You can use tdx-util -R to fix the inode numbers in the indices, or >> just let the first nightly expire on the new system take care of it. >> > Okay great - but wouldn't tdx-util -R be as slow as respooling the > complete base ? (Considering that tdx-util -R will run in monothread, > and a respool could be parallelized ?) > > [ By the way - isn't tdx-util -R restricted to tradspool ? (the man page > suggests that) ] I think Russ had tdx-util -F in mind and not tdx-util -R. tdx-util -F will fix the inode problem and is much faster than a rebuild. -- Time flies like an arrow, fruit flies like a Banana. http://www.eternal-september.org
Re: Migrating a big INN timecaf/tradindexed spool ?
Author: Russ Allbery
Date: Sun, 15 Apr 2012 01:24
Date: Sun, 15 Apr 2012 01:24
21 lines
2076 bytes
2076 bytes
Ray Banana <rayban@banana.shacknet.nu> writes:
> Thus spake Xavier Roche <xroche@free.fr.NOSPAM.invalid>
>> Okay great - but wouldn't tdx-util -R be as slow as respooling the
>> complete base ? (Considering that tdx-util -R will run in monothread,
>> and a respool could be parallelized ?)
>> [ By the way - isn't tdx-util -R restricted to tradspool ? (the man page
>> suggests that) ]
> I think Russ had tdx-util -F in mind and not tdx-util -R. tdx-util -F
> will fix the inode problem and is much faster than a rebuild.
Ack, yes, sorry. I knew I should have double-checked the option before
posting.
--
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: Migrating a big INN timecaf/tradindexed spool ?
Author: Xavier Roche
Date: Sun, 15 Apr 2012 09:40
Date: Sun, 15 Apr 2012 09:40
11 lines
1790 bytes
1790 bytes
Le 14/04/2012 23:11, Ray Banana a écrit : > I think Russ had tdx-util -F in mind and not tdx-util -R. tdx-util -F > will fix the inode problem and is much faster than a rebuild. Thanks -- this was indeed in the man page too, I should be more careful when reading :) By the way, is there a way to evaluate the amount of work done by tdx-util ? (even manually -- maybe by checking the overview modification timestamps ?)
Re: Migrating a big INN timecaf/tradindexed spool ?
Author: Julien ÉLIE
Date: Thu, 26 Apr 2012 18:47
Date: Thu, 26 Apr 2012 18:47
18 lines
2068 bytes
2068 bytes
Hi Xavier, > By the way, is there a way to evaluate the amount of work done by > tdx-util ? (even manually -- maybe by checking the overview modification > timestamps ?) What do you mean when you write "the amount of work done"? Isn't running "tdx-util -A" what you are looking for? It will write to stdout the changes a run of "tdx-util -F" will make. Incidentally, is your spool now migrated? No problem encountered? -- Julien ÉLIE « Quand j'étais petit, je séchais la natation. » (Philippe Geluck)
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