From: Marc Vef Date: Tue, 11 Mar 2025 10:47:51 +0000 (+0100) Subject: LUDOC-548 sec: doc update for 'deny_mount' nm property X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F58365%2F2;p=doc%2Fmanual.git LUDOC-548 sec: doc update for 'deny_mount' nm property This patch updates the "Managing the Properties" section of the Lustre Operations Manual to introduce the 'deny_mount' nodemap property implemented as part of LU-18469. Signed-off-by: Marc Vef Change-Id: Ib496b84c1b4284c0933afa2ba4fdf3f4da107e8e Reviewed-on: https://review.whamcloud.com/c/doc/manual/+/58365 Tested-by: jenkins Reviewed-by: Sebastien Buisson Reviewed-by: Andreas Dilger --- diff --git a/LustreNodemap.xml b/LustreNodemap.xml index 8ea3071..2eadbf5 100644 --- a/LustreNodemap.xml +++ b/LustreNodemap.xml @@ -193,7 +193,7 @@ mgs# lctl nodemap_modify --name TrustedSystems --prop Assign a set of six idmaps to this policy group, with four for UIDs, - and two for GIDs. Pick a starting point, e.g. UID 11000, with room for + and two for GIDs. Pick a starting point, e.g. UID 11000, with room for additional UIDs and GIDs to be added as the configuration grows. Use the lctl command to set up the idmaps: @@ -318,7 +318,7 @@ drwxr-xr-x 3 root root 4096 Jul 23 09:02 .. Managing the Properties Several properties exist, off by default, which change - client behavior: admin, + client behavior: admin, trusted, map_mode, squash_uid, squash_gid, squash_projid, deny_unknown, @@ -440,6 +440,15 @@ drwxr-xr-x 3 root root 4096 Jul 23 09:02 .. explicitly specified is forbidden. And to forbid all roles, use none value. + + + The property deny_mount + controls whether nodes assigned to the nodemap are allowed to mount + new Lustre clients. By default this is allowed and the property is set + to 0. Set it to 1 to prevent nodes from establishing new client + mounts. Note that existing client mounts are not evicted and will + continue to work until a remount is attempted. + Alter values to either true (1) or false (0) on the MGS: @@ -520,7 +529,7 @@ mgs# lctl nodemap_modify --name BirdAdminSite --prope offering the file system to be mounted by clients. So far, changes have been made on the MGS. Prior to - Lustre 2.9, changes must also be manually set on MDS systems as well. + Lustre 2.9, changes must also be manually set on MDS systems as well. Also, changes must be manually deployed to OSS servers if quota is enforced, utilizing lctl set_param instead of lctl. Prior to 2.9,