Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2440933pxk; Sun, 20 Sep 2020 04:16:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBebB9rg8cElCG/y3rfOIabj7Xy1w2HuyH9OQT5GPWkHG2x2YYRU5z4l+uVxsi5khE6cUr X-Received: by 2002:a17:907:37b:: with SMTP id rs27mr47359845ejb.0.1600600618992; Sun, 20 Sep 2020 04:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600600618; cv=none; d=google.com; s=arc-20160816; b=czxeMDqn2LoFbZ0OdSW3ngImZ2e1Dwotqj341OciSSg8P/bjGRTCn4GHtMxQ5fLIcb ULprERXI0joYIhPQdmzA7tndlI54Nzn8vkC2gdgzFhc917pBvfa7htkwx1SbqVqLgwLM zw3cnnPocT/N9wZp3hS3U2uyWe1QGgy2dr2Iq5OaN1dFbHJ3iXyIMB+/RfDKC0XqJtad ZGI4vhHqiHtbcCwMlo3WRP07hlqhtY/KiZxV52xEzBVx2xG0OEAl3N9iABCVT0qLd7kj qM+uRoMGzZmMNlk549tJkD7l503B9u/9NIb+WOKIIH1X3cSss7GtPI0FdGZIQ7bgZUWp yyuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:references:subject; bh=vGDSX2U5RuKSwCyLt0prK60ha0pf7ah3WmC9jVPUdRY=; b=rQhtA9AJpSt8c0XjUzMOgoNJqsjl8Tz8986Rp0A4WFa7xRTHO1UqBsnu4WyvQvW7Yt 5fSSofcobaxAntT3qfig43mxTirybn6KSSnx0JdN8uqHOuBGNJsTaXZMsqQmbLVkMuV0 C/5TFxPClkS5i6TDfz0Qx6M4BjE+e+KKNYH36FpPEHE0G+m7AcRRmwNMsPDCmGycyU+7 I2JlUE/ENly7GVnO/1k+1AwPoUpr1Q0ZArGmRqF9Lj8pM+GhX57dVbV35hiGHezxMnIM 9Vp4E03rzzlbXKYLTOjTuq1toSoXIYKCZe8vp/8Z6mgENCbqG0Y32K0ukSsWuKdrHoNI TPGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si5986175edb.37.2020.09.20.04.16.17; Sun, 20 Sep 2020 04:16:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726314AbgITLQN (ORCPT + 99 others); Sun, 20 Sep 2020 07:16:13 -0400 Received: from cerberus.halldom.com ([79.135.97.241]:56749 "EHLO cerberus.halldom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726247AbgITLQM (ORCPT ); Sun, 20 Sep 2020 07:16:12 -0400 X-Greylist: delayed 4412 seconds by postgrey-1.27 at vger.kernel.org; Sun, 20 Sep 2020 07:16:12 EDT Received: from ceres.halldom.com ([79.135.97.244]:53301) by cerberus.halldom.com with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kJwB3-00025N-Tu; Sun, 20 Sep 2020 11:02:37 +0100 Subject: Fwd: Re: mount.nfs4 and logging References: <20200919214707.GC22544@fieldses.org> To: steved@redhat.com Cc: linux-nfs@vger.kernel.org, "J. Bruce Fields" From: Chris Hall X-Forwarded-Message-Id: <20200919214707.GC22544@fieldses.org> Message-ID: <8c44e6ce-7810-bba1-8779-127938fed1ab@gmch.uk> Date: Sun, 20 Sep 2020 11:02:44 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200919214707.GC22544@fieldses.org> Content-Type: multipart/mixed; boundary="------------919966CE451F944E35489939" Content-Language: en-GB Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This is a multi-part message in MIME format. --------------919966CE451F944E35489939 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Steve, Forwarded to you as suggested by Bruce Fields -- see below. Chris -------- Forwarded Message -------- On Sat, Sep 19, 2020 at 06:49:40PM +0100, Chris Hall wrote: > On 19/09/2020 17:33, J. Bruce Fields wrote: > >On Tue, Sep 15, 2020 at 02:06:23PM +0100, Chris Hall wrote: > >>Also FWIW, I gather that this is configuration for the client-side > >>'mount' of nfs exports, *only*. I suppose it should be obvious that > >>this has absolutely nothing to do with configuring (server-side) > >>'mountd'. Speaking as a fully paid up moron-in-a-hurry, it has > >>taken me a while to work that out :-( [I suggest that the comments > >>in the .conf files and the man-page could say that nfs.conf is > >>server-side and nfsmount.conf is client-side -- just a few words, > >>for the avoidance of doubt.] > > > >That sounds sensible. If you're feeling industrious, you can > > > > git clone git://linux-nfs.org/~steved/nfs-utils > > > >and patch those files and mail us a patch.... > > Enclosed are suggested updates. Oh, great, thanks. Steve Dickson handles these, so send it to steved@redhat.com, cc: linux-nfs@vger.kernel.org, and he should pick it up. --b. > Chris --------------919966CE451F944E35489939 Content-Type: text/plain; charset=UTF-8; name="gmch-nfs-patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gmch-nfs-patch" diff --git a/nfs.conf b/nfs.conf index 186a5b19..9bfa0302 100644 --- a/nfs.conf +++ b/nfs.conf @@ -2,6 +2,8 @@ # This is a general configuration for the # NFS daemons and tools # +# Note that this is configuration for server-side NFS, only. +# [general] # pipefs-directory=/var/lib/nfs/rpc_pipefs # diff --git a/systemd/nfs.conf.man b/systemd/nfs.conf.man index 3f1c7261..a647a29b 100644 --- a/systemd/nfs.conf.man +++ b/systemd/nfs.conf.man @@ -3,6 +3,9 @@ nfs.conf \- general configuration for NFS daemons and tools .SH SYNOPSIS .I /etc/nfs.conf +.PP +Note that this is configuration for server-side NFS, only. See +nfsmount.conf for the configuration of client-side NFS. .SH DESCRIPTION .PP This file contains site-specific configuration for various NFS daemons diff --git a/utils/mount/nfsmount.conf b/utils/mount/nfsmount.conf index 6bdc225a..79d23caa 100644 --- a/utils/mount/nfsmount.conf +++ b/utils/mount/nfsmount.conf @@ -1,6 +1,8 @@ # # /etc/nfsmount.conf - see nfsmount.conf(5) for details # +# Note that this is configuration for client-side mount operations, only. +# # This is an NFS mount configuration file. This file can be broken # up into three different sections: Mount, Server and Global # @@ -115,16 +117,20 @@ # Sets all attributes times to the same time (in seconds) # actimeo=30 # -# Server Mountd port mountport +# Server Mountd port mountport - do *not* set this if *any* server +# being used only supports nfs4 # mountport=4001 # -# Server Mountd Protocol +# Server Mountd Protocol - do *not* set this if *any* server +# being used only supports nfs4 # mountproto=tcp # -# Server Mountd Version +# Server Mountd Version - do *not* set this if *any* server +# being used only supports nfs4 # mountvers=3 # -# Server Mountd Host +# Server Mountd Host - do *not* set this if *any* server +# being used only supports nfs4 # mounthost=hostname # # Server Port diff --git a/utils/mount/nfsmount.conf.man b/utils/mount/nfsmount.conf.man index 3aa34564..f8dfb7d6 100644 --- a/utils/mount/nfsmount.conf.man +++ b/utils/mount/nfsmount.conf.man @@ -5,6 +5,9 @@ nfsmount.conf - Configuration file for NFS mounts .SH SYNOPSIS Configuration file for NFS mounts that allows options to be set globally, per server or per mount point. +.PP +Note that this is configuration for client-side mount operations, +only. See nfs.conf for the configuration of server-side NFS. .SH DESCRIPTION The configuration file is made up of multiple sections followed by variables associated with that section. --------------919966CE451F944E35489939--