You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Luke Q Campagnola <lc...@Mines.EDU> on 2004/12/10 23:35:15 UTC

error checking out to NFS mount

I have an odd little problem; certain directories in my svn repository can
not be checked out TO an nfs-mounted directory. I am not sure what causes
this problem, but it does not happen for everything in the repository. I
haven't been able to get any help on the users list or IRC, so hopefully
somebody here will have some ideas.

Here's an example:

The /home directory on my machine (rumble) is an NFS mount. In this
example, I create a new directory and import it:

  rumble:/home/lcampagn$ mkdir test
  rumble:/home/lcampagn$ svn import test svn+ssh://seca/test

  Committed revision 124.

Now I check it back out to another location, add a file, and check it in
again:

  rumble:/home/lcampagn$ svn co svn+ssh://seca/test t
  Checked out revision 124.
  rumble:/home/lcampagn$ cd t
  rumble:/home/lcampagn/t$ touch a
  rumble:/home/lcampagn/t$ svn add a
  A         a
  rumble:/home/lcampagn/t$ svn ci
  Adding         a
  Transmitting file data .
  Committed revision 125.

So far everything seems to be working, but if I check it out again and add
a directory instead, the commit fails:

  rumble:/home/lcampagn/t$ cd ..
  rumble:/home/lcampagn$ svn co svn+ssh://seca/test t2
  A  t2/a
  Checked out revision 125.
  rumble:/home/lcampagn$ cd t2
  rumble:/home/lcampagn/t2$ mkdir b
  rumble:/home/lcampagn/t2$ svn add b
  A         b
  rumble:/home/lcampagn/t2$ svn ci
  svn: XML parser failed in '/home/lcampagn/t2'
  svn: Malformed XML: not well-formed (invalid token) at line 27

Note that this does NOT happen if I am working out of a local filesystem
such as /tmp:

  rumble:/tmp$ svn co svn+ssh://seca/test t2
  A  t2/a
  Checked out revision 125.
  rumble:/tmp$ cd t2
  rumble:/tmp/t2$ mkdir b
  rumble:/tmp/t2$ svn add b
  A         b
  rumble:/tmp/t2$ svn ci
  Adding         b

  Committed revision 126.


This problem does not only occur when I add directories to my data; I
can't find any specific trigger that causes the problem. I also have
trouble checking out directories onto NFS filesystems:

  rumble:/home/lcampagn$ svn co http://seca.thunderlab/svn/vectormath v
  A  v/DEBIAN
  A  v/DEBIAN/control
  A  v/DEBIAN/files
  svn: In directory 'v/DEBIAN'
  svn: Can't copy 'v/DEBIAN/.svn/tmp/text-base/files.svn-base' to
  'v/DEBIAN/files.tmp': No such file or directory

But again, this works fine on a local flesystem:

  rumble:/home/lcampagn$ svn co http://seca.thunderlab/svn/vectormath /tmp/v
  A  /tmp/v/DEBIAN
  A  /tmp/v/DEBIAN/control
  A  /tmp/v/DEBIAN/files
  A  /tmp/v/vectormath.h
  A  /tmp/v/vectormath.cpp
  A  /tmp/v/Makefile
  Checked out revision 127.

I have tried using both http and svn+ssh protocols, and I have also tried
using two different versions of svn (1.0.9 from Debian unstable and 1.0.6
from Ubuntu). What's even stranger to me is that I have not always had
this problem; it started recently for no particular reason (I can not
remember having changed anything that might have caused this).

Any help would be appreciated!

Luke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: error checking out to NFS mount

Posted by Max Bowsher <ma...@ukf.net>.
Luke Q Campagnola wrote:
> If I create a completely new repository, the problem is gone. Somehow, my
> existing repository got itself into a state that prevents me putting my
> working copies on an NFS mount. I suspect there is a combination of
> problems here; something strange about my NFS setup has triggered a bug in
> svn. This really seems like a bug to me, but it was rejected with no
> explanation when I submitted it to the issue tracker, so I don't really
> know what to do at this point..

The large-font "Please read" section on the issues front page explains why:

"We depend on the mailing list as a first level of filtering for our bug 
tracker. Without it, the tracker would be full of duplicate issues, 
non-issues, and unreproducible issues."

Or, more directly:

There's no point in having an issue which looks like it could quite likely 
be a quirk in some NFS software, and nothing to do with Subversion at all.

The issue tracker is supposed to be a developer to-do list. Having a todo 
item which just says (effectively) "There might be a mysterious problem" 
doesn't allow us to take any action to solve.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: error checking out to NFS mount

Posted by Luke Q Campagnola <lc...@Mines.EDU>.
If I create a completely new repository, the problem is gone. Somehow, my
existing repository got itself into a state that prevents me putting my
working copies on an NFS mount. I suspect there is a combination of
problems here; something strange about my NFS setup has triggered a bug in
svn. This really seems like a bug to me, but it was rejected with no
explanation when I submitted it to the issue tracker, so I don't really
know what to do at this point..

Luke


On Sat, 11 Dec 2004, Martin Furter wrote:

>
> Hi Luke
>
> I have most of my WC's on NFS, totally about 1.8GB, and i never had any
> problems with subversion.
>
> My NFS server is an old SuSE 6.4 box running kernel 2.4.18 and
> knfsd-991001-47. The client is Debain Sid kernel 2.4.20 and
> nfs-kernel-server 1.0.6-1.
>
> Martin
>
> On Fri, 10 Dec 2004, Luke Q Campagnola wrote:
>
> > I have an odd little problem; certain directories in my svn repository can
> > not be checked out TO an nfs-mounted directory. I am not sure what causes
> > this problem, but it does not happen for everything in the repository. I
> > haven't been able to get any help on the users list or IRC, so hopefully
> > somebody here will have some ideas.
> >
>  ....
> >
> > I have tried using both http and svn+ssh protocols, and I have also tried
> > using two different versions of svn (1.0.9 from Debian unstable and 1.0.6
> > from Ubuntu). What's even stranger to me is that I have not always had
> > this problem; it started recently for no particular reason (I can not
> > remember having changed anything that might have caused this).
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: error checking out to NFS mount

Posted by Martin Furter <mf...@rola.ch>.
Hi Luke

I have most of my WC's on NFS, totally about 1.8GB, and i never had any
problems with subversion.

My NFS server is an old SuSE 6.4 box running kernel 2.4.18 and
knfsd-991001-47. The client is Debain Sid kernel 2.4.20 and
nfs-kernel-server 1.0.6-1.

Martin

On Fri, 10 Dec 2004, Luke Q Campagnola wrote:

> I have an odd little problem; certain directories in my svn repository can
> not be checked out TO an nfs-mounted directory. I am not sure what causes
> this problem, but it does not happen for everything in the repository. I
> haven't been able to get any help on the users list or IRC, so hopefully
> somebody here will have some ideas.
> 
 ....
> 
> I have tried using both http and svn+ssh protocols, and I have also tried
> using two different versions of svn (1.0.9 from Debian unstable and 1.0.6
> from Ubuntu). What's even stranger to me is that I have not always had
> this problem; it started recently for no particular reason (I can not
> remember having changed anything that might have caused this).


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org