Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 16:27:32 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Occassional "permission denied" in the middle of a large transfer over NFS
Message-ID:  <4FEB2664.6000300@unsane.co.uk>
In-Reply-To: <4FE62269.2030706@unsane.co.uk>
References:  <4FE62269.2030706@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
After only one off-list reply from the author of kern/136865 (see below)
after asking -questions, I thought it worth asking -CURRENT.
Basically:

I seem to have run into the problems described in this old thread.
http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/044927.html

tl:dr mountd may give incorrect permission denied errors when it is
refreshing the exports list due to non-atomic operations,  /sbin/mount has code that sends SIGHUP to
mountd on any mount operation, which implies that any manual mount
request would cause the problem.  

Currently I have still only tested on 8.3-RELEASE but the svn log doesnt
seem to mention a fix since then. I'm currently taking a VM up to
-CURRENT to test.

Looking though old PRs I see the following related.
kern/131342
kern/136865 (with patch for 7.2 and links to
http://nfse.sourceforge.net/ for -CURRENT )

Does anyone who is qualified (sadly not me) feel like looking at the
code to see if its suitable for inclusion in part/whole as not having
NFS transfers interrupted by local mount operations on the nfs server
would be very handy :)


thanks, Vince





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FEB2664.6000300>