Bug 1163699

Summary: gstatus: -b flag doesn't provide much useful information on self-heal
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:27 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 10:19:51 UTC
Description of problem:

gstatus -b does not provide any information on self-heal

For example:

[root@mater gstatus]# gstatus -b
 
     Product: RHSS v2.1 u5       Capacity: 293.00 GiB(raw bricks)
      Status: HEALTHY                       15.00 GiB(raw used)
   Glusterfs: 3.4.0.70rhs                  146.00 GiB(usable from volumes)
  OverCommit: No                

[root@mater gstatus]# gstatus
 
     Product: RHSS v2.1 u5       Capacity: 293.00 GiB(raw bricks)
      Status: HEALTHY                       15.00 GiB(raw used)
   Glusterfs: 3.4.0.70rhs                  146.00 GiB(usable from volumes)
  OverCommit: No                

[root@mater gstatus]# 

In the above output gstatus and gstatus -b are much the same.

If I use -b with -v I see information on self-heal.

[root@mater gstatus]# gstatus -bv
 
     Product: RHSS v2.1 u5       Capacity: 293.00 GiB(raw bricks)
      Status: HEALTHY                       15.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   Heal backlog of 8866 files
                         Tasks Active: None
                         Protocols: glusterfs:on  NFS:on  SMB:on
                         Gluster Clients : 1

Comment 1 Paul Cuzner 2014-11-14 21:27:21 UTC
So is the request that -b is only allowed on conjunction with -a or -v?

You're right - only when you look at the volume level, does -b become relevant.

Cheers,

PC

Comment 2 Sachidananda Urs 2014-11-18 06:18:31 UTC
Paul, yes. Thanks.

Comment 3 Amar Tumballi 2018-08-29 03:53:27 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.