Bug 1163626

Summary: gstatus: Capacity usable from volumes is incorrect
Product: [Community] GlusterFS Reporter: Sachidananda Urs <surs>
Component: unclassifiedAssignee: Paul Cuzner <pcuzner>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, vbellur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 03:53:36 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 Sachidananda Urs 2014-11-13 07:24:19 UTC
[root@mater gstatus]# gstatus -vl
 
     Product: RHSS v2.1 u5       Capacity: 293.00 GiB(raw bricks)
      Status: HEALTHY                       14.00 GiB(raw used)
   Glusterfs: 3.4.0.70rhs                  146.00 GiB(usable from volumes)
  OverCommit: No                

Volume Information
        upgrade          UP - 4/4 bricks up - Distributed-Replicate
                         Capacity: (4% used) 7.00 GiB/146.00 GiB (used/total)
                         Self Heal:  4/ 4
                         Tasks Active: None
                         Protocols: glusterfs:on  NFS:on  SMB:on
                         Gluster Clients : 1

        upgrade--------- +
                         |
                Distribute (dht)
                         |
                         +-- Repl Set 0 (afr)
                         |     |
                         |     +--10.70.34.100:/rhs/brick1/u0r0(UP) 4.00 GiB/81.00 GiB 
                         |     |
                         |     +--10.70.34.101:/rhs/brick1/u0r0(UP) 4.00 GiB/81.00 GiB 
                         |
                         +-- Repl Set 1 (afr)
                               |
                               +--10.70.34.102:/rhs/brick1/u0r1(UP) 4.00 GiB/50.00 GiB 
                               |
                               +--10.70.34.103:/rhs/brick1/u0r1(UP) 4.00 GiB/81.00 GiB 


==========================================================================

The capacity usable from volumes is reported as:

146.00 GiB(usable from volumes)

However,

[root@bob-the-minion ~]# df -h /mnt/gluster
Filesystem            Size  Used Avail Use% Mounted on
10.70.34.100:upgrade  131G  7.2G  124G   6% /mnt/gluster


It is 131 GB. This field needs to be fixed.

Comment 1 Amar Tumballi 2018-08-29 03:53:36 UTC
Lot of time since no activity on this bug. We have either fixed it already or it is mostly not critical anymore!

Please re-open the bug if the issue is burning for you, or you want to take the bug to closure with fixes.