From: Varsha Rao Date: Thu, 7 May 2020 11:57:42 +0000 (+0530) Subject: doc/cephfs-shell: Add quota command usage X-Git-Tag: v16.1.0~2371^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F34948%2Fhead;p=ceph.git doc/cephfs-shell: Add quota command usage Fixes: https://tracker.ceph.com/issues/44788 Signed-off-by: Varsha Rao --- diff --git a/doc/cephfs/cephfs-shell.rst b/doc/cephfs/cephfs-shell.rst index aed5a7ec91c6..9d8e2c488443 100644 --- a/doc/cephfs/cephfs-shell.rst +++ b/doc/cephfs/cephfs-shell.rst @@ -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