[Bugs] [Bug 1162060] New: gstatus: capacity (raw used) field shows wrong data

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 10 07:34:24 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1162060

            Bug ID: 1162060
           Summary: gstatus: capacity (raw used) field shows wrong data
           Product: GlusterFS
           Version: mainline
         Component: unclassified
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: surs at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

When gstatus is run without any options, the capacity displayed is wrong.
The (raw used) field constantly displays 12G.

[root at guido ~]# gstatus

     Product: RHSS v4            Capacity: 293.00 GiB(raw bricks)
      Status: HEALTHY                       12.00 GiB(raw used)
   Glusterfs: 3.4.0.68rhs                  146.00 GiB(usable from volumes)
  OverCommit: No                

[root at guido ~]# df -h /rhs/brick1/
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/RHS_vg1-RHS_lv1
                       81G  3.0G   78G   4% /rhs/brick1
[root at guido ~]# 

On client:

[root at bob-the-minion ~]# df -h /mnt/gluster
Filesystem            Size  Used Avail Use% Mounted on
10.70.34.100:gs       131G  6.0G  125G   5% /mnt/gluster


Version-Release number of selected component (if applicable):

[root at guido ~]# gstatus --version
gstatus 0.62


How reproducible:

Always.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list