1. create qtree and set quota rule
gr::volume quota*> qtree create -vserver grvsnfs1 -volume vol1 -qtree one \
-security-style unix
gr::volume quota*> quota policy rule create -vserver grvsnfs1 -policy-name default -volume vol1 -type tree -target one \
-soft-disk-limit 30MB -disk-limit 40MB
vol quota policy rule modify -vserver grvsnfs1 -policy-name \
default -volume vol1 -type tree -target one -qtree "" -disk-limit 50MB
quota resize -vserver grvsnfs1 -volume vol1 -foreground true
quota on -vserver grvsnfs1 -volume vol1 -foreground true
gr::volume quota*> quota policy rule show
Vserver: grvsnfs1 Policy: default Volume: vol1
Soft Soft
User Disk Disk Files Files
Type Target Qtree Mapping Limit Limit Limit Limit Threshold
----- -------- ------- ------- -------- ------- ------ ------- ---------
tree one "" - 50MB - - - -