Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
Keep quota accurate
Due to system crash or other problem, if the file system is not unmounted properly, it become necessary to run quotacheck. We can run this regularly even if the file system gets unmounted properly. The following command is run to keep quota more accurate:
# quotacheck -auvg
We can use following command to schedule periodic check of quota:
# crontab -e
Note: We will learn the details of scheduling and crontab in the respective chapter.
Summary
We learnt how to control the disk space usage by our users with the help of quotas. Quotas can restrict users either by the space occupied by their files on certain partition or by inodes. To configure quota, we first have to incorporate it on the specific file system. For this we have to simply edit /etc/fstab file. Once configured, Linux will automatically implement the quota after it reboots.
No comments:
Post a Comment