Bug 1320367 - Add a script that converts the gfid-string of a directory into absolute path name w.r.t the brick path.
Summary: Add a script that converts the gfid-string of a directory into absolute path ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: scripts
Version: 3.7.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ravishankar N
QA Contact:
URL:
Whiteboard:
Depends On: 1319706
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-23 02:53 UTC by Ravishankar N
Modified: 2016-04-19 07:00 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.7.10
Clone Of: 1319706
Environment:
Last Closed: 2016-04-19 07:00:49 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Ravishankar N 2016-03-23 02:53:09 UTC
+++ This bug was initially created as a clone of Bug #1319706 +++

Description of problem:

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

--- Additional comment from Vijay Bellur on 2016-03-21 07:15:21 EDT ---

REVIEW: http://review.gluster.org/13797 (extras:add gfid-to-dirname.sh) posted (#1) for review on master by Ravishankar N (ravishankar)

--- Additional comment from Vijay Bellur on 2016-03-21 21:14:45 EDT ---

REVIEW: http://review.gluster.org/13797 (extras:add gfid-to-dirname.sh) posted (#2) for review on master by Ravishankar N (ravishankar)

--- Additional comment from Vijay Bellur on 2016-03-22 22:24:32 EDT ---

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 1 Vijay Bellur 2016-03-23 02:54:46 UTC
REVIEW: http://review.gluster.org/13812 (extras:add gfid-to-dirname.sh) posted (#1) for review on release-3.7 by Ravishankar N (ravishankar)

Comment 2 Vijay Bellur 2016-03-25 03:56:56 UTC
COMMIT: http://review.gluster.org/13812 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) 
------
commit 7b3d848dd711e43453f46ef06056c2b92536c201
Author: Ravishankar N <ravishankar>
Date:   Mon Mar 21 16:38:25 2016 +0530

    extras:add gfid-to-dirname.sh
    
    Backport of http://review.gluster.org/#/c/13797/
    
    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: 1320367
    Signed-off-by: Ravishankar N <ravishankar>
    (cherry picked from commit afbdcda3f4d6ffb906976064e0fa6f6b824718c8)
    Reviewed-on: http://review.gluster.org/13812
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 3 Kaushal 2016-04-19 07:00:49 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.7.10, please open a new bug report.

glusterfs-3.7.10 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://www.gluster.org/pipermail/gluster-users/2016-April/026164.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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