Sergei Gerasenko
2016-Aug-09 12:13 UTC
[Gluster-users] incorrect usage value on a directory
Hi , The gluster version is 3.7.12. Here?s the output of `gluster info`: Volume Name: ftp_volume Type: Distributed-Replicate Volume ID: SOME_VOLUME_ID Status: Started Number of Bricks: 3 x 2 = 6 Transport-type: tcp Bricks: Brick1: host03:/data/ftp_gluster_brick Brick2: host04:/data/ftp_gluster_brick Brick3: host05:/data/ftp_gluster_brick Brick4: host06:/data/ftp_gluster_brick Brick5: host07:/data/ftp_gluster_brick Brick6: host08:/data/ftp_gluster_brick Options Reconfigured: features.quota: on Thanks for the reply!! I thought nobody would reply at this point :) Sergei> On Aug 9, 2016, at 6:03 AM, Manikandan Selvaganesh <mselvaga at redhat.com> wrote: > > Hi, > > Sorry, I missed the mail. May I know which version of gluster you are using and please paste the output of > gluster v info? > > On Sat, Aug 6, 2016 at 8:19 AM, Sergei Gerasenko <gerases at gmail.com <mailto:gerases at gmail.com>> wrote: > Hi, > > I'm playing with quotas and the quota list command on one of the directories claims it uses 3T, whereas the du command says only 512G is used. > > Anything I can do to force a re-calc, re-crawl, etc? > > Thanks, > Sergei > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org <mailto:Gluster-users at gluster.org> > http://www.gluster.org/mailman/listinfo/gluster-users <http://www.gluster.org/mailman/listinfo/gluster-users> > > > > -- > Regards, > Manikandan Selvaganesh.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160809/07aa0a45/attachment.html>
Manikandan Selvaganesh
2016-Aug-09 12:26 UTC
[Gluster-users] incorrect usage value on a directory
Hi Sergei, When quota is enabled, quota-deem-statfs should be set to ON(By default with the recent versions). But apparently from your 'gluster v info' output, it is like quota-deem-statfs is not on. Could you please check and confirm the same on /var/lib/glusterd/vols/<VOLNAME>/info. If you do not find an option 'features.quota-deem-statfs=on', then this feature is turned off. Did you turn off this one? You could turn it on by doing this 'gluster volume set <VOLNAME> quota-deem-statfs on'. To know more about this feature, please refer here[1] [1] https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Directory%20Quota/ On Tue, Aug 9, 2016 at 5:43 PM, Sergei Gerasenko <gerases at gmail.com> wrote:> Hi , > > The gluster version is 3.7.12. Here?s the output of `gluster info`: > > Volume Name: ftp_volume > Type: Distributed-Replicate > Volume ID: SOME_VOLUME_ID > Status: Started > Number of Bricks: 3 x 2 = 6 > Transport-type: tcp > Bricks: > Brick1: host03:/data/ftp_gluster_brick > Brick2: host04:/data/ftp_gluster_brick > Brick3: host05:/data/ftp_gluster_brick > Brick4: host06:/data/ftp_gluster_brick > Brick5: host07:/data/ftp_gluster_brick > Brick6: host08:/data/ftp_gluster_brick > Options Reconfigured: > features.quota: on > > Thanks for the reply!! I thought nobody would reply at this point :) > > Sergei > > On Aug 9, 2016, at 6:03 AM, Manikandan Selvaganesh <mselvaga at redhat.com> > wrote: > > Hi, > > Sorry, I missed the mail. May I know which version of gluster you are > using and please paste the output of > gluster v info? > > On Sat, Aug 6, 2016 at 8:19 AM, Sergei Gerasenko <gerases at gmail.com> > wrote: > >> Hi, >> >> I'm playing with quotas and the quota list command on one of the >> directories claims it uses 3T, whereas the du command says only 512G is >> used. >> >> Anything I can do to force a re-calc, re-crawl, etc? >> >> Thanks, >> Sergei >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://www.gluster.org/mailman/listinfo/gluster-users >> > > > > -- > Regards, > Manikandan Selvaganesh. > > >-- Regards, Manikandan Selvaganesh. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160809/d524e0a2/attachment.html>