Bug 1292073
Summary: | quota + tiering : files are created even after disk quota exceeds | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Anil Shah <ashah> |
Component: | quota | Assignee: | Vijaikumar Mallikarjuna <vmallika> |
Status: | CLOSED WORKSFORME | QA Contact: | Vinayak Papnoi <vpapnoi> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | ashah, byarlaga, rcyriac, rhs-bugs, sanandpa, smohan, storage-qa-internal, vmallika, vpapnoi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-07 03:07:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anil Shah
2015-12-16 12:20:30 UTC
I found a similar issue with plain DHT volume 1) created a volume with 1 brick 2) enable quota 3) set limit on '/' and a sub dir '/dir' 4) add brick 5) mount a volume and send lookups 6) directories are created in the newly added brick but layout xattr and quota limit xattrs are not healed Xattrs from existing brick root dir: # getfattr /var/opt/gluster/bricks/b1/dir getfattr: Removing leading '/' from absolute path names # file: var/opt/gluster/bricks/b1/dir security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.gfid=0x00000000000000000000000000000001 trusted.glusterfs.dht=0x000000010000000000000000ffffffff trusted.glusterfs.quota.dirty=0x3000 trusted.glusterfs.quota.limit-set.1=0x0000000000000400ffffffffffffffff trusted.glusterfs.quota.size.1=0x000000000000000000000000000000010000000000000004 trusted.glusterfs.volume-id=0x9b6dc7b03c0d49c6aab4229cbdc1b659 Xattrs from existing brick sub dir: # getfattr /var/opt/gluster/bricks/b1/dir/dir getfattr: Removing leading '/' from absolute path names # file: var/opt/gluster/bricks/b1/dir/dir security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.gfid=0x7888a8aadf7346a389493d667d322898 trusted.glusterfs.dht=0x000000010000000000000000ffffffff trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri.1=0x000000000000000000000000000000010000000000000001 trusted.glusterfs.quota.dirty=0x3000 trusted.glusterfs.quota.limit-set.1=0x0000000000000400ffffffffffffffff trusted.glusterfs.quota.size.1=0x000000000000000000000000000000010000000000000001 ---------------------------- Xattrs from newly added brick root dir: # getfattr /var/opt/gluster/bricks/b2/dir getfattr: Removing leading '/' from absolute path names # file: var/opt/gluster/bricks/b2/dir security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.gfid=0x00000000000000000000000000000001 trusted.glusterfs.quota.dirty=0x3000 trusted.glusterfs.quota.size.1=0x000000000000000000000000000000010000000000000004 trusted.glusterfs.volume-id=0x9b6dc7b03c0d49c6aab4229cbdc1b659 Xattrs from newly added brick sub dir: # getfattr /var/opt/gluster/bricks/b2/dir/dir getfattr: Removing leading '/' from absolute path names # file: var/opt/gluster/bricks/b2/dir/dir security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000 trusted.gfid=0x7888a8aadf7346a389493d667d322898 trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri.1=0x000000000000000000000000000000000000000000000001 trusted.glusterfs.quota.size.1=0x000000000000000000000000000000000000000000000001 Volume info: Volume Name: vol1 Type: Distribute Volume ID: 9b6dc7b0-3c0d-49c6-aab4-229cbdc1b659 Status: Started Number of Bricks: 2 Transport-type: tcp Bricks: Brick1: rh1:/var/opt/gluster/bricks/b1/dir Brick2: rh1:/var/opt/gluster/bricks/b2/dir Options Reconfigured: features.quota-deem-statfs: on features.inode-quota: on features.quota: on performance.readdir-ahead: on quota limit xattrs are not healed during directory creation when brick added or tier attached. Changing the component to DHT Hi Anil, Problem I mentioned in comment# 2 was because of my environment problem. /usr/local/sbin was not set in my PATH environment and hence, hook script was not executed. Could you please try to re-create this problem? Thanks, Vijay I am not able to re-create the problem. Please file a new bug if the issue is found in 3.1.3 |