Thank you!

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

[r...@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
[r...@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 <[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

_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to