Bug 764785 (GLUSTER-3053) - No proper error is shown when the mount point is not present
Summary: No proper error is shown when the mount point is not present
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3053
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-06-19 16:23 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:


Attachments (Terms of Use)

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:


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