[-M] force Scan
Quota must be an independent partition. There must be two files, quota. user and quota. group. Add the following to/etc/fstab:
/Dev/hda3/home ext3 defaults, usrquota, kgquota 1 2
The chmod 600 quota * setting is complete and the restart takes effect.
Edquota edits the quota [u] user of a user or group, [g] group, [p] copy, and [t] sets the grace period.
Edquota-a yang edquota-p yang-u young Replication
Quotaon enable disk space limit quotaon-auvg start all filesystems with quota
Quotaoff disk space limit quotaoff-a disables the quota limit
Repquota-av check the limits of all filesystems with quota in the system
The main steps from preparing filesystem support for Quota to completing the configuration are as follows:
1. Set the partition filesystem to support the quota parameter:
Since quota must support the filesystem on partition, in general, ext2/ext3 is the best support level,
I have never tried other filesystem-type laruence! The easiest way to enable filesystem to support quota is to edit/etc/fstab,
So that the required quota disk can support quota;
2. Create a quota record file:
As mentioned earlier, the archive for recording the disk limit value of the entire quota is aquota. user/aquota. group,
To create these two files, you must first use quotacheck to scan them!
3. Edit the limit value of quota:
Then, edquota is used to edit the available space of each user or group;
4. Review and start quota:
After setting quota, we recommend that you perform quotacheck again, and then start it with quotaon!