You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dennis Jakobsen <br...@gmail.com> on 2018/11/07 13:05:17 UTC

Filesystem corrupt issue in repo

Hi,

I have a repo that returns no errors with 'svnadmin recover' or 
'svnadmin verify', but dumping and loading into a new repo gives me:
svnadmin: E160004: Filesystem is corrupt
svnadmin: E200014: Checksum mismatch while reading representation:
    expected:  aa2f4b4990d8a287d104dd30ddf50ab0
      actual:  9ba98374833678825028dcadcd521ece

This is a simple svnadmin dump svnrepo > repo-backup and svnadmin load 
svnrepocopy < repo-backup.

I tried filtering out the offending branch but it gives me a:
svndumpfilter: E200003: Invalid copy source path 
'/branches/bugfix-1_2/some-file-in-my-repo.txt'

System info:
svnadmin --version
svnadmin, version 1.9.7 (r1800392)
cat /proc/version
Linux version 4.15.0-38-generic (buildd@lcy01-amd64-023) (gcc version 
7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018

Hope i have a shot at fixing it, right now my dumps are not a viable 
backup solution :(

regards,
Dennis

Re: Filesystem corrupt issue in repo

Posted by Johan Corveleyn <jc...@gmail.com>.
On Wed, Nov 7, 2018 at 2:05 PM Dennis Jakobsen <br...@gmail.com> wrote:
>
> Hi,
>
> I have a repo that returns no errors with 'svnadmin recover' or
> 'svnadmin verify', but dumping and loading into a new repo gives me:
> svnadmin: E160004: Filesystem is corrupt
> svnadmin: E200014: Checksum mismatch while reading representation:
>     expected:  aa2f4b4990d8a287d104dd30ddf50ab0
>       actual:  9ba98374833678825028dcadcd521ece
>
> This is a simple svnadmin dump svnrepo > repo-backup and svnadmin load
> svnrepocopy < repo-backup.
>
> I tried filtering out the offending branch but it gives me a:
> svndumpfilter: E200003: Invalid copy source path
> '/branches/bugfix-1_2/some-file-in-my-repo.txt'
>
> System info:
> svnadmin --version
> svnadmin, version 1.9.7 (r1800392)
> cat /proc/version
> Linux version 4.15.0-38-generic (buildd@lcy01-amd64-023) (gcc version
> 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018
>
> Hope i have a shot at fixing it, right now my dumps are not a viable
> backup solution :(

This might be due to this bug in the checksum verification:

https://issues.apache.org/jira/browse/SVN-4722 (checksum fail during
commit when delta is 16K)

The fix was released in 1.9.9.

Also note that 1.10.3 and 1.11.0 have been released already. Those
should not be affected by this bug, so it might also be a good
opportunity to upgrade to these more recent releases ...

-- 
Johan