mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
Activate quota
After doing the right configuration, simply run the following command to enable quota for all configured users on /home file system:
# quotaon /home
Note: we can use quotaoff command to deactivate quota.
Assigning Group quota:
We can assign quota on group basis. For example, to set quota for group hardware, we will be using following command:
# edquota -g hardware
This command will display existing quota for group hardware, in text editor, as follows:
Disk quotas for group hardware (gid 504):
Filesystem blocks soft hard inodes soft hard
/dev/vol_gr0/log_vol1 220200 0 0 18709 0 0
We can modify the limits as per requirements, save the file and thereafter configure the quota. To verify that group quota has been set, run the following command:
# quota -g hardware
Note: The remaining procedure is same as we used for user quota.
No comments:
Post a Comment