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

Re: Newbie Using Subversion and WebSVN - Frequent DB corruption

From: Hugo Heden <heden_at_foi.se>
Date: 2004-05-17 13:37:31 CEST

On Mon, 17 May 2004, Roy Feldman wrote:

>
> I have testing out subversion 1.0.2 on a Fedora Red Hat distribution.
> I am the only user of the subversion repository and my usage is
> definitely light.
>
> Nevertheless, I am getting frequent DB corruption, approximately once a
> day for the last week. Sometimes it happens when I try to commit,
> sometimes it happens when I invoke WebSVN and it invokes a svnlook
> command.

Just checking, you're not storing the repository on an NFS-server, are
you? Use the local file system.

From the FAQ:

---
Should I store my repository on a NFS server?
No, don't ever do that. Berkeley DB does not support storage of
databases on remote file systems. Some NFS servers claim that they
explicitly support use of BDB on NFS-mounted partitions, but we've
only ever seen BDB databases get corrupted when living on an NFS or
SMB network drive.
A working copy, however, can be stored on a NFS server (i.e. your home
directory is on a NFS server). On Linux NFS servers, due to the volume
of renames used internally in Subversion when checking out files, some
users have reported that 'subtree checking' should be disabled (it's
enabled by default). Please see NFS Howto Server Guide and exports(5)
for more information on how to disable subtree checking.
---
Regards 
Hugo Heden
> 
> The ominous error message is always the same:
> 
> svn: Berkeley DB error while opening environment for filesystem
> /usr/local/svn-repos/db:
> DB_RUNRECOVERY: Fatal error, run database recovery
> 
> I would like to use subversion for an upcoming project, but if I keep
> getting these errors I will have to fall back on CVS.
> 
> 
> 
> Here are the packages I have installed and their versions
> - subversion		1.0.2
> - subversion-devel	
> - subversion-python
> - subversion-tools
> - db42			4.2.52
> - db42-devel
> - db42-utils
> - apr			0.9.5
> - apr-util
> - apr-devel
> - apr-util-devel
> 
> 
> Any help would be appreciated.
> 
> cheers,
> 
> roy
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 17 13:38:10 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.