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

Re: segfault on recover AND dump. is my repository doomed?

From: <cmpilato_at_collab.net>
Date: 2003-04-17 19:20:08 CEST

Seth Delackner <seth@jtan.com> writes:

> Though google for 'subversion db_dump' turned up nothing of any
> value, I take it I am supposed to run db_dump on each file in my
> repository, except a few, though I can't see which ones.

In the db/ subdir, these file:

   changes copies nodes representations revisions strings transactions uuids

> This worked for several of them, until 'strings', which complained
> loudly, even after running db_recover:
>
> bash-2.05a$ /usr/local/BerkeleyDB.4.1/bin/db_recover -cv
> db_recover: Finding last valid log LSN: file: 23 offset 6564
> db_recover: Recovery starting from [23][28]
> db_recover: Recovery complete at Thu Apr 17 09:53:55 2003
> db_recover: Maximum transaction ID 8000058c Recovery checkpoint [23][6564]
> db_recover: Recovery complete at Thu Apr 17 09:53:56 2003
> db_recover: Maximum transaction id 80000000 Recovery checkpoint [23][6564]
> bash-2.05a$ foo(){ /usr/local/BerkeleyDB.4.1/bin/db_dump -f bak/$1 $1; }
> bash-2.05a$ foo strings
> db_dump: page 8: illegal page type or format
> db_dump: PANIC: Invalid argument
> db_dump: fatal region error detected; run recovery
> db_dump: fatal region error detected; run recovery
> db_dump: fatal region error detected; run recovery
> db_dump: fatal region error detected; run recovery
> db_dump: DB->stat: DB_RUNRECOVERY: Fatal error, run database recovery
> db_dump: fatal region error detected; run recovery
> db_dump: close: DB_RUNRECOVERY: Fatal error, run database recovery
> db_dump: fatal region error detected; run recovery
> db_dump: dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery

Ouch. I, uh ... I have nothing positive to say about that.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 17 19:23:27 2003

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