Bug 1371101

Summary: [FEAT] provide a volume command to check the available "volume space"
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: glusterd2Assignee: Kaushal <kaushal>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs, kaushal, sasundar, spandura, vbellur
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: glusterd
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1029309 Environment:
Last Closed: 2018-11-20 09:10:17 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: 1029309    
Bug Blocks:    

Description Atin Mukherjee 2016-08-29 10:26:31 UTC
+++ This bug was initially created as a clone of Bug #1029309 +++

Description of problem:
=======================
It is useful if we have a volume command to get the available "volume space". Currently we should create a mount and check the space available in the volume using df commmand only. 

Version-Release number of selected component (if applicable):
==============================================================
glusterfs 3.4.0.35.1u2rhs built on Oct 21 2013 14:00:58

--- Additional comment from RHEL Product and Program Management on 2013-11-12 01:55:02 EST ---

Since this issue was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from Atin Mukherjee on 2015-12-24 04:53:34 EST ---

gluster volume status <volname> detail does provide the space of individual bricks, however having them aggregated based on the type of volume is nice to have and we will try to have that functionality in GlusterD 2.0.

Comment 1 Kaushal 2016-08-30 12:12:53 UTC
This would require glusterd to mount the volumes to get the information on the space available. Not too hard, but it is not something I'd like glusterd to do. Let's discuss this in the future, when we get close to implementing it.

Comment 2 Vijay Bellur 2018-11-20 09:42:27 UTC
Migrated to github:

https://github.com/gluster/glusterfs/issues/601

Please follow the github issue for further updates on this bug.