Recently, many linux enthusiasts have said they do not know how to configure quota. Now I will share my experiences with you. First, check the disk's file system df-l to see if the system has enabled quota,
1. mount-o remount, usrquota, or kgquota/home (it is best not to select/if you need to enable the file system of quota /)
2. Enable automatic mounting upon startup. This format will appear in vim/etc/fstab ....... /home default is added later to make it ........ /home default, usrquota, or enter ntsysv in the terminal to select quota
3. Run quotacheck www.2cto.com to run the quotacheck-avug command. If the command fails, run quotacheck-avugm again.
4. Enable quotaquotaon-avug or quotaon-uv/home (the file system you specified)
5. Edit the disk quota of edquota-u by using the edquota user name. Modify the soft and hard values after blocks (I will not describe soft and hard here) edquota-p user name 1-u user name 2 copy the user name 1 settings to user name 2 edquota-t to modify the grace period
6. repquota-avus outputs configuration information in the form of a list. Author Wu shuqiang 123