XFS + LVM + quota = disk quota exceeded

Patryk Lason p.lason at cyfronet.pl
Fri Feb 19 00:42:38 CST 2010


On Thursday 18 of February 2010, Eric Sandeen wrote:
> Patryk Lason wrote:
> > Hello,
> >
> > I'm not able to touch a file on an XFS filesystem with quotas created on
> > an LVM volume.
> > Even if I set limits to 10TB on 2TB device.
> 
> ...
> 
> > From xfs_quota:
> > Disk quotas for User xxx (1111)
> > Filesystem              Blocks      Quota      Limit  Warn/Time     
> > Mounted on
> > /dev/mapper/lvm--people-people
> >                         742740 10737418240 10737418240   00 [--------]
> > /people
> >
> >
> > # su - xxx
> > $ pwd
> > /people/xxx
> > $ touch a
> > touch: cannot touch `a': Disk quota exceeded
> >
> >
> > What may be wrong and where?
> 
> file quota maybe, not block quota; quota -i ?

Looks like I've found it.
I played with "-d" parameter for "limit" in xfs_quota.
I wanted to set default quota for users, but using the following
command:

limit -u bsoft=5g bhard=7g isoft=0 ihard=0 -d

the limit is set also for groups.
That's why I couldn't created any file.

I have xfsprogs-2.9.4.

Regards,
Patryk




More information about the xfs mailing list