Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1550982 - After setting storage.reserve limits, df from client shows increased volume used space though the mount point is empty
After setting storage.reserve limits, df from client shows increased volume u...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: posix (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity medium
: ---
: RHGS 3.4.0
Assigned To: Mohit Agrawal
Prasad Desala
:
Depends On:
Blocks: 1503137
  Show dependency treegraph
 
Reported: 2018-03-02 08:18 EST by Prasad Desala
Modified: 2018-09-07 02:27 EDT (History)
11 users (show)

See Also:
Fixed In Version: glusterfs-3.12.2-6
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-04 02:44:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2607 None None None 2018-09-04 02:45 EDT

  None (edit)
Description Prasad Desala 2018-03-02 08:18:26 EST
Description of problem:
======================
After setting storage.reserve volume option to 50, the used space increased from 2.4G to 97G though the mount point is empty.

Version-Release number of selected component (if applicable):
3.12.2-4.el7rhgs.x86_64

How reproducible:
always

Steps to Reproduce:
===================
1) create a x3 volume and start it.
2) FUSE mount on a client and make a note of df -h output.
3) Set storage.reserve volume set option to 50,
gluster volume set distrepx3 storage.reserve 50
4) Check df -h output from client.

After setting storage.reserve volume option to 50, the used space increased from 2.4G to 97G though the mount point is empty.

           Filesystem               Size  Used Avail Use% Mounted on
Before -->  node1:/distrepx3  193G  2.4G  193G   2% /mnt/distrepx3_new
After -->   node1:/distrepx3  193G   97G  193G  34% /mnt/distrepx3_new

Actual results:
===============
After setting storage.reserve limits, df from client shows increased volume used space though the mount point is empty.

Expected results:
=================
df -h volume used output is misleading, it has to show the actual used space.
Comment 12 Prasad Desala 2018-04-18 06:12:50 EDT
Verified this BZ on glusterfs version 3.12.2-7.el7rhgs.x86_64.

Set storage.reserve to 50%. df -h from client shows Used, Avail, Use% correct values.

df -h /mnt/distrepx3_new
Filesystem               Size  Used Avail Use% Mounted on
10.70.42.143:/distrepx3  193G   97G   96G  51% /mnt/distrepx3_new

Moving this BZ to Verified.
Comment 14 errata-xmlrpc 2018-09-04 02:44:11 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2607

Note You need to log in before you can comment on or make changes to this bug.