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

Re: NFS locking rep_cache.db

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Thu, 17 Sep 2009 14:23:03 -0500

On Sep 17, 2009, at 2:08 PM, Chris Nagele wrote:

> We're trying to investigate an issue where we can't delete an SVN repo
> on NFS. We've tried many options, but no solution yet. Here is the
> error:
>
> rm: cannot remove `/storage/repo001/db/.nfs00000000013a80f200000067':
> Device or resource busy
>
> Moving a repo works fine, but rm does not. We've reviewed permissions
> and many other things. Just recently, we noticed a reference to
> "rep_cache.db" in the nfs file. I was wondering if someone could
> explain what that file is and if it could be causing the problems.

The rep_cache.db is just an sqlite database which makes checksums to
representation ids so that they can be reused by the storage system.
It can safely be deleted, with the consequence that redundant data may
be stored in the system. I don't know why it would be causing
problems, except for the fact that some open Subversion fs connection
might be holding a handle to it.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396161

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-17 21:24:02 CEST

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.