aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-09 13:46:26 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-09 14:22:27 -0500
commit074b1d12fe2500d7d453902f9266e6674b30d84c (patch)
treee451a00bc071af886451a3e0ab02619d2b8fab66 /Documentation/kernel-parameters.txt
parent6926afd1925a54a13684ebe05987868890665e2b (diff)
NFSv4: Change the default setting of the nfs4_disable_idmapping parameter
Now that the use of numeric uids/gids is officially sanctioned in RFC3530bis, it is time to change the default here to 'enabled'. By doing so, we ensure that NFSv4 copies the behaviour of NFSv3 when we're using the default AUTH_SYS authentication (i.e. when the client uses the numeric uids/gids as authentication tokens), so that when new files are created, they will appear to have the correct user/group. It also fixes a number of backward compatibility issues when migrating from NFSv3 to NFSv4 on a platform where the server uses different uid/gid mappings than the client. Note also that this setting has been successfully tested against servers that do not support numeric uids/gids at several Connectathon/Bakeathon events at this point, and the fall back to using string names/groups has been shown to work well in all those test cases. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt17
1 files changed, 11 insertions, 6 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 81c287fad79d..dfd21cfdf579 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1630,12 +1630,17 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
1630 The default is to return 64-bit inode numbers. 1630 The default is to return 64-bit inode numbers.
1631 1631
1632 nfs.nfs4_disable_idmapping= 1632 nfs.nfs4_disable_idmapping=
1633 [NFSv4] When set, this option disables the NFSv4 1633 [NFSv4] When set to the default of '1', this option
1634 idmapper on the client, but only if the mount 1634 ensures that both the RPC level authentication
1635 is using the 'sec=sys' security flavour. This may 1635 scheme and the NFS level operations agree to use
1636 make migration from legacy NFSv2/v3 systems easier 1636 numeric uids/gids if the mount is using the
1637 provided that the server has the appropriate support. 1637 'sec=sys' security flavour. In effect it is
1638 The default is to always enable NFSv4 idmapping. 1638 disabling idmapping, which can make migration from
1639 legacy NFSv2/v3 systems to NFSv4 easier.
1640 Servers that do not support this mode of operation
1641 will be autodetected by the client, and it will fall
1642 back to using the idmapper.
1643 To turn off this behaviour, set the value to '0'.
1639 1644
1640 nmi_debug= [KNL,AVR32,SH] Specify one or more actions to take 1645 nmi_debug= [KNL,AVR32,SH] Specify one or more actions to take
1641 when a NMI is triggered. 1646 when a NMI is triggered.