Thread View: news.software.nntp
6 messages
6 total messages
Started by Xavier Roche
Tue, 15 May 2007 06:15
[INN] tdx-util -F trashes the overview with "malformed overview data" message
Author: Xavier Roche
Date: Tue, 15 May 2007 06:15
Date: Tue, 15 May 2007 06:15
47 lines
3081 bytes
3081 bytes
Hi folks, I'm trying to rsync (again) a complete spool between two identical machines, and the tradindex had some problems after that (the inode reference is wrong everywhere, for an obvious reason) I.e. everything is fine (I can read articles in the spool without any trouble), but each time I access an article, I get a warning in the logs telling that the recorded inode index is buggy: tradindexed: index inode mismatch for rec.arts.anime.misc tradindexed: index inode mismatch for 84649F91EEA580A9749A328E8267AD75 tradindexed: index inode mismatch for 43A26371D155AEAAAF24467FA2B29D06 tradindexed: index inode mismatch for uk.railway tradindexed: index inode mismatch for BCE85A6BB35208E8DF3C24D6EBAC5F12 tradindexed: index inode mismatch for 46D73B194E345971979CAF8E808DD123 tradindexed: index inode mismatch for rec.arts.drwho tradindexed: index inode mismatch for E8DDA88E181D0B5A8F35D417396EDF69 tradindexed: index inode mismatch for it.discussioni.auto tradindexed: index inode mismatch for 0FBBFFF6BDACE62D983A111164805405 .. Hence, I decided to repair all inode references by running "tdx-util -F" in background (INN running normally) Unfortunately, tdx-util seems to detect some inconsistency and sequentially started to trash all groups, one by one: tdx-util: tradindexed: unable to repair foo:4170 tdx-util: tradindexed: malformed overview data for foo:4171 .. (repeated endlessly, article per article, group by group) Groups "checked" by tdx-util are after that are "empty" (all article ID's lead to "423 Bad article number" errors, even if the low/high marks are identical) What would you advise in such situation ? - re-rsync the spool and live with continuous "index inode mismatch for XX" messages ? (I can even patch INN so that the message can disappear :p) - re-check the overview with some (better) magical command - anything else ? (note: I don't want to do makehistory -O because it will take months) Thanks for any hint.
Re: [INN] tdx-util -F trashes the overview with "malformed overview data" message
Author: Jeffrey M. Vinocur
Date: Tue, 15 May 2007 08:54
Date: Tue, 15 May 2007 08:54
17 lines
1492 bytes
1492 bytes
In article <f2bj6m$itp$1@news.httrack.net>, Xavier Roche <xroche@free.fr.NOSPAM.invalid> wrote: > >I'm trying to rsync (again) a complete spool between two identical >machines, Is the goal to migrate one machine to the other? If so I think you might be much better off feeding the articles over NNTP as described in the FAQ. (No idea about your overview problem.) -- Jeffrey M. Vinocur jeff@litech.org
Re: [INN] tdx-util -F trashes the overview with "malformed overview data" message
Author: Xavier Roche
Date: Tue, 15 May 2007 09:53
Date: Tue, 15 May 2007 09:53
6 lines
1428 bytes
1428 bytes
Jeffrey M. Vinocur wrote: > If so I think you might be much better off feeding the articles > over NNTP as described in the FAQ. Yes, this is what I'll do if I can't solve the issue, but a complete refeed is *really* much longer.
Re: [INN] tdx-util -F trashes the overview with "malformed overview data" message
Author: Russ Allbery
Date: Tue, 15 May 2007 18:57
Date: Tue, 15 May 2007 18:57
31 lines
2702 bytes
2702 bytes
Xavier Roche <xroche@free.fr.NOSPAM.invalid> writes:
> Hence, I decided to repair all inode references by running "tdx-util -F"
> in background (INN running normally)
> Unfortunately, tdx-util seems to detect some inconsistency and
> sequentially started to trash all groups, one by one:
Well, tdx-util uses the exact same routines to read the overview as nnrpd
does, so if it thought your overview was trashed, it probably really was.
Are the two systems between which you're copying the overview absolutely
identical in all respects (such as word size, type size, etc.)? The
on-disk data format for overview is optimized for speed and is *not*
portable. You cannot copy tradindexed files from one system to another
and expect it to work unless the systems use the exact same sizes for
*everything*.
> - re-rsync the spool and live with continuous "index inode mismatch for
> XX" messages ? (I can even patch INN so that the message can disappear :p)
Those messages go away completely after the first nightly expire run, so
if that's the only problem, expire will fix it. However, if tdx-util
thought your overview was corrupt and couldn't recover it, I expect
nightly expire will delete it all as well.
--
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] tdx-util -F trashes the overview with "malformed overview data" message
Author: Xavier Roche
Date: Tue, 15 May 2007 19:16
Date: Tue, 15 May 2007 19:16
22 lines
2308 bytes
2308 bytes
Russ Allbery a écrit : > Well, tdx-util uses the exact same routines to read the overview as nnrpd > does, so if it thought your overview was trashed, it probably really was. But fetching of articles was clearly working fine (both ARTICLE NNN and ARTICLE <MID>) ; I just re-checked that on a group not touched by tdx-util. Humm, I'm wondering if my overview.fmt format is not the root of all evil ? (I'm only using "Xref:full" as sole overview data, as the server is only used as repository, not connected to clients) > Are the two systems between which you're copying the overview absolutely > identical in all respects (such as word size, type size, etc.)? Yes, even same filesystem. > Those messages go away completely after the first nightly expire run, so > if that's the only problem, expire will fix it. Hmm, I never run expire on this specific test server either (messages never expire, as the reposiroty is supposed to archive messages from specific groups)
Re: [INN] tdx-util -F trashes the overview with "malformed overview data" message
Author: Russ Allbery
Date: Tue, 15 May 2007 19:23
Date: Tue, 15 May 2007 19:23
27 lines
2310 bytes
2310 bytes
Xavier Roche <xroche@free.fr.NOSPAM.invalid> writes:
> Russ Allbery a écrit :
>> Well, tdx-util uses the exact same routines to read the overview as
>> nnrpd does, so if it thought your overview was trashed, it probably
>> really was.
> But fetching of articles was clearly working fine (both ARTICLE NNN and
> ARTICLE <MID>) ; I just re-checked that on a group not touched by
> tdx-util.
> Humm, I'm wondering if my overview.fmt format is not the root of all
> evil ? (I'm only using "Xref:full" as sole overview data, as the server
> is only used as repository, not connected to clients)
Oh, by sole overview data, does that mean that your overview.fmt file
contains no uncommented lines other than Xref:full?
If so, yes, that will break tdx-util horribly. Future versions of INN
will make creating that overview data mandatory unless you're not
generating overview at all.
--
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