Whamcloud - gitweb
LUDOC-521 pcc: fix mistake in example 80/53180/3
authorLei Feng <flei@whamcloud.com>
Mon, 20 Nov 2023 00:52:47 +0000 (08:52 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 20 Nov 2023 04:33:46 +0000 (04:33 +0000)
The value of uid in pcc param should be embranced in {}.

Signed-off-by: Lei Feng <flei@whamcloud.com>
Change-Id: Ie7fbf69790490681569e55461d9d38b026158ce9
Reviewed-on: https://review.whamcloud.com/c/doc/manual/+/53180
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
PersistentClientCache.xml

index 2c40419..5818868 100755 (executable)
@@ -171,7 +171,7 @@ mdt.lustre-MDT0000.hsm_control=enabled</screen>
       <screen>client# lhsmtool_posix --daemon --hsm-root <replaceable>$PCCPATH</replaceable> --archive=<replaceable>$ARCHIVE_ID</replaceable> <replaceable>$LUSTREPATH</replaceable></screen>
       <para><emphasis role="strong">Examples:</emphasis></para>
       <para>The following command adds a PCC backend on a client:</para>
-      <screen>client# lctl pcc add /mnt/lustre /mnt/pcc  --param "projid={500,1000}&amp;fname={*.h5},uid=1001 rwid=2"</screen>
+      <screen>client# lctl pcc add /mnt/lustre /mnt/pcc  --param "projid={500,1000}&amp;fname={*.h5},uid={1001} rwid=2"</screen>
       <para>The first substring of the config parameter is the auto-cache rule,
         where "&amp;" represents the logical AND operator while "," represents
         the logical OR operator. The example rule means that new files are only