Skip to contentSkip to conversation

mount.nfs4 and logging

DISCUSSION Chris Hall 2 participants 2 messages Sep 20, 2020 – Sep 22, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Chris Hall

author
#1 lore raw
In reply to a message not in the archive

Steve,

Forwarded to you as suggested by Bruce Fields -- see below.

Chris

-------- Forwarded Message --------

Quoted 11 lines · Chris Hall
Quoted 10 lines · J. Bruce Fields
Quoted 8 lines · Chris Hall

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

Quoted 7 lines
Quoted 5 lines

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 [email protected], cc: [email protected], and he should pick it up.

--b.

Quoted 1 line

Chris

nfs.conf +2 -0
index 186a5b19..9bfa0302 100644
@@ -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
 #
systemd/nfs.conf.man +3 -0
index 3f1c7261..a647a29b 100644
@@ -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
utils/mount/nfsmount.conf +10 -4
index 6bdc225a..79d23caa 100644
@@ -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
utils/mount/nfsmount.conf.man +3 -0
index 3aa34564..f8dfb7d6 100644
@@ -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.
#2 lore raw
Quoted 4 lines · Chris Hall

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.

Quoted 35 lines

Chris

-------- Forwarded Message --------

Quoted 11 lines · Chris Hall
Quoted 10 lines · J. Bruce Fields
Quoted 8 lines · Chris Hall

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

Quoted 7 lines
Quoted 5 lines

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 [email protected], cc: [email protected], and he should pick it up.

--b.

Quoted 1 line

Chris