Disk Quota settings in linux

Source: Internet
Author: User

The disk quota in linux is a common function of an application. Many users in an enterprise deploy linux as a mail or file server. Although the disk space is large, however, if more than 1000 users use shared storage files, it is necessary to allocate disk quotas to users.
The disk quota is best for independent partitions, such as/home/var/mail and other folders that need to be configured by line. The following steps are required for quota from filesystem preparation to configuration completion:
1. First, set the partition filesystem to support the quota parameter under/etc/fstab:
Example: vi/etc/fstab
/Dev/sda3/data ext3 default, usrquota 1 2
2. Use checkquota to generate two disk limit record files, aquota. user and aquota. group.
Checkquoat-avug generates aquota. user aquoat. group
3. Edit the limit value of quota.
Example: edquoat-u user/data
4. Use quoatcheck quotaon to start again.

 

This article is from "networkfly"

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.