From: Marc Vef Date: Tue, 11 Mar 2025 11:30:24 +0000 (+0100) Subject: LUDOC-549 sec: doc update for setting permanent nm filesets X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ae4e9984050a3230b0721b82dc2d97d0d4bdacdd;p=doc%2Fmanual.git LUDOC-549 sec: doc update for setting permanent nm filesets This patch updates the "Isolating Clients to a Sub-directory Tree" secion of the Lustre Operations Manual to update how permanent filesets are handled in Lustre 2.17 and that the use of "lctl set_param (-P)" for filesets is discouraged. "lctl nodemap_set_fileset" should be used instead (as described in LU-18357). Signed-off-by: Marc Vef Change-Id: If42bf72ababe2ac9d4e643c42ca3f0cd6c130a4a Reviewed-on: https://review.whamcloud.com/c/doc/manual/+/58367 Tested-by: jenkins Reviewed-by: Andreas Dilger --- diff --git a/ManagingSecurity.xml b/ManagingSecurity.xml index c672304..1cfb3ae 100644 --- a/ManagingSecurity.xml +++ b/ManagingSecurity.xml @@ -98,7 +98,7 @@ acl/noacl to enable or disable ACLs, respectively. You do not need to change the client configuration, and the acl string will not appear - in the client mount options in /etc/mtab. + in the client mount options in /etc/mtab. If ACLs are not enabled on the MDS, then any attempts to reference an ACL on a client return an Operation not supported @@ -126,7 +126,7 @@ drwxr-x--- 2 phil dev 4096 Feb 20 06:50 rain user::rwx group::r-x other::--- - + [phil@client lustre]$ setfacl -m user:chirag:rwx rain [phil@client lustre]$ ls -ld rain drwxrwx---+ 2 phil dev 4096 Feb 20 06:50 rain @@ -221,19 +221,24 @@ other::--- To delete the fileset parameter, just set it to an empty string: mgs# lctl nodemap_set_fileset --name tenant1 --fileset '' - -
- <indexterm><primary>Isolation</primary><secondary> - making permanent</secondary></indexterm>Making Isolation Permanent - - In order to make isolation permanent, the fileset parameter on the - nodemap has to be set with lctl set_param with the - -P option. - mgs# lctl set_param nodemap.tenant1.fileset=/dir1 -mgs# lctl set_param -P nodemap.tenant1.fileset=/dir1 - This way the fileset parameter will be stored in the Lustre config - logs, letting the servers retrieve the information after a restart. + Using lctl nodemap_set_fileset + automatically distributes the fileset to all servers and makes isolation + permanent. + + + Before Lustre 2.17, making isolation + permanent requires running lctl set_param -P on the + MGS node: + mgs# lctl set_param nodemap.tenant1.fileset=/dir1 +mgs# lctl set_param -P nodemap.tenant1.fileset=/dir1 + This stores the fileset parameter in the Lustre config logs, allowing + the servers to retrieve this information after a restart. + As of Lustre 2.17, this command is + deprecated and discouraged and only lctl + nodemap_set_fileset should be used. + +