X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=LustreNodemap.xml;h=76d1ff3e1b62914f7bf2d33dde1f63bd6273f53a;hb=e096f06b81ed50da7c6f21867162f272299465ef;hp=f5ce50168ee47ac718306067736f8b6aa1301ef7;hpb=7d1f65c497503390e592ee71f95ac310f0054a16;p=doc%2Fmanual.git diff --git a/LustreNodemap.xml b/LustreNodemap.xml index f5ce501..76d1ff3 100644 --- a/LustreNodemap.xml +++ b/LustreNodemap.xml @@ -1,7 +1,7 @@ - + Mapping UIDs and GIDs with Nodemap @@ -23,6 +23,10 @@ + + + + @@ -197,7 +201,7 @@ drwxr-xr-x 3 root root 4096 Jul 23 09:02 .. If UID 11002 or GID 11001 do not exist on the Lustre MDS or MGS, create them in LDAP or other data sources, or trust clients by setting identity_upcall to NONE. For more - information, see . + information, see . Building a larger and more complex configuration is possible by iterating through the lctl commands above. In @@ -363,22 +367,60 @@ oss# lctl set_param nodemap.add_nodemap_idmap='SiteName +
+ <literal>default</literal> Nodemap + + There is a special nodemap called default. As the + name suggests, it is created by default and cannot be removed. It is like + a fallback nodemap, setting the behaviour for Lustre clients that do not + match any other nodemap. + Because of its special role, only some parameters can be set on the + default nodemap: + + + admin + + + trusted + + + squash_uid + + + squash_gid + + + fileset + + + audit_mode + + + In particular, no UID/GID mapping can be defined on the + default nodemap. + + Be careful when altering the admin and + trusted properties of the default + nodemap, especially if your Lustre servers fall into this nodemap. + + +
+
Verifying Settings - By using lctl nodemap_info all, existing - nodemap configuration is listed for easy export. This command - acts as a shortcut into the /proc interface for nodemap. - Within /proc/fs/lustre/nodemap/ on the Lustre MGS, the - file active contains a 1 if nodemap is active on the - system. Each policy group creates a directory containing the - following parameters: + By using lctl nodemap_info all, existing nodemap + configuration is listed for easy export. This command acts as a shortcut + into the configuration interface for nodemap. On the Lustre MGS, the + nodemap.active parameter contains a 1 + if nodemap is active on the system. Each policy group + creates a directory containing the following parameters: - admin and - trusted each contain a ‘1’ if the values - are set, and a ‘0’ otherwise. + admin and trusted each + contain a 1 if the values are set, and + 0 otherwise. @@ -477,3 +519,6 @@ oss# lctl set_param nodemap.add_nodemap_idmap='SiteName
+