[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: File Corruption Problem

From: J Kramer <kramer.newsreader_at_gmail.com>
Date: 2007-08-02 07:38:03 CEST


Thanks so much for your helpful suggestions. Unfortunately, I left a few
details out when explaining this issue. The disk that held the repository
first became corrupt ... then failed all together. So I don't really even
have the corrupt file system. Rather, I have a backup of that system after
it became corrupt. Thus the file in question is simply empty, so no fsfs
file system tools can help :(

That's why I was probing in the direction of reconstructing the repository
using the info available. I.e. all of the good revisions plus the current
state. Basically, I wanted a way to reconstruct a valid revision
110--perhaps with the exact information gone, but one that was valid that
would allow us to move on.

We are still waiting for the off site backups so that we can hopefully get
the needed file which would make all of this moot, but not sure if the file
will be corrupt there either.

Anyway, thanks for all this help with this difficult situation.


On 8/1/07, eg <egoots@gmail.com> wrote:
> J Kramer wrote:
> > Hi Jonathan,
> >
> > Thanks so much for your help I really appreciate it. I wrote a batch
> > file (yes this is Windows) to dump the revisions. I'm not sure that I'm
> > doing it correctly, though. I've tried doing it a couple of different
> > ways. Here's an error that I'm getting:
> >
> > E:\SVN>svnadmin dump PATTRepository -r 111 --incremental 1>rep111
> > svnadmin: Can't set position pointer in file
> > 'PATTRepository\db\revs\110': An at
> > tempt was made to move the file pointer before the beginning of the
> file.
> >
> > E:\SVN>svnadmin dump PATTRepository -r 111 --deltas 1>rep111
> > svnadmin: Can't read file 'PATTRepository\db\revs\110': End of file
> found
> >
> > It looks like svnadmin dump is trying to read revision 110. Is there a
> > way to run it that won't? I thought that --deltas would?
> >
> First, I would try FsFsVerify which can be found at:
> http://www.szakmeister.net/blog/?page_id=16
> It may or may not be helpful in your case.
> If not:
> Next, read the following threads for a similar discuss / question
> http://thread.gmane.org/gmane.comp.version-control.subversion.user/67285
> It refers to some other posts in which someone was able to zero out the
> checksum to enable Dump / verify to get by.
Received on Thu Aug 2 07:36:43 2007

This is an archived mail posted to the Subversion Users mailing list.