Bug 1021949 - Quota + Rebalance : Able to create files beyond the quota limit set after add brick and rebalance
Summary: Quota + Rebalance : Able to create files beyond the quota limit set after add...
Keywords:
Status: CLOSED DUPLICATE of bug 1002885
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterfs
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-22 11:46 UTC by senaik
Modified: 2015-09-01 12:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-23 06:21:57 UTC
Embargoed:


Attachments (Terms of Use)

Comment 2 senaik 2013-10-22 14:37:34 UTC
Issue seen in glusterfs 3.4.0.35rhs

Repeated the same steps as mentioned in Description above , able to create files upto 3.1GB when hard limit is set to 1GB 

[root@boost ~]# gluster v quota test list /dir1
                  Path                   Hard-limit Soft-limit   Used  Available
--------------------------------------------------------------------------------
/dir1                                      1.0GB       80%       3.1GB  0Bytes

 gluster v i test
 
Volume Name: test
Type: Distributed-Replicate
Volume ID: 7365ae59-ad1e-4ccd-8e82-a9377b957a3c
Status: Started
Number of Bricks: 3 x 2 = 6
Transport-type: tcp
Bricks:
Brick1: 10.70.34.86:/rhs/brick1/e1
Brick2: 10.70.34.85:/rhs/brick1/e2
Brick3: 10.70.34.88:/rhs/brick1/e3
Brick4: 10.70.34.89:/rhs/brick1/e4
Brick5: 10.70.34.89:/rhs/brick1/e5
Brick6: 10.70.34.86:/rhs/brick1/e6
Options Reconfigured:
features.quota: on


getfattr -d -m . -e hex /rhs/brick1/e1/dir1/
getfattr: Removing leading '/' from absolute path names
# file: rhs/brick1/e1/dir1/
trusted.gfid=0x50e4115ee9c142c5ac6b4d3a99c7f685
trusted.glusterfs.dht=0x000000010000000055555555aaaaaaa9
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x0000000014e80000
trusted.glusterfs.quota.dirty=0x3000
trusted.glusterfs.quota.limit-set=0x0000000040000000ffffffffffffffff
trusted.glusterfs.quota.size=0x0000000014e80000



getfattr -d -m . -e hex /rhs/brick1/e2/dir1/
getfattr: Removing leading '/' from absolute path names
# file: rhs/brick1/e2/dir1/
trusted.gfid=0x50e4115ee9c142c5ac6b4d3a99c7f685
trusted.glusterfs.dht=0x000000010000000055555555aaaaaaa9
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x0000000014e80000
trusted.glusterfs.quota.dirty=0x3000
trusted.glusterfs.quota.limit-set=0x0000000040000000ffffffffffffffff
trusted.glusterfs.quota.size=0x0000000014e80000


getfattr -d -m . -e hex /rhs/brick1/e3/dir1/getfattr: Removing leading '/' from absolute path names
# file: rhs/brick1/e3/dir1/
trusted.gfid=0x50e4115ee9c142c5ac6b4d3a99c7f685
trusted.glusterfs.dht=0x00000001000000000000000055555554
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x0000000013600000
trusted.glusterfs.quota.dirty=0x3000
trusted.glusterfs.quota.limit-set=0x0000000040000000ffffffffffffffff
trusted.glusterfs.quota.size=0x0000000013600000


getfattr -d -m . -e hex /rhs/brick1/e4/dir1/getfattr: Removing leading '/' from absolute path names
# file: rhs/brick1/e4/dir1/
trusted.gfid=0x50e4115ee9c142c5ac6b4d3a99c7f685
trusted.glusterfs.dht=0x00000001000000000000000055555554
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x0000000013600000
trusted.glusterfs.quota.dirty=0x3000
trusted.glusterfs.quota.limit-set=0x0000000040000000ffffffffffffffff
trusted.glusterfs.quota.size=0x0000000013600000


getfattr -d -m . -e hex /rhs/brick1/e5/dir1/
getfattr: Removing leading '/' from absolute path names
# file: rhs/brick1/e5/dir1/
trusted.gfid=0x50e4115ee9c142c5ac6b4d3a99c7f685
trusted.glusterfs.dht=0x0000000100000000aaaaaaaaffffffff
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x00000000a0a00000
trusted.glusterfs.quota.dirty=0x3000
trusted.glusterfs.quota.size=0x00000000a0a00000


getfattr -d -m . -e hex /rhs/brick1/e6/dir1/
getfattr: Removing leading '/' from absolute path names
# file: rhs/brick1/e6/dir1/
trusted.gfid=0x50e4115ee9c142c5ac6b4d3a99c7f685
trusted.glusterfs.dht=0x0000000100000000aaaaaaaaffffffff
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x00000000a0a00000
trusted.glusterfs.quota.dirty=0x3000
trusted.glusterfs.quota.size=0x00000000a0a00000

Comment 3 senaik 2013-10-23 06:21:57 UTC

*** This bug has been marked as a duplicate of bug 1002885 ***


Note You need to log in before you can comment on or make changes to this bug.