Whamcloud - gitweb
LUDOC-460 quota: statfs functionality for project quota 12/41412/2
authorWang Shilong <wshilong@ddn.com>
Thu, 4 Feb 2021 08:33:52 +0000 (16:33 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 4 Feb 2021 10:18:51 +0000 (10:18 +0000)
Document the project quota functionality for "df"
and "lfs df" when being run on a directory with project
quota assigned. This will return the amount of space
available to that project rather the total filesystem
space, if the project quota limit is smaller.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: I33097e508fd9801be63f6aeaa8fa1c6ea586a5ea
Reviewed-on: https://review.whamcloud.com/41412
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
ConfiguringQuotas.xml

index ea6db93..3035828 100644 (file)
@@ -620,6 +620,11 @@ $ cp: writing `/mnt/testfs/foo`: Disk quota exceeded.
     <emphasis role="bold">servers may be required to use a patched kernel,
     </emphasis> for more information see
     <xref linkend="enabling_disk_quotas"/>.</para>
+    <para condition="l2E"><literal>df</literal> and <literal>lfs df</literal>
+    will return the amount of space available to that project rather than the
+    total filesystem space, if the project quota limit is smaller.
+    <emphasis role="bold"> Only client need be upgraded to Lustre
+    release 2.14 or later to apply this new behavior</emphasis>.</para>
   </section>
   <section xml:id="granted_cache_and_quota_limits">
     <title>