Bug 1319706

Summary: Add a script that converts the gfid-string of a directory into absolute path name w.r.t the brick path.
Product: [Community] GlusterFS Reporter: Ravishankar N <ravishankar>
Component: scriptsAssignee: Ravishankar N <ravishankar>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1320367 (view as bug list) Environment:
Last Closed: 2016-06-16 14:01:05 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:    
Bug Blocks: 1320367    

Description Ravishankar N 2016-03-21 11:13:30 UTC
Description of problem:

Add a script that converts the gfid-string of a directory into absolute path name w.r.t the brick path.

Comment 1 Vijay Bellur 2016-03-21 11:15:21 UTC
REVIEW: http://review.gluster.org/13797 (extras:add gfid-to-dirname.sh) posted (#1) for review on master by Ravishankar N (ravishankar)

Comment 2 Vijay Bellur 2016-03-22 01:14:45 UTC
REVIEW: http://review.gluster.org/13797 (extras:add gfid-to-dirname.sh) posted (#2) for review on master by Ravishankar N (ravishankar)

Comment 3 Vijay Bellur 2016-03-23 02:24:32 UTC
COMMIT: http://review.gluster.org/13797 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit afbdcda3f4d6ffb906976064e0fa6f6b824718c8
Author: Ravishankar N <ravishankar>
Date:   Mon Mar 21 16:38:25 2016 +0530

    extras:add gfid-to-dirname.sh
    
    Add a script that converts the gfid-string of a directory into absolute
    path name w.r.t the brick path.
    
    Example:gfid-to-dirname.sh /home/ravi/bricks/brick1 e9c81321-f009-41b0-a009-cd77888c217e
    Location of the directory corresponding to gfid:e9c81321-f009-41b0-a009-cd77888c217e is /home/ravi/bricks/brick1/d1/d2/d3/d4/d5/d6/d7/
    
    Change-Id: I276ddf9c4f3d11a5b1932286d848b00b5ea1895d
    BUG: 1319706
    Signed-off-by: Ravishankar N <ravishankar>
    Reviewed-on: http://review.gluster.org/13797
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: bipin kunal <kunalbipin>
    Tested-by: bipin kunal <kunalbipin>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 4 Niels de Vos 2016-06-16 14:01:05 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.8.0, please open a new bug report.

glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user