1, install quota package
rpm -q quota#Check if quotaum install quota# install quota package
2, check whether the Linux kernel supports Disk quota
grep CONFIG_QUOTA /boot/config-2.6.32-220.e16.i686# If the current kernel does not support quota, you need to recompile the kernel and compile quota support into the kernel. 3, modify /etc/fstab, add usrquota, grpquota on the mount script of the mount /backup partition. Save and restart!
vi /etc/fstabUUID=27e8d329-8e2b-43f0-87b6-eabfa2b293b6 /backup ext4 defaults,usrquota,grpguota 1 2:wqreboot
4, enable disk quotas And configure the quota for the /backup partition
quotacheck -cmug /backls /backup#Create two files: aquota.user and aquota.group5, set the quota value for the user or group (configure the test user in /backup Partition has a 5kb soft limit, up to 10kb space)
edquota -u testFilesystem blocks soft hard inodes soft hard/dev/sda6 0 5 10 0 0 06, enable quota management
quotaon -av7 Modify disk quota grace time
edquota -t8, view disk quota usage
repquota -a
Will the Linux server crash? Of course, I have been exposed to a certain type of server. After inst
1. Get root privileges without logging in. If you dont set the GRUB password, we can use the easiest
For the engineers who are developing or operating the Linux platform, it is often necessary to query
Computer Store News Microsoft released Windows8 RTM for PC OEMs and manufacturer partners on August
How to determine whether Linux is running on a virtual machine
Server-side development experience summary Linux C language
Time synchronization under Linux
Linux system configuration and optimization experience
Linux often crashes, stuck, what should I do?
Linux knowledge lecture: Linux signal and blocking
Linux kernel wait queue mechanism principle analysis
Functions in awk Using Tutorials
How to copy LINUX user information
Solve the disk space is full, making it impossible to read and write to the disk!
How does the win7 camera appear on my computer?
Add the "Run" item to the Vista start menu
Blackberry video format conversion
How to hide files in win8? Win8 system to save the file to the picture tutorial
WinXP: Shutdown failure full contact
20 special execution commands under Windows (1)
Win10 Build 10136 preview version of the exposure