public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Patryk Lason <p.lason@cyfronet.pl>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: xfs@oss.sgi.com
Subject: Re: XFS + LVM + quota = disk quota exceeded
Date: Fri, 19 Feb 2010 07:42:38 +0100	[thread overview]
Message-ID: <201002190742.39041.p.lason@cyfronet.pl> (raw)
In-Reply-To: <4B7DBADB.5020409@sandeen.net>

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2010-02-19  6:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 10:06 XFS + LVM + quota = disk quota exceeded Patryk Lason
2010-02-18 22:10 ` Eric Sandeen
2010-02-19  6:42   ` Patryk Lason [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201002190742.39041.p.lason@cyfronet.pl \
    --to=p.lason@cyfronet.pl \
    --cc=sandeen@sandeen.net \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox