Bug 1061068

Summary: quota: Used field shows data in "PB" after deleting data from volume(happens again)
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Saurabh <saujain>
Component: quotaAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED WORKSFORME QA Contact: storage-qa-internal <storage-qa-internal>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: mzywusko, nlevinki, rhs-bugs, saujain, smohan, storage-qa-internal, vbellur, vmallika
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1196026 (view as bug list) Environment:
Last Closed: 2015-08-06 09:40:55 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:
Bug Depends On:    
Bug Blocks: 1196026    

Description Saurabh 2014-02-04 10:44:40 UTC
Description of problem:
A similar BZ 1010248 was filed earlier, since it is closed, filing a new BZ.

for the present issue, 
I created files and directories inside a directory. The volume was already having a quota enabled and limit set only of root of the volume. 

After that I tried to delete the data  using "rm -rf *"

and the issue is seen as, 
[root@quota5 ~]# gluster volume quota dist-rep list
                  Path                   Hard-limit Soft-limit   Used  Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                        100.0GB       80%   16384.0PB 100.0GB              No                   No


Version-Release number of selected component (if applicable):
glusterfs-3.4.0.58rhs-1.el6rhs.x86_64

How reproducible:
happened again on this build

Actual results:
Used field displays a worng value, i.e. 16384.0PB

Expected results:
it should display the amount of space occupied by data inside the volume.

Additional info:

Comment 2 Vijaikumar Mallikarjuna 2015-07-22 04:18:30 UTC
Hi Saurabh,

Now the quota-marker is refactored this issue might have fixed, can you please try to re-create the problem with glusterfs-3.7.1-10?

Comment 3 Vijaikumar Mallikarjuna 2015-07-30 10:25:32 UTC
I am not able to re-create the problem in the latest build.

Comment 4 Vijaikumar Mallikarjuna 2015-08-06 09:40:55 UTC
I am not able to re-create the problem. Please file a new bug if the issue is seen again in the latest build

Comment 6 Red Hat Bugzilla 2023-09-14 02:03:11 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days