From: Andreas Dilger Date: Thu, 24 Feb 2022 22:28:43 +0000 (-0700) Subject: LUDOC-500 quota: fix the default quota usage X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F46606%2F2;p=doc%2Fmanual.git LUDOC-500 quota: fix the default quota usage The "-d" short option for "--default" was deprecated in LU-15218 in favor of "-D". This better matches "lfs setdirstripe -d" and eventually opens up the use of "-d" for "--delete" in the future. Document "--default" in the manual since this works with both old and new Lustre releases. Fixes: 3bf774f3d9a7 ("LUDOC-500 quota: fix the default quota usage") Signed-off-by: Andreas Dilger Change-Id: I7a47ad7dd1df4788335d46e98282ed1f9e101f76 Reviewed-on: https://review.whamcloud.com/46606 Tested-by: jenkins --- diff --git a/ConfiguringQuotas.xml b/ConfiguringQuotas.xml index 863cbdd..d15cd39 100644 --- a/ConfiguringQuotas.xml +++ b/ConfiguringQuotas.xml @@ -493,7 +493,7 @@ lctl get_param osd-*.*.quota_slave.limit* lfs quota [-U|--default-usr|-G|--default-grp|-P|--default-prj] /mount_point lfs setquota {-U|--default-usr|-G|--default-grp|-P|--default-prj} [-b block-softlimit] \ [-B block_hardlimit] [-i inode_softlimit] [-I inode_hardlimit] /mount_point -lfs setquota {-u|-g|-p} username|groupname -d /mount_point +lfs setquota {-u|-g|-p} username|groupname --default /mount_point To set the default user quota: @@ -521,22 +521,22 @@ lfs setquota {-u|-g|-p} username|groupname -d To set user 'bob' to use the default user quota: -# lfs setquota -u bob -d /mnt/testfs +# lfs setquota -u bob --default /mnt/testfs To set group 'bob' to use the default group quota: -# lfs setquota -g bob -d /mnt/testfs +# lfs setquota -g bob --default /mnt/testfs To set project 1000 to use the default project quota: -# lfs setquota -p 1000 -d /mnt/testfs +# lfs setquota -p 1000 --default /mnt/testfs If quota limits are set for some user, group or project, it will use those specific quota limits instead of the default quota. Quota limits for any user, group or project will use the default quota by setting its quota - limits with option '-d'. + limits with option '--default'.