[Linux-cluster] gfs2 setting quota problem

Abhijith Das adas at redhat.com
Tue May 10 13:27:07 UTC 2011



----- Original Message -----
> From: "mr" <mra at webtel.pl>
> To: "linux clustering" <linux-cluster at redhat.com>
> Sent: Tuesday, May 10, 2011 1:06:38 AM
> Subject: Re: [Linux-cluster] gfs2 setting quota problem
> Hi,
> Steven Whitehouse pisze:
> > Hi,
> >
> > On Mon, 2011-05-09 at 15:32 +0200, mr wrote:
> >
> >> Hello,
> >> I'm having problem to init gfs2 quota on my existing FS.
> >>
> >> I have 2TB gfs2 FS which is being used in 50%. I have decided to
> >> set up
> >> quotas. Setting warning and limit levels seemed OK - no errors
> >> (athought
> >> I had to reset all my existing setting gfs2_quota reset...) New
> >> quota
> >> calculation ends with the following error:
> >>
> >> gfs2_quota: Couldn't mount /tmp/.gfs2meta.WUXfKC : Invalid argument
> >>
> >>
> > Are you using selinux? The gfs2_quota tool tries to mount the GFS2
> > metafs in order to make the changes that you requested. For some
> > reason
> > it seems this mount is failing.
> >
> Selinux is diabled. I'm also able to mount gfs2meta manually.
> >
> >> Getting some quota values fails - I'm always getting "value: 0.0"
> >> :(
> >>
> >> I have no idea what is wrong... Sombody could help? thx in advance
> >>
> >> Details:
> >> 2.6.18-194.11.1.el5
> >> /tmp/test type gfs2
> >> (rw,noatime,lockproto=lock_nolock,localflocks,localcaching,quota=on)
> >> gfs2-utils.i386 0.1.62-28.el5_6.1
> >> kmod-gfs.i686 0.1.34-2.el5
> >> cman.i386 2.0.98-1.el5_3.4
> >>
> >>
> >>
> >>
> > Is this CentOS or a real RHEL installation?
> >
> Centos.
> > Steve.
> >

Hi,

I found this bz: https://bugzilla.redhat.com/show_bug.cgi?id=459630, but the package versions you list are pretty recent and this was fixed quite a while ago. Are there any older gfs2-utils bits lying around?

I'd like to see the strace of the gfs2_quota command that triggers the meta-mount error. Please also include the command line in your output.

Thanks!
--Abhi




More information about the Linux-cluster mailing list