Linux disk quota Management Picture and text case
Disk quota is the storage limit of the specified disk in the computer, that is, the administrator can impose a quota on the disk space that users can use, and each user can only use the disk space within the maximum quota range. This can prevent other users from working properly or even affecting the operation of the system due to the excessive use of disk space by one user. This feature is very important in server management, but it doesn't make much sense for stand-alone users.
Characteristics of disk quota limit
Restriction method: soft limit, hard limit
Type of limit: disk capacity, number of files
Operation flow
First check to see if a software package capable of achieving quotas is installed on the PC.
Turn off enhanced security features
Mounting
Enter the command vim / etc/fstab to enter the mount point
Save exit and enter the mount command to see if it works.
Remount after uninstallation
View
Disk quota permissions on
Set disk quota for user lum, disk space soft limit 50m, hard limit 80m, number of files soft limit 2, hard limit 5
Verify disk quotas (note that this restriction is for user lum, so you need to switch users)
View quota usage
These are all the contents of Linux disk quota management. Thank you for your support.