Quotas and Maximum Number of Files11-1

&+$37(5

4XRWDVDQG0D[LPXP1XPEHURI)LOHV

5HVWULFWLQJRU7UDFNLQJ'LVN8VDJHE\

8VLQJ'LVN4XRWDV

$ERXW'LVN4XRWDV
Filer disk quotas restrict disk space and the number of files used by a user, a group, or
a qtree. For information about how to create a qtree, refer to Chapter 10, qtree
Administration. This chapter discusses how to manage disk quotas by editing the
/etc/quotas file.
)RUPDWRIWKH4XRWDV)LOH
To set up disk quotas, create a quotas file in the /etc directory.
NOTE: Keep a record of your quotas file in a safe place and update it as you change it,
in case you must do a restore without having access to the root volume.
Following is a sample quotas file:
#Quota Target type disk files
/vol/home/user/joe user 500M 10K
21 group 750M 75K
/vol/eng/proj1 tree 750M 75K
writers group@/vol/eng/proj1 300M 50K
* user 50M 10K
NOTE: If the quota is a tree quota, the field in the type column of the quotas file
displays tree, not qtree.
Keep a record of your quotas file in a safe place and update it as you change it, in case
you must do a restore without having access to the root volume.