linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: Re: mount.nfs4 and logging
       [not found] <20200919214707.GC22544@fieldses.org>
@ 2020-09-20 10:02 ` Chris Hall
  2020-09-22 17:30   ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Hall @ 2020-09-20 10:02 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs, J. Bruce Fields

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]


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



[-- Attachment #2: gmch-nfs-patch --]
[-- Type: text/plain, Size: 2692 bytes --]

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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Fwd: Re: mount.nfs4 and logging
  2020-09-20 10:02 ` Fwd: Re: mount.nfs4 and logging Chris Hall
@ 2020-09-22 17:30   ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2020-09-22 17:30 UTC (permalink / raw)
  To: Chris Hall; +Cc: linux-nfs, J. Bruce Fields



On 9/20/20 6:02 AM, Chris Hall wrote:
> 
> Steve,
> 
> Forwarded to you as suggested by Bruce Fields -- see below.
Thanks... I've been watching the discussion.

Would you mind reposting the patch in the proper format
and proper  Signed-off-by tag?

steved.
> 
> 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
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-22 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200919214707.GC22544@fieldses.org>
2020-09-20 10:02 ` Fwd: Re: mount.nfs4 and logging Chris Hall
2020-09-22 17:30   ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).