From: Cliff White Date: Mon, 12 Mar 2012 16:14:50 +0000 (-0700) Subject: Fixes root squash section to use mdt instead of mds X-Git-Tag: 2.2.0~15 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b765daa859079d7183935c022b3fc4fac344ffa2;p=doc%2Fmanual.git Fixes root squash section to use mdt instead of mds --- diff --git a/ManagingSecurity.xml b/ManagingSecurity.xml index aa76198..2c1dcaf 100644 --- a/ManagingSecurity.xml +++ b/ManagingSecurity.xml @@ -100,15 +100,15 @@ other::--- The default value for nosquash_nids is NULL, which means that root squashing applies to all clients. Setting the root squash UID and GID to 0 turns root squash off. Root squash parameters can be set when the MDT is created (mkfs.lustre --mdt). For example: mkfs.lustre --reformat --fsname=Lustre --mdt --mgs \ - --param "mds.root_squash=500:501" \ - --param "mds.nosquash_nids='0@elan1 192.168.1.[10,11]'" /dev/sda1 + --param "mdt.root_squash=500:501" \ + --param "mdt.nosquash_nids='0@elan1 192.168.1.[10,11]'" /dev/sda1 Root squash parameters can also be changed on an unmounted device with tunefs.lustre. For example: - tunefs.lustre --param "mds.root_squash=65534:65534" \ + tunefs.lustre --param "mdt.root_squash=65534:65534" \ --param "mds.nosquash_nids=192.168.0.13@tcp0" /dev/sda1 Root squash parameters can also be changed with the lctl conf_param command. For example: - lctl conf_param Lustre.mds.root_squash="1000:100" -lctl conf_param Lustre.mds.nosquash_nids="*@tcp" + lctl conf_param Lustre.mdt.root_squash="1000:100" +lctl conf_param Lustre.mdt.nosquash_nids="*@tcp" When using the lctl conf_param command, keep in mind: @@ -124,18 +124,18 @@ lctl conf_param Lustre.mds.nosquash_nids="*@tcp" The nosquash_nids list can be cleared with: - lctl conf_param Lustre.mds.nosquash_nids="NONE" + lctl conf_param Lustre.mdt.nosquash_nids="NONE" - OR - - lctl conf_param Lustre.mds.nosquash_nids="clear" + lctl conf_param Lustre.mdt.nosquash_nids="clear" If the nosquash_nids value consists of several NID ranges (e.g. 0@elan, 1@elan1), the list of NID ranges must be quoted with single (') or double ('') quotation marks. List elements must be separated with a space. For example: - mkfs.lustre ... --param "mds.nosquash_nids='0@elan1 1@elan2'" /dev/sda1 -lctl conf_param Lustre.mds.nosquash_nids="24@elan 15@elan1" + mkfs.lustre ... --param "mdt.nosquash_nids='0@elan1 1@elan2'" /dev/sda1 +lctl conf_param Lustre.mdt.nosquash_nids="24@elan 15@elan1" These are examples of incorrect syntax: - mkfs.lustre ... --param "mds.nosquash_nids=0@elan1 1@elan2" /dev/sda1 -lctl conf_param Lustre.mds.nosquash_nids=24@elan 15@elan1 + mkfs.lustre ... --param "mdt.nosquash_nids=0@elan1 1@elan2" /dev/sda1 +lctl conf_param Lustre.mdt.nosquash_nids=24@elan 15@elan1 To check root squash parameters, use the lctl get_param command: - lctl get_param mds.Lustre-MDT0000.root_squash -lctl get_param mds.Lustre-MDT000*.nosquash_nids + lctl get_param mdt.Lustre-MDT0000.root_squash +lctl get_param mdt.*.nosquash_nids An empty nosquash_nids list is reported as NONE.