Bug 764785 (GLUSTER-3053)

Summary: No proper error is shown when the mount point is not present
Product: [Community] GlusterFS Reporter: Sachidananda Urs <sac>
Component: coreAssignee: Anand Avati <aavati>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: chrisw, gluster-bugs, saurabh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sachidananda Urs 2011-06-19 16:23:39 UTC
While mounting GlusterFS if the mount point does not exist no proper error is shown but usage message is printed which is rather confusing.

# mount -t glusterfs hostname:foo /non/existing/dir
Usage:  mount.glusterfs <volumeserver>:<volumeid/volumeport> -o <options> <mountpoint>
Options:
man 8 mount.glusterfs

To display the version number of the mount helper:
mount.glusterfs --version

=====================

Print a directory does not exist error.

Comment 1 Anand Avati 2011-06-20 01:31:38 UTC
PATCH: http://patches.gluster.com/patch/7548 in master (Print error message to report missing mount point.)

Comment 2 Saurabh 2011-07-25 05:31:46 UTC
[root@centos-qa-client-2 ~]# mount -t glusterfs 10.1.12.135:/dr1 /mnt/blah_blah
ERROR: Mount point does not exist.
Usage:  mount.glusterfs <volumeserver>:<volumeid/volumeport> -o <options> <mountpoint>
Options:
man 8 mount.glusterfs

To display the version number of the mount helper: