xfs
[Top] [All Lists]

Re: XFS + LVM + quota = disk quota exceeded

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: XFS + LVM + quota = disk quota exceeded
From: Patryk Lason <p.lason@xxxxxxxxxxx>
Date: Fri, 19 Feb 2010 07:42:38 +0100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4B7DBADB.5020409@xxxxxxxxxxx>
Organization: ACK CYFRONET AGH
References: <201002181106.36672.p.lason@xxxxxxxxxxx> <4B7DBADB.5020409@xxxxxxxxxxx>
Reply-to: p.lason@xxxxxxxxxxx
User-agent: KMail/1.12.4 (Linux/2.6.30-gentoo-r8; KDE/4.3.5; i686; ; )
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

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