From owner-freebsd-current@FreeBSD.ORG Mon Jul 2 12:05:14 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 002D0106567E for ; Mon, 2 Jul 2012 12:05:13 +0000 (UTC) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.kpi.ua (comsys.kpi.ua [77.47.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id A074E8FC0C for ; Mon, 2 Jul 2012 12:05:13 +0000 (UTC) Received: from pm513-1.comsys.kpi.ua ([10.18.52.101] helo=pm513-1.comsys.ntu-kpi.kiev.ua) by comsys.kpi.ua with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SlfNN-0002Xa-6y; Mon, 02 Jul 2012 15:05:09 +0300 Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001) id 42E751CC2D; Mon, 2 Jul 2012 15:05:09 +0300 (EEST) Date: Mon, 2 Jul 2012 15:05:09 +0300 From: Andrey Simonenko To: Vincent Hoffman Message-ID: <20120702120509.GA24501@pm513-1.comsys.ntu-kpi.kiev.ua> References: <68594395.2439924.1341103989486.JavaMail.root@erie.cs.uoguelph.ca> <4FF030DA.8030304@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FF030DA.8030304@unsane.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Authenticated-User: simon@comsys.ntu-kpi.kiev.ua X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Exim-Version: 4.63 (build at 28-Apr-2011 07:11:12) X-Date: 2012-07-02 15:05:09 X-Connected-IP: 10.18.52.101:14672 X-Message-Linecount: 47 X-Body-Linecount: 30 X-Message-Size: 2172 X-Body-Size: 1403 Cc: Rick Macklem , freebsd-current@freebsd.org Subject: Re: Occassional "permission denied" in the middle of a large transfer over NFS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 12:05:14 -0000 On Sun, Jul 01, 2012 at 12:13:30PM +0100, Vincent Hoffman wrote: > On 01/07/2012 01:53, Rick Macklem wrote: > >>> > > I haven't looked at Andrey's patch, but conceptually it sounds like > > the best approach. As I understand it, the problem with replacing > > mountd with nfse (at least in the FreeBSD source tree) is that nfse > > is not 100% backwards compatible with /etc/exports and, as such, is > > a POLA violation. > Understood. Its far from a simple drop in replacement. List of difference between "nfse -C ..." (compatible mode with mountd) and mountd is given here: http://lists.freebsd.org/pipermail/freebsd-fs/2012-June/014554.html If we ignore absence of some obsolete options support and some command line options, the rest of differences visible to a user will occur only if one does not follow rules of exports(5) file format. The native mode of nfse (nfs.exports(5) file format) is different than the logic of mountd, just because using existent exports(5) file format it is impossible to specify export of not mounted file system, it is impossible to specify all export settings for one file system in one line, etc. Can you verify whether nfse compatible mode with mountd is really compatible with exports(5) files on your systems using instructions from this message (no installation or patching is required): http://lists.freebsd.org/pipermail/freebsd-fs/2010-May/008421.html