|
How to set up disk quotas on Red Hat Linux.
1). Edit file "/etc/fstab" - Look for the line starting
with:
LABEL=/home
(or LABEL=/ if there is no LABEL=/home)
On this line change the word
defaults
To:
grpquota,usrquota,defaults
2). Reboot the system
3).When the system comes back up from reboot run this command:
3). Then start quotas
Done - every time you reboot your server the quotas should automatically
start.
Problems?
When I run "quotacheck -guvma" I get the following error:
quotacheck:
Cannot get quotafile name for
quotacheck: Cannot get quotafile name for
To solve this - simply run the following command:
This should give you something similar to the following output:
quotacheck:
**** done
quotacheck: Checked 4 directories and 15 files
quotacheck: Old file not found.
quotacheck: Old file not found.
You can then start quotas
Related:
Tripanel tutorials index
Reference:
Red Hat
Linux Website
|