public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Richard Scobie <richard@sauce.co.nz>
Cc: xfs@oss.sgi.com
Subject: Re: Quota confusion
Date: Sat, 2 Oct 2010 20:35:05 +1000	[thread overview]
Message-ID: <20101002103505.GD4681@dastard> (raw)
In-Reply-To: <4CA55F09.2010609@sauce.co.nz>

On Fri, Oct 01, 2010 at 05:09:45PM +1300, Richard Scobie wrote:
> I am setting up project quota at 95% of  the storage capacity. df shows:
> 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/dm-0            13672271872 11816602148 1855669724  87% /mnt/storage1
> 
> so I set it:
> 
> limit -p bhard=12988658278k 1
> 
> but when I do an xfs_quota "quota -p 1":
> 
> Disk quotas for Project shares (1)
> Filesystem              Blocks      Quota      Limit  Warn/Time
> Mounted on
> /dev/dm-0           11816148292          0 12988658280   00
> [--------] /mnt/storage1
> 
> the number of blocks is less than the limit.

Ok, that looks normal.

> Also, an xfs_quota df:
> 
> Filesystem           1K-blocks       Used  Available  Use% Pathname
> /dev/dm-0           13672271872 11816602148 1855669724   87% /mnt/storage1
> /dev/dm-0           13672271872 23632296584 1855669724  173%
> /mnt/storage1/share
> 
> I do not understand the lower "Used" figure.

Hmmm - looks like a directory quota output for a specific directory
(/mnt/storage1/share), and for some reason the used field is roughly
double the correct value. Can you post your project quota config
files?

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

  reply	other threads:[~2010-10-02 10:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-01  4:09 Quota confusion Richard Scobie
2010-10-02 10:35 ` Dave Chinner [this message]
2010-10-02 18:58   ` Richard Scobie
2010-10-09  0:48   ` Richard Scobie

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=20101002103505.GD4681@dastard \
    --to=david@fromorbit.com \
    --cc=richard@sauce.co.nz \
    --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