[Gluster-users] How to find Filename for given gfid ?

Jörg Petersen joerg.h.petersen at googlemail.com
Fri Apr 26 09:39:47 UTC 2013


Hello,

   I have learnt (while investigating possible split-brain), that I get the
corresponding gfid to any file by
getfattr -n trusted.gfid --absolute-names -e hex $File

But now I'd like to know, how to find the Filename for any given GFID?
Otherwise it's impossible to figure out where the best data is?

>From /var/log/glusterfs/glustershd.log:
[2013-04-26 11:27:28.909597] E
[afr-self-heal-data.c:763:afr_sh_data_fxattrop_fstat_done]
0-data-ARCHIV-replicate-0: Unable to self-heal contents of
'<gfid:c1839120-67fa-4b37-8f7d-d118ff522b13>' (possible split-brain).
Please delete the file from all but the preferred subvolume.

Especially since the corresponding Brick-File
(/xxxx/vvvvvv/.glusterfs/c1/83/c1839120-67fa-4b37-8f7d-d118ff522b13) has
got the sam checksum, size and date on both bricks...

Thanks for any help...

Jörg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130426/51398052/attachment.html>


More information about the Gluster-users mailing list