Disk Quota (quota)

Source: Internet
Author: User

Disk Quota (quota)

Disk Quota is to limit the size of the disks that users or groups can use.

You can set the disk size used by a user or the total disk size used by all users in the group.

Common quata scenarios

Webpage space limit for each person on WWW Server

Email space limit for each person on the mail server

File Server

 

The disk quota is for the entire file system. For example,/dev/sda5 is mounted under/home, and all files under/home are restricted.

Quata restrictions:

Block limit, limit the total capacity (more common)

Indode restrictions, limit the number of files

Soft and hard)

Quata has a flexible limit and a hard limit. When the disk capacity is lower than the soft limit, the disk can be used normally. When the disk capacity is higher than the soft limit, during each login, the user is prompted to clear the disk and a grace period is given. If the user cleans up data within the grace period, the grace period is automatically canceled. If the grace period ends, the disk is not cleared, the soft limit value will immediately replace the hard limit value. disk usage will be locked and no more files can be added.

The quota instance test will be supplemented later.

 

 

 

Reference: laruence's basic learning about Linux Private food

Disk Quota (quota)

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.