Disk quota is the storage limit of a specified disk in a computer. That is, the administrator can set a quota limit for the disk space that can be used by users. Each user can only use the disk space within the maximum quota range. This can prevent other users from being unable to work properly or even affecting system operation due to excessive use of disk space by one user. This function is very important in server management, but it is of little significance to stand-alone users. Disk quota restriction features Limitation method: soft limit, hard limit Limitation type: disk capacity, number of files Operation process First check whether the software package that can achieve quota is installed on the PC Turn off enhanced security features Mount Enter the command vim /etc/fstab to enter the mount point Save and exit, enter the mount command to see if it takes effect Uninstall and then remount Check Disk quota permission is enabled Set disk quota for user lum, with a soft limit of 50M and a hard limit of 80M for disk space, a soft limit of 2 files and a hard limit of 5 Verify the disk quota (note that this limit is for user lum, so you need to switch users) View quota usage The above is all about Linux disk quota management. Thank you for your support of 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed steps to install MySQL on CentOS 7
I. Strict Mode Explanation According to the restr...
1. What is mycat A completely open source large d...
This article example shares the specific code of ...
introduction I used postgresql database for some ...
Table of contents Implementation ideas There are ...
After setting the iframe's src to 'about:b...
This article uses examples to illustrate the synt...
This article records the process of upgrading MyS...
How to determine whether the current Linux system...
WeChat applet calculator example, for your refere...
When learning kubernetes, we need to practice in ...
Basic Concepts By default, Compose creates a netw...
Table of contents 1. ACID Characteristics Transac...
I think the commands I use most often are: Choice...
Sometimes some docker containers exit after a per...