LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-11-2002, 02:47 AM   #1
greenhornet
Member
 
Registered: Mar 2002
Location: Sydney, Australia
Distribution: RHEL, Fedora, Yellow Dog
Posts: 43

Rep: Reputation: 15
Group Quotas not working???


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
 
Old 04-11-2002, 09:42 AM   #2
greenhornet
Member
 
Registered: Mar 2002
Location: Sydney, Australia
Distribution: RHEL, Fedora, Yellow Dog
Posts: 43

Original Poster
Rep: Reputation: 15
Smile

Well it seems if you actually read the man page for quotacheck or repquota you quickly discover that the proper syntax for activating group quotas is;

quotacheck -g /group

works fine after that, you can view the quotas with
repquota -g /group

Sorry to bug you all with this

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba and quotas per user and group fcloquell Linux - Software 0 11-14-2005 10:07 AM
quotas not working? OverrRyde Mandriva 1 08-12-2004 11:01 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
Disk Quotas not working in RH9 DavidI Red Hat 2 06-25-2004 05:39 AM
Group Quotas humanrig Linux - Hardware 1 03-15-2004 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration