xfs
[Top] [All Lists]

Re: RH7.2 and XFS 1.0.2a grpquota doesn't seem to work.

To: vovo99 vovo99 <vovo99@xxxxxxxxxxx>
Subject: Re: RH7.2 and XFS 1.0.2a grpquota doesn't seem to work.
From: Nathan Scott <nathans@xxxxxxx>
Date: Mon, 11 Feb 2002 12:37:36 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <F222FJ3sl3xbYiMCIqt00001934@xxxxxxxxxxx>; from vovo99@xxxxxxxxxxx on Mon, Feb 11, 2002 at 01:20:22AM +0000
References: <F222FJ3sl3xbYiMCIqt00001934@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Mon, Feb 11, 2002 at 01:20:22AM +0000, vovo99 vovo99 wrote:
> Hi,
> 
> I have been attempting to test group quotas on an XFS file system. 
> Individual user quotas seem to work OK, but I have a requirement to impose 
> group quota checking (hardware was paid for by a number of groups).
> 
> I have a couple of questions:
> I assume group quotas are enabled in the same manner user quotas are (using 
> edquota)

yes, with -g option (whereas user quota is the default / -u).

> I assume group quotas are reported on in the same manner as user quotas 
> (using repquota).

yes, also with -g option (user quota also as above).

> The user quota function appears to work OK.
> 
> 
> This is a copy of my /etc/fstab. Note that in this example, I am only 
> attempting to test group quotas:
> 
> LABEL=/                 /                       ext3    defaults        1 1
> /dev/sda3               /xfs                    xfs     defaults,grpquota    
>       1 2
> none                    /dev/pts                devpts  gid=5,mode=620  0 0
> none                    /proc                   proc    defaults        0 0
> none                    /dev/shm                tmpfs   defaults        0 0
> /dev/sda2               swap                    swap    defaults        0 0
> 
> 
> This is a dump of a quota that I have already enabled:
> 
> [root@VM root]# edquota -g qtest
> Disk quotas for group qtest (gid 512):
>   Filesystem                   blocks       soft       hard     inodes     
> soft     hard
>   /dev/sda3                         0      25000      30000          0       
>   0        0

OK, so what's the problem?  Looks like its working... group qtest
has some limits set - ah, I can guess - try using "-v" to repquota
(by default, repquota wont report users/groups that are not using
any space/inodes).

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>