[Gluster-devel] Get GFID for a file through libgfapi

Ankireddypalle Reddy areddy at commvault.com
Mon Jan 9 19:51:03 UTC 2017


Thanks. Even glusterfs.gfid.string doesn’t work.

From: Pranith Kumar Karampuri [mailto:pkarampu at redhat.com]
Sent: Monday, January 09, 2017 1:48 PM
To: Ankireddypalle Reddy
Cc: Gluster Devel (gluster-devel at gluster.org)
Subject: Re: [Gluster-devel] Get GFID for a file through libgfapi

Try getxattr for glusterfs.gfid.string may be?

On Mon, Jan 9, 2017 at 11:23 PM, Ankireddypalle Reddy <areddy at commvault.com<mailto:areddy at commvault.com>> wrote:
Hi,
        I am trying to extract the GFID for a file through libgfapi interface. When I try to extract the value of extended attribute glusterfs.gfid through libgfapi I get the errorno: 95.  This works for FUSE though. Is there a way to extract the GFID for a file through libgfapi.

Thanks and Regards,
Ram
***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************

_______________________________________________
Gluster-devel mailing list
Gluster-devel at gluster.org<mailto:Gluster-devel at gluster.org>
http://www.gluster.org/mailman/listinfo/gluster-devel



--
Pranith
***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20170109/8c2a13ad/attachment-0001.html>


More information about the Gluster-devel mailing list