Bug 764394 (GLUSTER-2662)

Summary: fuse: cd fails after some operations
Product: [Community] GlusterFS Reporter: Saurabh <saurabh>
Component: quotaAssignee: Junaid <junaid>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, raghavendra, vagarwal
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: fuse
Documentation: DNR CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Junaid 2011-04-04 06:30:20 UTC
Hi Saurabh,

I am not getting such an error. I am also running a dht settup.

Comment 1 Saurabh 2011-04-04 08:53:37 UTC
I have a distribute volume with quota enabled on it.

I was already a directory called test, under which I had some files. The problem happens is that if cd to this directory and then use ls inside it. Again do cd ..
it just says permission denied. Even cd to the mount point from other terminal says the same,


[root@centos-qa-client-1 ~]# cd /mnt/gluster-test/
[root@centos-qa-client-1 gluster-test]# ls
d1  d2  d3  test
[root@centos-qa-client-1 gluster-test]# ls -li
total 64
9240582 drwxr-xr-x 2 root root  4096 Apr  4 01:18 d1
9240584 drwxr-xr-x 2 root root  4096 Mar 29 05:59 d2
9240586 drwxr-xr-x 2 root root  4096 Mar 29 05:59 d3
9240588 drwxr-xr-x 2 root root 36864 Mar 31 22:45 test
[root@centos-qa-client-1 gluster-test]# 
[root@centos-qa-client-1 gluster-test]# cd d1
[root@centos-qa-client-1 d1]# ls
[root@centos-qa-client-1 d1]# cd d2
-bash: cd: d2: No such file or directory
[root@centos-qa-client-1 d1]# cd ../d2
[root@centos-qa-client-1 d2]# ls
[root@centos-qa-client-1 d2]# cd ../d3
[root@centos-qa-client-1 d3]# ls
[root@centos-qa-client-1 d3]# cd ../test
[root@centos-qa-client-1 test]# cd ..
[root@centos-qa-client-1 gluster-test]# cd -
/mnt/gluster-test/test
[root@centos-qa-client-1 test]# ls

file.1091  file.1280  file.147   file.1659  file.1848  file.236   file.425  file.614  file.803  file.993
file.1092  file.1281  file.1470  file.166   file.1849  file.237   file.426  file.615  file.804  file.994
file.1093  file.1282  file.1471  file.1660  file.185   file.238   file.427  file.616  file.805  file.995
file.1094  file.1283  file.1472  file.1661  file.1850  file.239   file.428  file.617  file.806  file.996
file.1095  file.1284  file.1473  file.1662  file.1851  file.24    file.429  file.618  file.807  file.997
file.1096  file.1285  file.1474  file.1663  file.1852  file.240   file.43   file.619  file.808  file.998
file.1097  file.1286  file.1475  file.1664  file.1853  file.241   file.430  file.62   file.809  file.999
[root@centos-qa-client-1 test]# cd ..
-bash: cd: ..: Permission denied

[root@centos-qa-client-1 ~]# cd /mnt/gluster-test
-bash: cd: /mnt/gluster-test: Permission denied
[root@centos-qa-client-1 ~]# 



under bricks dir the log file for this volume shows this,

[2011-04-04 01:28:52.889446] I [server-handshake.c:534:server_setvolume] 0-dist1-server: accepted client from 10.1.12.133:1016
[2011-04-04 01:29:18.955382] W [inode.c:835:inode_lookup] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/features/marker.so(marker_lookup_cbk+0x1c9) [0x2aaaabaa81c3] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/debug/io-stats.so(io_stats_lookup_cbk+0x18c) [0x2aaaabcbf1b4] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/protocol/server.so(server_lookup_cbk+0x558) [0x2aaaabee01fe]))) 0-: inode not found
[2011-04-04 01:30:53.371885] W [socket.c:1488:__socket_proto_state_machine] 0-tcp.dist1-server: reading from socket failed. Error (Transport endpoint is not connected), peer (10.1.12.133:1016)
[2011-04-04 01:30:53.372051] I [server.c:438:server_rpc_notify] 0-dist1-server: disconnected connection from 10.1.12.133:1016
[2011-04-04 01:30:53.372080] I [server-helpers.c:783:server_connection_destroy] 0-dist1-server: destroyed connection of centos-qa-client-1-7167-2011/04/04-01:28:52:599345-dist1-client-0
[2011-04-04 01:31:08.395921] I [server-handshake.c:534:server_setvolume] 0-dist1-server: accepted client from 10.1.12.133:1018
[2011-04-04 01:32:38.818247] W [inode.c:835:inode_lookup] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/features/marker.so(marker_lookup_cbk+0x1c9) [0x2aaaabaa81c3] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/debug/io-stats.so(io_stats_lookup_cbk+0x18c) [0x2aaaabcbf1b4] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/protocol/server.so(server_lookup_cbk+0x558) [0x2aaaabee01fe]))) 0-: inode not found
[2011-04-04 01:33:21.324248] W [inode.c:835:inode_lookup] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/features/marker.so(marker_lookup_cbk+0x1c9) [0x2aaaabaa81c3] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/debug/io-stats.so(io_stats_lookup_cbk+0x18c) [0x2aaaabcbf1b4] (-->/opt/glusterfs/3.2.1/inst//lib/glusterfs/3.2quotaqa5/xlator/protocol/server.so(server_lookup_cbk+0x558) [0x2aaaabee01fe]))) 0-: inode not found