Red hat 8.0
Trying to activate disk quotas for user. I´ve read the Quota mini-HOWTO, but I can't make it work.
I assume the prekompiled kernel supports quotas, is that correct? The quota tools are on the system.
My fstab looks like this:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults,usrquota 1 2
and there is this part in the /etc/rc.sysinit
# check remaining quotas other than root
if [ X"$_RUN_QUOTACHECK" = X1 -a -x /sbin/quotacheck ]; then
action $"Checking local filesystem quotas: " /sbin/quotacheck -aRnug
if [ -x /sbin/quotaon ]; then
action $"Enabling local filesystem quotas: " /sbin/quotaon -aug
Hower, I get this in boot.log
Cannot find quota file on /home [/dev/hda5] to turn quotas on/off.
So I try to do
edquota -u user
And get this
edquota: Quota file not found or has wrong format.
No filesystems with quota detected.
What is missing?
Thanks for your time,