Bug 764487 (GLUSTER-2755)

Summary: [glusterfs-3.2.0qa12]: cd to fuse mount is not working for striped volume
Product: [Community] GlusterFS Reporter: Saurabh <saurabh>
Component: stripeAssignee: shishir gowda <sgowda>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: mainlineCC: gluster-bugs, nsathyan
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: RTNR Mount Type: ---
Documentation: DNR CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Saurabh 2011-04-14 07:19:03 UTC
Found the same for nfs


[root@centos-qa-client-1 ~]# mount -t nfs -o vers=3,nolock 10.1.12.134:/ds2 /mnt/nfs-test
mount: 10.1.12.134:/ds2 failed, reason given by server: No such file or directory
[root@centos-qa-client-1 ~]# ls /mnt/
g-dist2  g-dist3  g-dist4  g-diststrip  g-ds2  gluster-dir  gluster-test  nfs-dir  nfs-test
[root@centos-qa-client-1 ~]# mount -t nfs -o vers=3,nolock 10.1.12.134:/dist4 /mnt/nfs-test
[root@centos-qa-client-1 ~]# 
[root@centos-qa-client-1 ~]# 
[root@centos-qa-client-1 ~]# mount | grep nfs
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
10.1.10.199:/mnt/soho_storage/samba/shares/opt on /opt type nfs (rw,addr=10.1.10.199)
10.1.12.134:/dist4 on /mnt/nfs-test type nfs (rw,nfsvers=3,nolock,addr=10.1.12.134)
[root@centos-qa-client-1 ~]# 

here dist4 is just a distribute volume

Comment 1 Saurabh 2011-04-14 09:59:21 UTC
the brick file was created on the server after new installation

Comment 2 Saurabh 2011-04-14 10:16:11 UTC
Found this issue with striped volume only, tried this on two fresh volumes


[root@centos-qa-client-1 ~]# mkdir /mnt/g-ds2
[root@centos-qa-client-1 ~]# mount -t glusterfs 10.1.12.134:/ds2 /mnt/g-ds2
[root@centos-qa-client-1 ~]# cd /mnt/g-ds2
-bash: cd: /mnt/g-ds2: Transport endpoint is not connected
[root@centos-qa-client-1 ~]# ./glusterfs --version
-bash: ./glusterfs: No such file or directory
[root@centos-qa-client-1 ~]# /root/quota/inst/sbin/glusterfs --version
glusterfs 3.2.0qa12 built on Apr 14 2011 02:59:27
Repository revision: v3.2.0qa12
Copyright (c) 2006-2010 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU Affero General Public License.
[root@centos-qa-client-1 ~]# 


#########################################

[root@centos-qa-client-2 sbin]# ./gluster volume info ds2

Volume Name: ds2
Type: Stripe
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 10.1.12.134:/mnt/ds2
Brick2: 10.1.12.135:/mnt/ds2
[root@centos-qa-client-2 sbin]# 



[root@centos-qa-client-2 sbin]# ./glusterfs --version
glusterfs 3.2.0qa12 built on Apr 14 2011 02:08:31
Repository revision: v3.2.0qa12
Copyright (c) 2006-2010 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU Affero General Public License.
[root@centos-qa-client-2 sbin]#