Disk Quota Management in linux

Source: Internet
Author: User
Disk Quota Management in linux-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Environment: RHEL 5
Author: Hu changwen
Date:
QQ: 402947549

[Step 1] enable the disk quota Function
① Edit the file/etc/fstab and modify the partition for which the disk quota function is enabled.
(2) Add ", usrquota, or kgquota" to the default parameter of the row in which the disk quota function is to be enabled"

[Step 2] Create a disk quota File
① Create the file aquota. user or aquota. grup in the root directory of the Disk Quota partition to be enabled

Step 3: format the disk quota File
① Run the "quotacheck-mc directory name" command"

Step 4: Edit Disk Quota Parameters
① Enter the command "edquota-u username"

Step 5: The Disk Quota takes effect.
① Enter the "quotaon-augv directory name" command"
Note: The disk quota does not work for the root user, and the disk quota setting parameters are larger than the existing quantity. For example, the partition size is larger than the current space used, the number of files is larger than the number of existing files.
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.