Linux also has disk quotas similar to those used by Windows NTFS, using quota to implement
Determine if installed by Rpm-q quota
With quota can only to patation do limit, to do for a directory to do only rely on ln-s to achieve. So it's important to plan for use at the outset.
For example, increase the quota for the user yuyii:
1. Vi/etc/fstab, will need to make a quota label that line to make changes, after defaults add, Usrquota,grpquota
2. Set up in a directory of Mount points, like I do/
3. Reboot or remount to load the configuration, recommended re-mount, Mount-o remount/
4. Quotacheck-avug do a check, the first run may appear "Quotacheck:warning-quotafile/var/quota.user was probably truncated. Can ' t save Quota Settings ... "ignored.
5. Start Quota:quotaon-avug (off to Quotaoff)
6. Edit a user's quota: edquota-u yuyii
As long as the modification of soft and hard,soft represents a soft quota, exceeding the grace given a certain number of days, hard relative, said absolutely cannot exceed. I set the soft to 90000,hard to 100000, which is 90M and 100M
Edit Grace Days: Edquota-t, the default is 7 days, the block grace under the change, changed to 1 days, when the soft quota to give a grace of 1 days, if not reduced space will no longer allow the account to increase the use of space (has not yet confirmed the function)
7. View your configured and used space: Quota-vu yuyii (Repquota-aug can see all users)
http://sookk8.blog.51cto.com/455855/224374/
Http://www.linuxidc.com/Linux/2015-01/111845.htm
Linux disk quota configuration: Quota command