You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Koffie Yahoo <ko...@gmail.com> on 2005/08/15 08:23:22 UTC
Repository Corruption
Hi,
When I tried to commit to one of my repositories yesterday, the commit
failed with a check sum error. After getting this error I (maybe stupid enough)
ran svnadmin recover on the repository.
I'm now getting the following errors (copy-n-paste from my prompt, where
h:/dis_repro is the repository, where bla is an empty directory, and where
dis2 holds a checkout copy from before the corruption):
D:\work\bla>svn checkout file:///h:/dis_repro
svn: No transaction named '30' in filesystem 'h:/dis_repro/db'
D:\work\dis2>svn update
svn: No transaction named '30' in filesystem 'h:/dis_repro/db'
D:\work\dis2>svn commit -m"bla"
svn: Commit failed (details follow):
svn: No transaction named '30' in filesystem 'h:/dis_repro/db'
D:\work>svnadmin dump h:\dis_repro > bla.txt
* Dumped revision 0.
svn: No such string '8r'
D:\work\dis2>svn diff -r39:40 > bla.txt
svn: No such string '8r'
Looking at bit further into this, all errors seem to be related to just
one of the files in the repository, for all other I could just run svn diff
to extract all revisions. So, my question is as follows: Is it in some
way possible to salvage some (or all) of the revisions of the file
which I'm having trouble with?
I'm running the following version of subversionon Windows XP SP2:
D:\work\dis2>svn --version
svn, version 1.1.4 (r13838)
compiled Apr 3 2005, 22:02:31
Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema
Kind regards,
KY
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Repository Corruption
Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Wed, 17 Aug 2005, Koffie Yahoo wrote:
> On 8/16/05, D.J. Heap <dj...@shadyvale.net> wrote:
> > > Koffie Yahoo wrote:
> > >
> > >> Hi,
> > >>
> > >> When I tried to commit to one of my repositories yesterday, the commit
> > >> failed with a check sum error. After getting this error I (maybe stupid
> > >> enough) ran svnadmin recover on the repository.
> > >>
> > >> I'm now getting the following errors (copy-n-paste from my prompt, where
> > >> h:/dis_repro is the repository, where bla is an empty directory, and
> > >> where
> > >> dis2 holds a checkout copy from before the corruption):
> > >>
> > [snip]
> >
> > The H: drive is not a network drive/mount of some sort is it? Just in case
> > you didn't know:
> >
> > http://subversion.tigris.org/faq.html#nfs
>
> I'm aware of the nfs problem. H: is a usb memory stick. So, actually the only
> cause of the repository corruption I could think of I that I
> inadvertently removed
> the memory stick while data needed still to be written.
>
I wouldn't rely on a memory stick for a repository because I wouldn't be
very confident in the quality of such gadgets. Hope you have a good
backup.
(I don't know your particular situation; this is just a general comment.)
Regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Repository Corruption
Posted by Koffie Yahoo <ko...@gmail.com>.
On 8/16/05, D.J. Heap <dj...@shadyvale.net> wrote:
> > Koffie Yahoo wrote:
> >
> >> Hi,
> >>
> >> When I tried to commit to one of my repositories yesterday, the commit
> >> failed with a check sum error. After getting this error I (maybe stupid
> >> enough) ran svnadmin recover on the repository.
> >>
> >> I'm now getting the following errors (copy-n-paste from my prompt, where
> >> h:/dis_repro is the repository, where bla is an empty directory, and
> >> where
> >> dis2 holds a checkout copy from before the corruption):
> >>
> [snip]
>
> The H: drive is not a network drive/mount of some sort is it? Just in case
> you didn't know:
>
> http://subversion.tigris.org/faq.html#nfs
I'm aware of the nfs problem. H: is a usb memory stick. So, actually the only
cause of the repository corruption I could think of I that I
inadvertently removed
the memory stick while data needed still to be written.
Kind regards,
KY
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Repository Corruption
Posted by "D.J. Heap" <dj...@shadyvale.net>.
> Koffie Yahoo wrote:
>
>> Hi,
>>
>> When I tried to commit to one of my repositories yesterday, the commit
>> failed with a check sum error. After getting this error I (maybe stupid
>> enough) ran svnadmin recover on the repository.
>>
>> I'm now getting the following errors (copy-n-paste from my prompt, where
>> h:/dis_repro is the repository, where bla is an empty directory, and
>> where
>> dis2 holds a checkout copy from before the corruption):
>>
[snip]
The H: drive is not a network drive/mount of some sort is it? Just in case
you didn't know:
http://subversion.tigris.org/faq.html#nfs
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Repository Corruption
Posted by Max Bowsher <ma...@ukf.net>.
Koffie Yahoo wrote:
> Hi,
>
> When I tried to commit to one of my repositories yesterday, the commit
> failed with a check sum error. After getting this error I (maybe stupid
> enough) ran svnadmin recover on the repository.
>
> I'm now getting the following errors (copy-n-paste from my prompt, where
> h:/dis_repro is the repository, where bla is an empty directory, and where
> dis2 holds a checkout copy from before the corruption):
>
> D:\work\bla>svn checkout file:///h:/dis_repro
> svn: No transaction named '30' in filesystem 'h:/dis_repro/db'
>
> D:\work\dis2>svn update
> svn: No transaction named '30' in filesystem 'h:/dis_repro/db'
>
> D:\work\dis2>svn commit -m"bla"
> svn: Commit failed (details follow):
> svn: No transaction named '30' in filesystem 'h:/dis_repro/db'
>
> D:\work>svnadmin dump h:\dis_repro > bla.txt
> * Dumped revision 0.
> svn: No such string '8r'
>
> D:\work\dis2>svn diff -r39:40 > bla.txt
> svn: No such string '8r'
>
> Looking at bit further into this, all errors seem to be related to just
> one of the files in the repository, for all other I could just run svn
> diff
> to extract all revisions. So, my question is as follows: Is it in some
> way possible to salvage some (or all) of the revisions of the file
> which I'm having trouble with?
Somehow, some nasty corruption has occurred.
Salvage from this situation requires in-depth knowledge of the internal
format of the repository - if you can put a .zip file of the damaged
repository somewhere that I can download it, I will have a look and see what
I can do.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org