[Gluster-users] mount glusterfs: ports

jayunit100 at gmail.com jayunit100 at gmail.com
Sun Dec 30 22:12:27 UTC 2012

The following command

mount -t glusterfs domU-12-31-39-00-A5-7B:111:PetShop /mnt/petshop

fails.  Luckily, I found that under /var/log/glusterfs there is a specific log file for this mount operation: 

It appears that its related to the "port number".  

[root at domU-12-31-39-00-A5-7B ~]# tail /var/log/glusterfs/mnt-petshop.log 
[2012-12-30 20:44:17.509907] E [client-handshake.c:1717:client_query_portmap_cbk] 0-PetShop-client-1: failed to get the port number for remote subvolume

I have several questions on this subject: 

1) How can I know what port my gluster server is using?  
2) Can I mount a gluster server as localhost (i.e. localhost:PetShop or ? 
3) Is it possible using a command similar to "gluster volume info" to show the ports that Bricks are serving on?  


[2012-12-30 20:44:17.510088] I [client.c:2090:client_rpc_notify] 0-PetShop-client-1: disconnected
[2012-12-30 20:44:17.527225] I [fuse-bridge.c:4193:fuse_graph_setup] 0-fuse: switched to graph 0
[2012-12-30 20:44:17.527727] I [fuse-bridge.c:3376:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.13 kernel 7.13
[2012-12-30 20:44:17.527882] E [dht-common.c:1372:dht_lookup] 0-PetShop-dht: Failed to get hashed subvol for /
[2012-12-30 20:44:17.528120] E [dht-common.c:1372:dht_lookup] 0-PetShop-dht: Failed to get hashed subvol for /
[2012-12-30 20:44:17.528168] W [fuse-bridge.c:513:fuse_attr_cbk] 0-glusterfs-fuse: 2: LOOKUP() / => -1 (Invalid argument)
[2012-12-30 20:44:17.535553] I [fuse-bridge.c:4093:fuse_thread_proc] 0-fuse: unmounting /mnt/petshop
[2012-12-30 20:44:17.536129] W [glusterfsd.c:831:cleanup_and_exit] (-->/lib64/libc.so.6(clone+0x6d) [0x3e9a4e5ccd] (-->/lib64/libpthread.so.0() [0x3e9ac077f1] (-->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xdd) [0x405cfd]))) 0-: received signum (15), shutting down
[2012-12-30 20:44:17.536160] I [fuse-bridge.c:4643:fini] 0-fuse: Unmounting '/mnt/petshop'.

Jay Vyas 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20121230/dc2f7d90/attachment.html>

More information about the Gluster-users mailing list