Linux Disk Quota 1. the disk quota is restricted only for the entire partition: When the disk quota is actually run, it is restricted for the entire partition. For example, if/dev/hda5 is loaded under/home, all directories under/home are restricted.
Transferred from: China IT lab
Quota is widely used. However, it is generally used for the following purposes:
Limit the maximum disk quota that a group can use (with group restrictions): You can classify users in your system, it's a bit like the
In a production or work environment, you may encounter the following situation: in a multi-person, multi-task environment, multiple people share a disk space, some people may put a lot or a lot of files in the same space, which leads to a sharp
Disk quota for linux (quota) and linuxquota
1. What is quota?
Simply put, it limits the amount of disk space used by users.
Because Linux is a multi-user and multi-task operating system, many people share disk space. In order to reasonably allocate
Disk quotas
The site service will generally set quota limits for the site service domain name space;
The Mail service sets the disk quota limit for each mailbox user in the mail service;
The file service sets a quota limit for
Linux Disk Quota commands
Linux Disk Quota commands
1. Quota has the following functions:
1) Limit the maximum disk quota that a group can use
2) Limit the maximum disk quota of a user
3) Link-based mail can be used as the limit (change the path
1. Check kernel conditionsCheck whether the current kernel supports quota and the current kernel profile is in/bootIf the current kernel does not support quota, you will need to recompile the kernel to compile quota supports into the core:File
The main functions of 1.Quota are: 1) Limit the maximum disk quotas that a group of groups can use 2) limit the maximum disk quota for a user 3) Link to make the message available as a restricted quota (change/var/spool/mail this path)2.Quota Usage
1. What is quotaSimply put, limit the amount of disk space users use.Because Linux is a multi-user multitasking operating system, many people share disk space, in order to allocate disk space reasonably, so there is a quota appearance.Use of
CentOS summary and practices on quota
1. Theoretical Basis
1.1 concepts of Quota
Quota refers to the Quota, which is used to limit the space used by users, groups, and folders.
1.2 usage examples
-The web server controls the available space of the
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.