<div dir="ltr"><div><div><div>Hi Raghavendra, <br><br></div>I didn't get a chance to implement your suggestions, however it looks like the dirty bit is no longer set - so presumably the quota should have been updated, however the quota.size attribute is still incorrect though slightly different than before. Any other suggestions? <br><br><tt>[root@gluster07 ~]# getfattr --absolute-names -m . -d -e hex /mnt/raid6-storage/storage/data/projects/MEOPAR</tt><tt><br>
</tt><tt># file: /mnt/raid6-storage/storage/data/projects/MEOPAR</tt><tt><br>
</tt><tt>security.selinux=0x73797374656d5f753a6f626a6563745f723a756e6c6162656c65645f743a733000</tt><tt><br>
</tt><tt>trusted.gfid=0x7209b677f4b94d82a3820733620e6929</tt><tt><br>
</tt><tt>trusted.glusterfs.6f95525a-94d7-4174-bac4-e1a18fe010a2.xtime=0x599f228800088654</tt><tt><br>
</tt><tt>trusted.glusterfs.dht=0x0000000100000000b6db6d41db6db6ee</tt><tt><br>
</tt><tt>trusted.glusterfs.quota.d5a5ecda-7511-4bbb-9b4c-4fcc84e3e1da.contri=0xfffffa3d7c28f60000000000000a9d0a000000000005fd2f</tt><tt><br>
</tt><tt>trusted.glusterfs.quota.dirty=0x3000</tt><tt><br>
</tt><tt>trusted.glusterfs.quota.limit-set=0x0000088000000000ffffffffffffffff</tt><tt><br>
</tt><tt>trusted.glusterfs.quota.size=0xfffffa3d7c28f60000000000000a9d0a000000000005fd2f</tt><br><br></div>Thanks,<br></div>-Matthew</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 28, 2017 at 8:05 PM, Raghavendra Gowdappa <span dir="ltr"><<a href="mailto:rgowdapp@redhat.com" target="_blank">rgowdapp@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
> From: "Matthew B" <<a href="mailto:matthew.has.questions@gmail.com">matthew.has.questions@gmail.<wbr>com</a>><br>
</span><span class="">> To: "Sanoj Unnikrishnan" <<a href="mailto:sunnikri@redhat.com">sunnikri@redhat.com</a>><br>
> Cc: "Raghavendra Gowdappa" <<a href="mailto:rgowdapp@redhat.com">rgowdapp@redhat.com</a>>, "Gluster Devel" <<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>><br>
> Sent: Monday, August 28, 2017 9:33:25 PM<br>
> Subject: Re: [Gluster-devel] Quota Used Value Incorrect - Fix now or after upgrade<br>
><br>
> Hi Sanoj,<br>
><br>
> Thank you for the information - I have applied the changes you specified<br>
> above - but I haven't seen any changes in the xattrs on the directory after<br>
> about 15 minutes:<br>
<br>
</span>I think stat is served from cache - either gluster's md-cache or kernel attribute cache. For healing to happen we need to force a lookup (which we had hoped would be issued as part of stat cmd) and this lookup has to reach marker xlator loaded on bricks. To make sure a lookup on the directory reaches marker we need to:<br>
<br>
1. Turn off kernel attribute and entry cache (using --entrytimeout=0 and --attribute-timeout=0 as options to glusterfs while mounting)<br>
2. Turn off md-cache using gluster cli (gluster volume set performance.md-cache <volname> off)<br>
3. Turn off readdirplus in the entire stack [1]<br>
<br>
Once the above steps are done I guess doing a stat results in a lookup on the directory witnessed by marker. Once the issue is fixed you can undo the above three steps so that performance is not affected in your setup.<br>
<br>
[1] <a href="http://nongnu.13855.n7.nabble.com/Turning-off-readdirp-in-the-entire-stack-on-fuse-mount-td220297.html" rel="noreferrer" target="_blank">http://nongnu.13855.n7.nabble.<wbr>com/Turning-off-readdirp-in-<wbr>the-entire-stack-on-fuse-<wbr>mount-td220297.html</a><br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> [root@gluster07 ~]# setfattr -n trusted.glusterfs.quota.dirty -v 0x3100<br>
> /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR/<br>
><br>
> [root@gluster07 ~]# stat /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR<br>
><br>
> [root@gluster07 ~]# getfattr --absolute-names -m . -d -e hex<br>
> /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR<br>
> # file: /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR<br>
> security.selinux=<wbr>0x73797374656d5f753a6f626a6563<wbr>745f723a756e6c6162656c65645f74<wbr>3a733000<br>
> trusted.gfid=<wbr>0x7209b677f4b94d82a3820733620e<wbr>6929<br>
> trusted.glusterfs.6f95525a-<wbr>94d7-4174-bac4-e1a18fe010a2.<wbr>xtime=0x599f228800088654<br>
> trusted.glusterfs.dht=<wbr>0x0000000100000000b6db6d41db6d<wbr>b6ee<br>
> trusted.glusterfs.quota.<wbr>d5a5ecda-7511-4bbb-9b4c-<wbr>4fcc84e3e1da.contri=<wbr>0xfffffa3d7c1ba60000000000000a<wbr>9ccb000000000005fd2f<br>
> trusted.glusterfs.quota.dirty=<wbr>0x3100<br>
> trusted.glusterfs.quota.limit-<wbr>set=<wbr>0x0000088000000000ffffffffffff<wbr>ffff<br>
> trusted.glusterfs.quota.size=<wbr>0xfffffa3d7c1ba60000000000000a<wbr>9ccb000000000005fd2f<br>
><br>
> [root@gluster07 ~]# gluster volume status storage<br>
> Status of volume: storage<br>
> Gluster process TCP Port RDMA Port Online Pid<br>
> ------------------------------<wbr>------------------------------<wbr>------------------<br>
> Brick 10.0.231.50:/mnt/raid6-<wbr>storage/storag<br>
> e 49159 0 Y<br>
> 2160<br>
> Brick 10.0.231.51:/mnt/raid6-<wbr>storage/storag<br>
> e 49153 0 Y<br>
> 16037<br>
> Brick 10.0.231.52:/mnt/raid6-<wbr>storage/storag<br>
> e 49159 0 Y<br>
> 2298<br>
> Brick 10.0.231.53:/mnt/raid6-<wbr>storage/storag<br>
> e 49154 0 Y<br>
> 9038<br>
> Brick 10.0.231.54:/mnt/raid6-<wbr>storage/storag<br>
> e 49153 0 Y<br>
> 32284<br>
> Brick 10.0.231.55:/mnt/raid6-<wbr>storage/storag<br>
> e 49153 0 Y<br>
> 14840<br>
> Brick 10.0.231.56:/mnt/raid6-<wbr>storage/storag<br>
> e 49152 0 Y<br>
> 29389<br>
> NFS Server on localhost 2049 0 Y<br>
> 29421<br>
> Quota Daemon on localhost N/A N/A Y<br>
> 29438<br>
> NFS Server on 10.0.231.51 2049 0 Y<br>
> 18249<br>
> Quota Daemon on 10.0.231.51 N/A N/A Y<br>
> 18260<br>
> NFS Server on 10.0.231.55 2049 0 Y<br>
> 24128<br>
> Quota Daemon on 10.0.231.55 N/A N/A Y<br>
> 24147<br>
> NFS Server on 10.0.231.54 2049 0 Y<br>
> 9397<br>
> Quota Daemon on 10.0.231.54 N/A N/A Y<br>
> 9406<br>
> NFS Server on 10.0.231.53 2049 0 Y<br>
> 18387<br>
> Quota Daemon on 10.0.231.53 N/A N/A Y<br>
> 18397<br>
> NFS Server on 10.0.231.52 2049 0 Y<br>
> 2230<br>
> Quota Daemon on 10.0.231.52 N/A N/A Y<br>
> 2262<br>
> NFS Server on 10.0.231.50 2049 0 Y<br>
> 2113<br>
> Quota Daemon on 10.0.231.50 N/A N/A Y<br>
> 2154<br>
><br>
> Task Status of Volume storage<br>
> ------------------------------<wbr>------------------------------<wbr>------------------<br>
> There are no active volume tasks<br>
><br>
> [root@gluster07 ~]# gluster volume quota storage list | egrep "MEOPAR "<br>
> /data/projects/MEOPAR 8.5TB 80%(6.8TB) 16384.0PB<br>
> 17.4TB No No<br>
><br>
><br>
><br>
><br>
> Looking at the quota daemon on gluster07:<br>
><br>
> [root@gluster07 ~]# ps -f -p 29438<br>
> UID PID PPID C STIME TTY TIME CMD<br>
> root 29438 1 0 Jun19 ? 04:43:31 /usr/sbin/glusterfs -s<br>
> localhost --volfile-id gluster/quotad -p<br>
> /var/lib/glusterd/quotad/run/<wbr>quotad.pid -l /var/log/glusterfs/quotad.log<br>
><br>
> I can see some errors on the log - not sure if those are related:<br>
><br>
> [root@gluster07 ~]# tail /var/log/glusterfs/quotad.log<br>
> [2017-08-28 15:36:17.990909] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:36:17.991389] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:36:17.992656] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:36:17.993235] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:45:51.024756] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:45:51.027871] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:45:51.030843] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:45:51.031324] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:45:51.032791] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
> [2017-08-28 15:45:51.033295] W [dict.c:592:dict_unref]<br>
> (-->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>qd_lookup_cbk+0x35e)<br>
> [0x7f79fb09253e]<br>
> -->/usr/lib64/glusterfs/3.7.<wbr>13/xlator/features/quotad.so(<wbr>quotad_aggregator_getlimit_<wbr>cbk+0xb3)<br>
> [0x7f79fb093333] -->/lib64/libglusterfs.so.0(<wbr>dict_unref+0x99)<br>
> [0x7f7a090299e9] ) 0-dict: dict is NULL [Invalid argument]<br>
><br>
> How should I proceed?<br>
><br>
> Thanks,<br>
> -Matthew<br>
><br>
> On Mon, Aug 28, 2017 at 3:13 AM, Sanoj Unnikrishnan <<a href="mailto:sunnikri@redhat.com">sunnikri@redhat.com</a>><br>
> wrote:<br>
><br>
> > Hi Mathew,<br>
> ><br>
> > If you are sure that "/mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR/"<br>
> > is the only directory with wrong accounting and its immediate sub<br>
> > directories have correct xattr values, Setting the dirty xattr and doing a<br>
> > stat after that should resolve the issue.<br>
> ><br>
> > 1) setxattr -n trusted.glusterfs.quota.dirty -v 0x3100<br>
> > /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR/<br>
> ><br>
> > 2) stat /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR/<br>
> ><br>
> > Could you please share what kind of operations that happens on this<br>
> > directory, to help RCA the issue.<br>
> ><br>
> > If you think this can be true elsewhere in filesystem as well,use the<br>
> > following script to identify the same.<br>
> ><br>
> > 1) <a href="https://github.com/gluster/glusterfs/blob/master/extras/" rel="noreferrer" target="_blank">https://github.com/gluster/<wbr>glusterfs/blob/master/extras/</a><br>
> > quota/xattr_analysis.py<br>
> > 2) <a href="https://github.com/gluster/glusterfs/blob/master/extras/" rel="noreferrer" target="_blank">https://github.com/gluster/<wbr>glusterfs/blob/master/extras/</a><br>
> > quota/log_accounting.sh<br>
> ><br>
> > Regards,<br>
> > Sanoj<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Mon, Aug 28, 2017 at 12:39 PM, Raghavendra Gowdappa <<br>
> > <a href="mailto:rgowdapp@redhat.com">rgowdapp@redhat.com</a>> wrote:<br>
> ><br>
> >> +sanoj<br>
> >><br>
> >> ----- Original Message -----<br>
> >> > From: "Matthew B" <<a href="mailto:matthew.has.questions@gmail.com">matthew.has.questions@gmail.<wbr>com</a>><br>
> >> > To: <a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a><br>
> >> > Sent: Saturday, August 26, 2017 12:45:19 AM<br>
> >> > Subject: [Gluster-devel] Quota Used Value Incorrect - Fix now or after<br>
> >> upgrade<br>
> >> ><br>
> >> > Hello,<br>
> >> ><br>
> >> > I need some advice on fixing an issue with quota on my gluster volume.<br>
> >> It's<br>
> >> > running version 3.7, distributed volume, with 7 nodes.<br>
> >> ><br>
> >> > # gluster --version<br>
> >> > glusterfs 3.7.13 built on Jul 8 2016 15:26:18<br>
> >> > Repository revision: git:// <a href="http://git.gluster.com/glusterfs.git" rel="noreferrer" target="_blank">git.gluster.com/glusterfs.git</a><br>
> >> > Copyright (c) 2006-2011 Gluster Inc. < <a href="http://www.gluster.com" rel="noreferrer" target="_blank">http://www.gluster.com</a> ><br>
> >> > GlusterFS comes with ABSOLUTELY NO WARRANTY.<br>
> >> > You may redistribute copies of GlusterFS under the terms of the GNU<br>
> >> General<br>
> >> > Public License.<br>
> >> ><br>
> >> > # gluster volume info storage<br>
> >> ><br>
> >> > Volume Name: storage<br>
> >> > Type: Distribute<br>
> >> > Volume ID: 6f95525a-94d7-4174-bac4-<wbr>e1a18fe010a2<br>
> >> > Status: Started<br>
> >> > Number of Bricks: 7<br>
> >> > Transport-type: tcp<br>
> >> > Bricks:<br>
> >> > Brick1: 10.0.231.50:/mnt/raid6-<wbr>storage/storage<br>
> >> > Brick2: 10.0.231.51:/mnt/raid6-<wbr>storage/storage<br>
> >> > Brick3: 10.0.231.52:/mnt/raid6-<wbr>storage/storage<br>
> >> > Brick4: 10.0.231.53:/mnt/raid6-<wbr>storage/storage<br>
> >> > Brick5: 10.0.231.54:/mnt/raid6-<wbr>storage/storage<br>
> >> > Brick6: 10.0.231.55:/mnt/raid6-<wbr>storage/storage<br>
> >> > Brick7: 10.0.231.56:/mnt/raid6-<wbr>storage/storage<br>
> >> > Options Reconfigured:<br>
> >> > changelog.changelog: on<br>
> >> > geo-replication.ignore-pid-<wbr>check: on<br>
> >> > geo-replication.indexing: on<br>
> >> > nfs.disable: no<br>
> >> > performance.readdir-ahead: on<br>
> >> > features.quota: on<br>
> >> > features.inode-quota: on<br>
> >> > features.quota-deem-statfs: on<br>
> >> > features.read-only: off<br>
> >> ><br>
> >> > # df -h /storage/<br>
> >> > Filesystem Size Used Avail Use% Mounted on<br>
> >> > 10.0.231.50:/storage 255T 172T 83T 68% /storage<br>
> >> ><br>
> >> ><br>
> >> > I am planning to upgrade to 3.10 (or 3.12 when it's available) but I<br>
> >> have a<br>
> >> > number of quotas configured, and one of them (below) has a very wrong<br>
> >> "Used"<br>
> >> > value:<br>
> >> ><br>
> >> > # gluster volume quota storage list | egrep "MEOPAR "<br>
> >> > /data/projects/MEOPAR 8.5TB 80%(6.8TB) 16384.0PB 17.4TB No No<br>
> >> ><br>
> >> ><br>
> >> > I have confirmed the bad value appears in one of the bricks current<br>
> >> xattrs,<br>
> >> > and it looks like the issue has been encountered previously on bricks<br>
> >> 04,<br>
> >> > 03, and 06: (gluster07 does not have a trusted.glusterfs.quota.size.1<br>
> >> as it<br>
> >> > was recently added)<br>
> >> ><br>
> >> > $ ansible -i hosts gluster-servers[0:6] -u <user> --ask-pass -m shell -b<br>
> >> > --become-method=sudo --ask-become-pass -a "getfattr --absolute-names -m<br>
> >> . -d<br>
> >> > -e hex /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR | egrep<br>
> >> > '^trusted.glusterfs.quota.<wbr>size'"<br>
> >> > SSH password:<br>
> >> > SUDO password[defaults to SSH password]:<br>
> >> ><br>
> >> > gluster02 | SUCCESS | rc=0 >><br>
> >> > trusted.glusterfs.quota.size=<wbr>0x0000011ecfa56c00000000000005<wbr>c<br>
> >> d6d000000000006d478<br>
> >> > trusted.glusterfs.quota.size.<wbr>1=<wbr>0x0000010ad4a4520000000000000<br>
> >> 12a0300000000000150fa<br>
> >> ><br>
> >> > gluster05 | SUCCESS | rc=0 >><br>
> >> > trusted.glusterfs.quota.size=<wbr>0x00000033b8e92200000000000004<wbr>c<br>
> >> de8000000000006b1a4<br>
> >> > trusted.glusterfs.quota.size.<wbr>1=<wbr>0x0000010dca277c0000000000000<br>
> >> 1297d0000000000015005<br>
> >> ><br>
> >> > gluster01 | SUCCESS | rc=0 >><br>
> >> > trusted.glusterfs.quota.size=<wbr>0x0000003d4d434800000000000005<wbr>7<br>
> >> 616000000000006afd2<br>
> >> > trusted.glusterfs.quota.size.<wbr>1=<wbr>0x00000133fe211e0000000000000<br>
> >> 5d161000000000006cfd4<br>
> >> ><br>
> >> > gluster04 | SUCCESS | rc=0 >><br>
> >> > trusted.glusterfs.quota.size=<wbr>0xffffff396f3e9400000000000004<wbr>d<br>
> >> 7ea0000000000068c62<br>
> >> > trusted.glusterfs.quota.size.<wbr>1=<wbr>0x00000106e672480000000000000<br>
> >> 1138f0000000000012fb2<br>
> >> ><br>
> >> > gluster03 | SUCCESS | rc=0 >><br>
> >> > trusted.glusterfs.quota.size=<wbr>0xfffffd02acabf000000000000003<wbr>5<br>
> >> 99000000000000643e2<br>
> >> > trusted.glusterfs.quota.size.<wbr>1=<wbr>0x00000114e20f5e0000000000000<br>
> >> 113b30000000000012fb2<br>
> >> ><br>
> >> > gluster06 | SUCCESS | rc=0 >><br>
> >> > trusted.glusterfs.quota.size=<wbr>0xffffff0c98de4400000000000005<wbr>3<br>
> >> 6e40000000000068cf2<br>
> >> > trusted.glusterfs.quota.size.<wbr>1=<wbr>0x0000013532664e0000000000000<br>
> >> 5e73f000000000006cfd4<br>
> >> ><br>
> >> > gluster07 | SUCCESS | rc=0 >><br>
> >> > trusted.glusterfs.quota.size=<wbr>0xfffffa3d7c1ba60000000000000a<wbr>9<br>
> >> ccb000000000005fd2f<br>
> >> ><br>
> >> > And reviewing the subdirectories of that folder on the impacted server<br>
> >> you<br>
> >> > can see that none of the direct children have such incorrect values:<br>
> >> ><br>
> >> > [root@gluster07 ~]# getfattr --absolute-names -m . -d -e hex<br>
> >> > /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR/*<br>
> >> > # file: /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR/<dir1 ><br>
> >> > ...<br>
> >> > trusted.glusterfs.quota.<wbr>7209b677-f4b9-4d82-a382-<wbr>0733620e6929<br>
> >> .contri=<wbr>0x000000fb68418200000000000000<wbr>74730000000000000dae<br>
> >> > trusted.glusterfs.quota.dirty=<wbr>0x3000<br>
> >> > trusted.glusterfs.quota.size=<wbr>0x000000fb68418200000000000000<wbr>7<br>
> >> 4730000000000000dae<br>
> >> ><br>
> >> > # file: /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR/<dir2 ><br>
> >> > ...<br>
> >> > trusted.glusterfs.quota.<wbr>7209b677-f4b9-4d82-a382-<wbr>0733620e6929<br>
> >> .contri=<wbr>0x0000000416d5f400000000000000<wbr>0baa0000000000000441<br>
> >> > trusted.glusterfs.quota.dirty=<wbr>0x3000<br>
> >> > trusted.glusterfs.quota.limit-<wbr>set=<wbr>0x0000010000000000ffffffffffff<wbr>ffff<br>
> >> > trusted.glusterfs.quota.size=<wbr>0x0000000416d5f400000000000000<wbr>0<br>
> >> baa0000000000000441<br>
> >> ><br>
> >> > # file: /mnt/raid6-storage/storage/<wbr>data/projects/MEOPAR/<dir3><br>
> >> > ...<br>
> >> > trusted.glusterfs.quota.<wbr>7209b677-f4b9-4d82-a382-<wbr>0733620e6929<br>
> >> .contri=<wbr>0x000000110f2c4e00000000000002<wbr>a76a000000000006ad7d<br>
> >> > trusted.glusterfs.quota.dirty=<wbr>0x3000<br>
> >> > trusted.glusterfs.quota.limit-<wbr>set=<wbr>0x0000020000000000ffffffffffff<wbr>ffff<br>
> >> > trusted.glusterfs.quota.size=<wbr>0x000000110f2c4e00000000000002<wbr>a<br>
> >> 76a000000000006ad7d<br>
> >> ><br>
> >> ><br>
> >> > Can I fix this on the current version of gluster (3.7) on just the one<br>
> >> brick<br>
> >> > before I upgrade? Or would I be better off upgrading to 3.10 and trying<br>
> >> to<br>
> >> > fix it then?<br>
> >> ><br>
> >> > I have reviewed information here:<br>
> >> ><br>
> >> > <a href="http://lists.gluster.org/pipermail/gluster-devel/2016-Februa" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>pipermail/gluster-devel/2016-<wbr>Februa</a><br>
> >> ry/048282.html<br>
> >> > <a href="http://lists.gluster.org/pipermail/gluster-users.old/2016-" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>pipermail/gluster-users.old/<wbr>2016-</a><br>
> >> September/028365.html<br>
> >> ><br>
> >> > It seems like since I am on Gluster 3.7 I can disable quotas and<br>
> >> re-enable<br>
> >> > and everything will get recalculated and increment the index on the<br>
> >> > quota.size xattr. But with the size of the volume that will take a very<br>
> >> long<br>
> >> > time.<br>
> >> ><br>
> >> > Could I simply mark the impacted directly as dirty on gluster07? Or<br>
> >> update<br>
> >> > the xattr directly as the sum of the size of dir1, 2, and 3?<br>
> >> ><br>
> >> > Thanks,<br>
> >> > -Matthew<br>
> >> ><br>
> >> > ______________________________<wbr>_________________<br>
> >> > Gluster-devel mailing list<br>
> >> > <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
> >> > <a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-devel</a><br>
> >><br>
> ><br>
> ><br>
><br>
</div></div></blockquote></div><br></div>