[Cluster-devel] [GFS2 PATCH 13/15] gfs2: ignore usr|grp|prjquota mount options

Andreas Gruenbacher agruenba at redhat.com
Wed Jul 28 20:57:12 UTC 2021

On Wed, Jul 28, 2021 at 10:33 PM Bob Peterson <rpeterso at redhat.com> wrote:
> On 7/28/21 1:28 PM, Andreas Gruenbacher wrote:
> > On Tue, Jul 27, 2021 at 7:37 PM Bob Peterson <rpeterso at redhat.com> wrote:
> >> Before this patch, gfs2 rejected mounts attempted with the usrquota,
> >> grpquota, or prjquota mount options. That caused numerous xfstests tests
> >> to fail. This patch allows gfs2 to accept but ignore those mount options
> >> so the tests may be run.
> >
> > We can't just fake this up. Instead, the fstests need to be fixed to
> > skip tests that don't run on particular filesystems.
> Hi Andreas,
> I see your point, and sure, the maintainers of xfstests can improve the
> tests to make them check whether the options are supported for gfs2 as
> they do with other some other options.
> Still, if you look at the man page for "mount(8)" under "Mount options
> for affs" you see:
> "grpquota|noquota|quota|usrquota
> These options are accepted but ignored.  (However, quota utilities may
> react to such strings in /etc/fstab.)"
> If you look at "Mount options for jfs" you similarly see:
> "noquota|quota|usrquota|grpquota
> These options are accepted but ignored."
> So if affs and jfs can ignore these mount options, why can't gfs2?
> Are we planning to support them ever?

Hmm, that's interesting. I don't know what to think about that.


More information about the Cluster-devel mailing list