As of now (in 3.0.x releases) there is no proper solution.. but you can try

bash# getfattr -n trusted.glusterfs.location $filename

which gives the hostname of the machine which contains it.. (it gives only
one output even if you are using 'replicate')

Regards,
Amar

On Fri, Jul 9, 2010 at 1:57 PM, galaxmen <[email protected]> wrote:

> Help me please!!!
> Thank you!
>
>
> galaxmen wrote:
>
>> I have a question:
>> GlusterServers store files, and GlusterClient get files from them
>>
>> So, Have any API to know IP of GlusterServer store a particular file?
>>
>> Thank you very much!
>> _______________________________________________
>> Gluster-users mailing list
>> [email protected]
>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>
>>
> _______________________________________________
> Gluster-users mailing list
> [email protected]
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to