Bug 764897 (GLUSTER-3165) - quota with object storage,exceeding limit slightly
Summary: quota with object storage,exceeding limit slightly
Keywords:
Status: CLOSED DUPLICATE of bug 765153
Alias: GLUSTER-3165
Product: GlusterFS
Classification: Community
Component: quota
Version: 3.2.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-13 13:00 UTC by Saurabh
Modified: 2011-09-20 06:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Saurabh 2011-07-13 13:00:09 UTC
I have a setup for a distribute-replicate volume, 
the data is getting created inside sub-dirs using the object-storage integration,
at one point the limit is hit and then I am still trying to PUT data in a new subdir which should get created automatically if quota limit is not hit.

here the new dir does not getting created as expected but still the quota limit gets exceeded slightly.

logs are here,

1. quota is hit:-
   ------------

root@Unbuntu:/mnt/swift/drep31/cont1# /root/glusterfs/inst/sbin/gluster volume quota drep31 list
	path		  limit_set	     size
----------------------------------------------------------------------------------
/cont1/dir              1048576               823296
/                    1073741824           1073135616
root@Unbuntu:/mnt/swift/drep31/cont1# 
root@Unbuntu:/mnt/swift/drep31/cont1# 
root@Unbuntu:/mnt/swift/drep31/cont1# 
root@Unbuntu:/mnt/swift/drep31/cont1# ls
1GBfile  dir1   dir2  dir4  dir6  dir8  f.0  f.10  f.12  f.16  f.18  f.2   f.3  f.5  f.7  f.9
dir      dir10  dir3  dir5  dir7  dir9  f.1  f.11  f.13  f.17  f.19  f.20  f.4  f.6  f.8


2. trying to again put data inside a new dir

using this command
for i in {0..25}; do curl -X PUT -T /root/f.$i -H 'X-Auth-Token: AUTH_tkc6cfff4a9322489c842ef1bb48437941' https://10.1.12.25:443/v1/AUTH_drep31/cont1/dir11/ -k; done



root@Unbuntu:/mnt/swift/drep31/cont1# /root/glusterfs/inst/sbin/gluster volume quota drep31 list
	path		  limit_set	     size
----------------------------------------------------------------------------------
/cont1/dir              1048576               823296
/                    1073741824           1074475008


root@Unbuntu:/mnt/swift/drep31/cont1# ls
1GBfile  dir1   dir2  dir4  dir6  dir8  f.0  f.10  f.12  f.16  f.18  f.2   f.3  f.5  f.7  f.9
dir      dir10  dir3  dir5  dir7  dir9  f.1  f.11  f.13  f.17  f.19  f.20  f.4  f.6  f.8

Comment 1 Amar Tumballi 2011-09-20 03:06:07 UTC

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


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