Bug 1367842

Summary: RFE - capacity info (df -h on a mount) is incorrect for a tiered volume
Product: [Community] GlusterFS Reporter: Dan Lambright <dlambrig>
Component: tieringAssignee: hari gowtham <hgowtham>
Status: CLOSED NEXTRELEASE QA Contact: bugs <bugs>
Severity: low Docs Contact: Dan Lambright <dlambrig>
Priority: low    
Version: 3.8CC: bugs, nbalacha, pcuzner
Target Milestone: ---Keywords: RFE, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1333220 Environment:
Last Closed: 2017-07-03 05:55:46 UTC Type: Bug
Regression: --- Mount Type: fuse
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1333220    
Bug Blocks: 1339689    

Description Dan Lambright 2016-08-17 15:38:23 UTC
+++ This bug was initially created as a clone of Bug #1333220 +++

Description of problem:
With a teired volume, a df -h shows a capacity equal to the hot + cold tiers. This is wrong, since the hot tier is a cache layer not an extension of the volumes capacity.

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

How reproducible:


Steps to Reproduce:
1. create a tiered volume
2. mount it and run df -h 


Actual results:
df -h shows a combined capacity view of hot+cold

Expected results:
df -h should show the capacity of the cold tier, since the cache layer is 'transient'. 

Additional info:

Comment 1 Vijay Bellur 2016-08-17 16:10:12 UTC
REVIEW: http://review.gluster.org/15192 (cluster/tier:  fix statfs for dht/tiered volumes) posted (#1) for review on release-3.8 by Dan Lambright (dlambrig)

Comment 2 Niels de Vos 2016-09-12 05:37:33 UTC
All 3.8.x bugs are now reported against version 3.8 (without .x). For more information, see http://www.gluster.org/pipermail/gluster-devel/2016-September/050859.html

Comment 3 Worker Ant 2017-05-23 08:47:07 UTC
REVIEW: https://review.gluster.org/17366 (cluster/tier:  fix statfs for dht/tiered volumes) posted (#1) for review on release-3.8 by hari gowtham (hari.gowtham005)

Comment 4 Worker Ant 2017-05-25 12:03:56 UTC
REVIEW: https://review.gluster.org/17366 (cluster/tier:  fix statfs for dht/tiered volumes) posted (#2) for review on release-3.8 by hari gowtham (hari.gowtham005)

Comment 5 hari gowtham 2017-07-03 05:55:46 UTC
The patch has been abandoned as it was not requested and 3.8 is about to reach EOL.