From: Hongchao Zhang Date: Fri, 7 Jan 2022 09:22:12 +0000 (+0800) Subject: LUDOC-500 quota: fix the default quota usage X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F45996%2F2;p=doc%2Fmanual.git LUDOC-500 quota: fix the default quota usage Setting quota limits as "0" is to remove quota limits, option "-d" should be used to set the quota ID to use default quota. Change-Id: I39f3933ee8658f6f7a4b1d754e09dc22a5d2addb Signed-off-by: Hongchao Zhang Reviewed-on: https://review.whamcloud.com/45996 Tested-by: jenkins Reviewed-by: Andreas Dilger --- diff --git a/ConfiguringQuotas.xml b/ConfiguringQuotas.xml index 346ad60..863cbdd 100644 --- a/ConfiguringQuotas.xml +++ b/ConfiguringQuotas.xml @@ -519,12 +519,24 @@ lfs setquota {-u|-g|-p} username|groupname -d # lfs setquota -P -b 0 -B 0 -i 0 -I 0 /mnt/testfs + To set user 'bob' to use the default user quota: + +# lfs setquota -u bob -d /mnt/testfs + + To set group 'bob' to use the default group quota: + +# lfs setquota -g bob -d /mnt/testfs + + To set project 1000 to use the default project quota: + +# lfs setquota -p 1000 -d /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 to 0. + limits with option '-d'.