Hi All,
I have a redhat 7.2 system am trying to implement group quotas on. I resized my /home partition to make 2 new partitions which I have mounted /home and /group. I have user quotas established on the /home partition no problems but for some reason when I try to activate group quotas it doesn't work.
here is what I did.
1. Edited my /etc/fstab to enable quota support for my partitions.
LABEL=/ / ext3 defaults 1 1
LABEL=/home /home ext3 defaults,usrquota 1 2
/dev/hda4 /group ext3 defaults,grpquota 1 3
2. remounted the partitions;
[root@karri root]# mount -o remount /home
[root@karri root]# mount -o remount /group
3. Build the quota databases;
[root@karri root]# quotacheck /home
[root@karri root]# quotacheck /group
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
4. Turn quotas on
[root@karri root]# quotaon /home
[root@karri root]# quotaon /group
quotaon: using /group/aquota.group on /dev/hda4: Invalid argument
At stage two I've even retried rebooting the server just to make sure that it was reading the fstab file when mounting /dev/hda4.
I have tried a number of linux books for the answer to this and they all say to do what I am doing above. Even redhat training notes from a course I went on say the same thing?
Does anyone have any idea whats going on here, does 7.2 not support group quotas by default anymore
thanks,
Craig