public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: John Desantis <desantis@mail.usf.edu>
Cc: xfs@oss.sgi.com
Subject: Re: (Un)known issue with XFS group quotas on LVM?
Date: Thu, 12 Jun 2014 09:07:06 +1000	[thread overview]
Message-ID: <20140611230706.GL9508@dastard> (raw)
In-Reply-To: <CA+Bg6wd9CFKdHaAM-XyJx3royVb2-QdKqhmaamA-KMQk1TdieQ@mail.gmail.com>

On Wed, Jun 11, 2014 at 11:43:09AM -0400, John Desantis wrote:
> Hello list!
> 
> A big "thanks!" to all XFS developers for a great product.
> 
> Now, to the point!
> 
> We're using an XFS file system created on an LVM with a standard
> kernel (2.6.32-431.3.1). 

RHEL kernel? If so, you probably want to report it to your support
contact to see if it's a known issue with a fix/workaround.....

> We're using quotas without an issue, with
> the exception of the group quota.  It seems that group quotas are
> ignored at times, at least from our configuration (we use remote user
> and group look-ups and authentication).  I've only been able to get
> root running sudo -g dd.. to create a group file which reflects
> changes in the group quota limit.

That doesn't sound like a filesystem problem. Sounds more like the
remote user/group configuration is getting squashed. Do the systems
have the same user/group configurations, or are the clients sending
group IDs the server doesn't recognise?

As it is, describing the problem in text doesn't tell me anything
about the problem. You need to cut-n-paste the CLI and the output
showing the incorrect behaviour so we can attempt to reproduce the
same behaviour you are seeing.

> We've mounted the file system in question with both user and group
> quotas enabled;  I didn't see anywhere in the man page that said this
> isn't possible, although I did see where group and project quotas
> cannot be used simultaneously on the same file system.
> 
> Has anyone experienced this behavior before?  I feel that I did some
> pretty good searching in the archives, Google, and the BugZilla page,
> but there were no "real" results which seemed to describe the same
> issue we're facing.  Strace didn't provide any clues either.  I don't
> think it's a sync issue because I've allowed a few days to pass in
> between "test" runs.
> 
> I've tested the quota by:
> 
> 1.)  Using sudo -u user -g group dd.... on both the exported file
> system and its mount path on the server itself.
> 2.)  Using sudo -u user -g group dd.. on the client and the file
> system's mount path.
> 3.)  Using sudo -g group dd... on both the exported file system and
> its mount path on the server itself;  this method produces expected
> results.
> 4.)  Using sudo -g group dd.. on the client and the file system's
> mount path;  this method also produces expected results.
> 
> Items #1 and #2 produce the error.

I can't see how that is related to the filesystem - the filesystem
will either account for group quota usage or it won't. It doesn't
care what primary gid the process uses, it will simply account usage
to that...

> I just wanted to ping the list before creating a local testing group
> to see if it's an issue with remote group look-ups.

Quite possibly that's a problem when generating quota reports, but
again that's a userspace problem, not a filesystem quota accounting
issue...

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

  reply	other threads:[~2014-06-11 23:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 15:43 (Un)known issue with XFS group quotas on LVM? John Desantis
2014-06-11 23:07 ` Dave Chinner [this message]
2014-06-12 14:04   ` John Desantis
2014-06-13  0:01     ` Dave Chinner
2014-06-13 14:50       ` John Desantis
2014-06-13 16:22         ` Brian Foster
2014-06-13 17:00           ` John Desantis
2014-06-13 17:59             ` Brian Foster
2014-06-13 18:21               ` John Desantis

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=20140611230706.GL9508@dastard \
    --to=david@fromorbit.com \
    --cc=desantis@mail.usf.edu \
    --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