Description of problem: Missing default value for "export-statfs-size" in posix option table. When Volumes are mounted using Glusterd2, it treats this value as "off" since no default value is available in options table. How reproducible: 100% with Glusterd2 Steps to Reproduce: 1. Create and Start the Volume using Glusterd2 and glustercli 2. Mount the Volume using mount command 3. Check the Volume size using `df` command. Actual results: df shows size of Volume as zero when mounted using Glusterd2 Expected results: df should show actual size of Volume when mounted using Glusterd2
REVIEW: https://review.gluster.org/21362 (posix: Fix exporting default value for `export-statfs-size`) posted (#1) for review on release-5 by Aravinda VK
COMMIT: https://review.gluster.org/21362 committed in release-5 by "Aravinda VK" <avishwan> with a commit message- posix: Fix exporting default value for `export-statfs-size` No default value was specified for `export-statfs-size` in posix option table. Glusterd2 sets default value as `off` since the option type is `bool`. Posix treats `export-statfs-size=on` if not specified in volfile(That means default value is `on`) This patch sets default value as `on` > Change-Id: I5c6341183be9b62a78fdbc94621220f9284e1382 > updates: #302 > Signed-off-by: Aravinda VK <avishwan> (cherry picked from commit 07088d95e450f847722e5decbfa5da18a0dbd9de) Change-Id: Ib6b3accdb9921376c16040bd2312b99b0226a26f Fixes: bz#1636842 Signed-off-by: Aravinda VK <avishwan>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-5.0, please open a new bug report. glusterfs-5.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://lists.gluster.org/pipermail/announce/2018-October/000115.html [2] https://www.gluster.org/pipermail/gluster-users/