[Bugs] [Bug 1288186] Double counting of quota

bugzilla at redhat.com bugzilla at redhat.com
Sun Dec 27 17:38:36 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1288186

Neil Van Lysel <nvanlysel at morgridge.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(nvanlysel at morgrid |
                   |ge.org)                     |



--- Comment #4 from Neil Van Lysel <nvanlysel at morgridge.org> ---
Hi Manikandan,

I enabled quotas on the volume again and set the "quota-deem-statfs" to "on".
The quota counts are no longer being double counted, instead they're just
completely incorrect:

[root at storage-1 ~]# gluster volume quota home list
                  Path                   Hard-limit Soft-limit   Used 
Available
--------------------------------------------------------------------------------
/test                                     50.0TB       80%       4.6TB  45.4TB

[root at client-1 ~]$ df -h /home/test
Filesystem                        Size  Used Avail Use% Mounted on
storage-1:home                    50T   24T   27T  47% /home

[root at client-1 ~]$ du -sh /home/test
110G    /home/test


Also, I'm seeing the following messages over and over in the brick logs on the
Gluster servers:
[2015-12-27 17:32:36.251053] E
[marker-quota.c:1830:mq_fetch_child_size_and_contri]
(-->/usr/lib64/glusterfs/3.5.5/xlator/features/changelog.so(changelog_setxattr_cbk+0xe3)
[0x7fbc69cbc9a3]
(-->/usr/lib64/glusterfs/3.5.5/xlator/features/access-control.so(posix_acl_setxattr_cbk+0xb9)
[0x7fbc69aad1e9]
(-->/usr/lib64/glusterfs/3.5.5/xlator/performance/io-threads.so(iot_setxattr_cbk+0xb9)
[0x7fbc6967cc79]))) 0-: Assertion failed: !"uuid null"
[2015-12-27 17:32:36.251085] E [posix.c:136:posix_lookup] 0-home-posix: null
gfid for path
/user/relax_source/mixed_H30_T40_W15_EC10_51017-51018_V030/673.op001-s23.grd
[2015-12-27 17:32:36.251115] E [posix.c:153:posix_lookup] 0-home-posix: lstat
on (null) failed: Invalid argument
[2015-12-27 17:32:36.251136] W
[marker-quota.c:1652:mq_update_inode_contribution] 0-home-marker: failed to get
size and contribution of path
(/user/relax_source/mixed_H30_T40_W15_EC10_51017-51018_V030/673.op001-s23.grd)(Invalid
argument)
[2015-12-27 17:32:36.251184] W [marker-quota.c:1416:mq_release_parent_lock]
(-->/usr/lib64/glusterfs/3.5.5/xlator/performance/io-threads.so(iot_lookup_cbk+0xd9)
[0x7fbc6967edf9] (-->/usr/lib64/libglusterfs.so.0(default_lookup_cbk+0xd9)
[0x34ae829469]
(-->/usr/lib64/glusterfs/3.5.5/xlator/features/marker.so(mq_update_inode_contribution+0x447)
[0x7fbc6925dd07]))) 0-home-marker: An operation during quota updation of path
(/user/relax_source/mixed_H30_T40_W15_EC10_51017-51018_V030/673.op001-s23.grd)
failed (Invalid argument)

Neil

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=LEI13K4yjI&a=cc_unsubscribe


More information about the Bugs mailing list