In case of a typo in volume name, gluster mount fails silently with return value of 0. root@odin:/opt/glusterfs/git/var/log/glusterfs# mount -t glusterfs odin:foo /mnt/drep/ root@odin:/opt/glusterfs/git/var/log/glusterfs# echo $? 0 log: [2011-05-28 21:39:50.135584] E [glusterfsd-mgmt.c:628:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server [2011-05-28 21:39:50.135749] E [glusterfsd-mgmt.c:696:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:foo) =================== Would be better if error message is thrown on stderr with return value greater than 0.
mount command issue is already fixed in master. Binary return value will be fixed with bug 762935 *** This bug has been marked as a duplicate of bug 1203 ***