]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs-shell: Add quota command usage 34948/head
authorVarsha Rao <varao@redhat.com>
Thu, 7 May 2020 11:57:42 +0000 (17:27 +0530)
committerVarsha Rao <varao@redhat.com>
Fri, 8 May 2020 14:37:26 +0000 (20:07 +0530)
Fixes: https://tracker.ceph.com/issues/44788
Signed-off-by: Varsha Rao <varao@redhat.com>
doc/cephfs/cephfs-shell.rst

index aed5a7ec91c692f57a60aded0526cd0de53623c8..9d8e2c48844365ac548540af2bea13327454effc 100644 (file)
@@ -471,3 +471,24 @@ Options:
   -h, --help   Shows the help message
 
   -r     Recursive Disk usage of all directories
+
+
+quota
+-----
+
+Quota management for a Directory
+
+Usage :
+
+    quota [-h] [--max_bytes [MAX_BYTES]] [--max_files [MAX_FILES]] {get,set} path
+
+* {get,set} - quota operation type.
+
+* path - name of the directory.
+
+Options :
+  -h, --help   Shows the help message
+
+  --max_bytes MAX_BYTES    Set max cumulative size of the data under this directory
+
+  --max_files MAX_FILES    Set total number of files under this directory tree