[Gluster-users] How to know (IP of GlusterServer) store a File in a GlusterFS System?

galaxmen galaxmen at gmail.com
Mon Jul 12 04:02:06 UTC 2010


Thank you!

But I'm using this command on client, it not show IP of file?

[root at sv1 ~]# getfattr -n trusted.glusterfs.location /mnt/glfs/testnew/f1
getfattr: Removing leading '/' from absolute path names
# file: mnt/glfs/testnew/f1
trusted.glusterfs.location
[root at sv1 ~]#

Have not any IP address?

I'm running distribute 10 server, 1 client!


Amar Tumballi wrote:
> 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 <galaxmen at gmail.com> 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
>>> Gluster-users at gluster.org
>>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>>
>>>
>>>       
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>
>>     
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>   




More information about the Gluster-users mailing list