From 799f5b3af7a8b50e43d2ab3af82674e426aee6a5 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Thu, 7 May 2020 17:27:42 +0530 Subject: [PATCH] doc/cephfs-shell: Add quota command usage Fixes: https://tracker.ceph.com/issues/44788 Signed-off-by: Varsha Rao --- doc/cephfs/cephfs-shell.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/cephfs/cephfs-shell.rst b/doc/cephfs/cephfs-shell.rst index aed5a7ec91c69..9d8e2c4884436 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 -- 2.39.5