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 file system df-l of the disk to check whether the system has enabled quota, 1. mount-oremount, usrquota, and kgquota/home (You need to enable quota...
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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service