Bug 764687 (GLUSTER-2955) - Mount fails silently
Summary: Mount fails silently
Keywords:
Status: CLOSED DUPLICATE of bug 762935
Alias: GLUSTER-2955
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anand Avati
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-28 16:16 UTC by Sachidananda Urs
Modified: 2015-09-01 23:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sachidananda Urs 2011-05-28 16:16:24 UTC
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.

Comment 1 Amar Tumballi 2011-07-15 05:38:29 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.