Discussions  >  CollabNet Subversion Admins  >  Corrup revision file and db file "svnadmin: malformed file"

Back to topic list

Corrup revision file and db file "svnadmin: malformed file"

Author flakrat
Full name Mike Hanby
Date 2009-07-13 08:50:02 PDT
Message Howdy,

We had file system issue apparently while a commit was in progress that resulted in a corrupted revision. The file system pukes whenever I attempt to do anything with the rev and db files for revision 890. An fsck stated that it could not be recovered and was removed.

Subsequent commits worked fine and produced valid revisions. We didn't notice the corrupted revision until later in the day, at which time there were 40 or so additional revisions.

Our latest hot copy and dump are as of revision 889. The corrupted revision is 890.

We aren't worried about recovering the 890 revision, but we do need to later commits.

Does anyone have any suggestions on how to get the repository to essentially ignore revision 890 so that we can perform hotcopies, dumps and checkouts again?

If I attempt to dump the repo, it gets to 889 and then halts on 890 as you'd expect. If I attempt to dumpt 891:HEAD, it fails because of the corrupted revision / missing files.

I've read where one person suggested creating a zero'd out revision for 890, can anyone provide the steps to create the file? I have the repo on a test machine so I can test any suggestions without messing with the production repo.

Thanks for any insight.

« Previous message in topic | 1 of 5 | Next message in topic »

Messages

Show all messages in topic

Corrup revision file and db file "svnadmin: malformed file" flakrat Mike Hanby 2009-07-13 08:50:02 PDT
     Re: Corrup revision file and db file "svnadmin: malformed file" markphip Mark Phippard 2009-07-13 08:52:44 PDT
         RE: Re: Corrup revision file and db file "svnadmin: malformed file" flakrat Mike Hanby 2009-07-13 09:08:39 PDT
             Re: Corrup revision file and db file "svnadmin: malformed file" markphip Mark Phippard 2009-07-13 10:25:54 PDT
                 RE: Re: Corrup revision file and db file "svnadmin: malformed file" flakrat Mike Hanby 2009-07-13 15:56:45 PDT
Messages per page: