Comment 7 for bug 403697

Revision history for this message
Martin Pool (mbp) wrote : Re: bzr stat hangs on nfs4 share

2009/11/28 Albert Cervin <email address hidden>:
> I have a nfs4 share exported (/etc/exports further down) on a server
> running karmic. When i access bazaar branches on this share from my
> client machine and do bzr stat, everything just hangs.
>
> /etc/exports line on the server
> /srv/stuff
> 192.168.0.0/255.255.255.0(rw,sync,fsid=0,crossmnt,no_subtree_check)
>
> I then mount the share with default options on a machine running karmic
> desktop edition (64-bit).
>
> Similar behaviour has been discussed here
> (https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/403697) but in that
> thread it's said that the problem goes away in karmic but that is not
> the case for me.
>
> I can also add that the problem does not occur with other Bazaar
> commands like bzr diff, or if i use NFS3.

Hi Albert,

It does sound like you're hitting the same problem as in 403697 -
running strace on the bzr client process would probably tell us for
sure, if it is hanging during an lstat call.

So you should probably just subscribe to that bug and I'll reopen it.
I suspect it is an OS bug and may not be something bzr can work
around.

It may help if you can capture a network trace showing the NFS
operations up to this point, using wireshark - if you don't know how
to do that, don't worry, and we'll let somebody from the Ubuntu bug
team help.

--
Martin <http://launchpad.net/~mbp/>