Bug 1254421 - glusterd fails to get the inode size for a brick
Summary: glusterd fails to get the inode size for a brick
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.6.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Atin Mukherjee
QA Contact:
URL:
Whiteboard:
: 1173909 (view as bug list)
Depends On: 1130462
Blocks: glusterfs-3.6.5
TreeView+ depends on / blocked
 
Reported: 2015-08-18 05:29 UTC by Atin Mukherjee
Modified: 2016-03-10 07:36 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.6.5
Doc Type: Bug Fix
Doc Text:
Clone Of: 1130462
Environment:
Last Closed: 2015-08-27 13:06:39 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Atin Mukherjee 2015-08-18 05:29:57 UTC
+++ This bug was initially created as a clone of Bug #1130462 +++

Description of problem:
It seems that the inode size of a brick is never set correctly. The command

   # gluster volume status $PATH_TO_BRICK detail

always fails and sets the "inode size" to N/A.

Version-Release number of selected component (if applicable):
any?

How reproducible:
100%

Steps to Reproduce:
1. gluster volume status $PATH_TO_BRICK detail

Actual results:

Status of volume: bug-1081016
------------------------------------------------------------------------------
Brick                : Brick vm130-111.example.com:/bricks/bug-1081016/data
Port                 : 49152               
Online               : Y                   
Pid                  : 24647               
File System          : xfs                 
Device               : /dev/mapper/vg_bricks-bug--1081016
Mount Options        : rw                  
Inode Size           : N/A                 
Disk Space Free      : 481.5MB             
Total Disk Space     : 507.3MB             
Inode Count          : 524288              
Free Inodes          : 524275 

Expected results:

Status of volume: bug-1081016
------------------------------------------------------------------------------
Brick                : Brick vm130-111.example.com:/bricks/bug-1081016/data
Port                 : 49152               
Online               : Y                   
Pid                  : 24647               
File System          : xfs                 
Device               : /dev/mapper/vg_bricks-bug--1081016
Mount Options        : rw                  
Inode Size           : 256                 
Disk Space Free      : 481.5MB             
Total Disk Space     : 507.3MB             
Inode Count          : 524288              
Free Inodes          : 524275 

Additional info:

--- Additional comment from Anand Avati on 2014-08-15 06:14:33 EDT ---

REVIEW: http://review.gluster.org/8492 (glusterd: really get the inode size for a brick) posted (#1) for review on master by Niels de Vos (ndevos)

--- Additional comment from Anand Avati on 2014-10-28 01:48:32 EDT ---

COMMIT: http://review.gluster.org/8492 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit b2ae71dbcf1b932abc16f096eee74d50aa823b04
Author: Niels de Vos <ndevos>
Date:   Fri Aug 15 11:13:46 2014 +0200

    glusterd: really get the inode size for a brick
    
    The device to get the inode size from does not get passed to the tool
    (tune2fs, xfs_info or the like) that is called. This is probably just an
    oversight. While correcting this, cleanup some bits of the function too.
    
    Change-Id: Ida45852cba061631fb304bc7dd5286df1a808010
    BUG: 1130462
    Signed-off-by: Niels de Vos <ndevos>
    Reviewed-on: http://review.gluster.org/8492
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

--- Additional comment from Niels de Vos on 2015-05-14 13:27:09 EDT ---

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-3.7.0, please open a new bug report.

glusterfs-3.7.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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

--- Additional comment from Niels de Vos on 2015-05-14 13:35:32 EDT ---

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-3.7.0, please open a new bug report.

glusterfs-3.7.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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

--- Additional comment from Niels de Vos on 2015-05-14 13:37:54 EDT ---

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-3.7.0, please open a new bug report.

glusterfs-3.7.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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

--- Additional comment from Niels de Vos on 2015-05-14 13:43:18 EDT ---

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-3.7.0, please open a new bug report.

glusterfs-3.7.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] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 1 Anand Avati 2015-08-18 05:33:03 UTC
REVIEW: http://review.gluster.org/11941 (glusterd: really get the inode size for a brick) posted (#1) for review on release-3.6 by Atin Mukherjee (amukherj)

Comment 2 Raghavendra Bhat 2015-08-27 13:06:39 UTC
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-3.6.5, please open a new bug report.

glusterfs-3.6.5 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] http://www.gluster.org/pipermail/gluster-devel/2015-August/046570.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 3 Niels de Vos 2016-03-10 05:59:25 UTC
*** Bug 1173909 has been marked as a duplicate of this bug. ***


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