Created attachment 568175 [details] client2 log file Description of problem: Lookup of files from mount point reports Input/Output error. Version-Release number of selected component (if applicable): mainline How reproducible: often Steps to Reproduce: 1.create a distribute-replicate volume 2.start the volume 3.create a gluster,nfs mount from client1 and client2 4.start dd on gluster, nfs mount from client1 5. lookup of files from client2 mount points Actual results: Client1:- --------- [03/07/12 - 17:56:09 root@APP-CLIENT1 gfsc1]# dd if=/dev/zero of=gfsf1 bs=1M count=102400 [03/07/12 - 17:56:19 root@APP-CLIENT1 nfsc1]# dd if=/dev/zero of=nfsf1 bs=1M count=102400 Client2:- ----------- [03/07/12 - 12:52:49 root@Shwetha-Laptop gfsc1]# ls -lh ls: cannot access nfsf1: Input/output error ls: cannot access gfsf2: Input/output error ls: cannot access nfsf2: Input/output error ls: cannot access gfsf1: Input/output error total 0 ?????????? ? ? ? ? ? gfsf1 ?????????? ? ? ? ? ? gfsf2 ?????????? ? ? ? ? ? nfsf1 ?????????? ? ? ? ? ? nfsf2 Expected results: Should list the all the files without error. Additional info:
Lookup of files giving Invalid argument: Setup:- 1. Distribute-Replicate Volume (2 x 2) 2. auth.allow set to client1 2. dd running on gluster mount and nfs mount from client1 3. lookup performed on nfs mount from client2 [03/08/12 - 15:21:24 root@Shwetha-Laptop nfsc1]# df -h . Filesystem Size Used Avail Use% Mounted on 192.168.2.35:/dstore 100G 65M 100G 1% /mnt/nfsc1 [03/08/12 - 15:22:19 root@Shwetha-Laptop nfsc1]# ls -lh total 331M -rw-r--r--. 1 root root 331M Mar 8 2012 gfsf1 -rw-r--r--. 1 root root 0 Mar 8 2012 nfsf1 [03/08/12 - 15:23:05 root@Shwetha-Laptop nfsc1]# ls -lh total 331M -rw-r--r--. 1 root root 331M Mar 8 2012 gfsf1 -rw-r--r--. 1 root root 0 Mar 8 2012 nfsf1 [03/08/12 - 15:23:07 root@Shwetha-Laptop nfsc1]# ls -lh ls: cannot access gfsf1: Invalid argument total 0 -?????????? ? ? ? ? ? gfsf1 -rw-r--r--. 1 root root 0 Mar 8 2012 nfsf1 [03/08/12 - 15:23:08 root@Shwetha-Laptop nfsc1]# ls -lh ls: cannot access gfsf1: Invalid argument total 80M -?????????? ? ? ? ? ? gfsf1 -rw-r--r--. 1 root root 80M Mar 8 2012 nfsf1 [03/08/12 - 15:23:18 root@Shwetha-Laptop nfsc1]# ls -lh ls: cannot access gfsf1: Invalid argument total 189M -?????????? ? ? ? ? ? gfsf1 -rw-r--r--. 1 root root 248M Mar 8 2012 nfsf1 [03/08/12 - 15:23:28 root@Shwetha-Laptop nfsc1]# ls -lh ls: cannot access nfsf1: Invalid argument ls: cannot access gfsf1: Invalid argument
*** Bug 803209 has been marked as a duplicate of this bug. ***
*** Bug 802018 has been marked as a duplicate of this bug. ***
CHANGE: http://review.gluster.com/2963 (cluster/afr: set_read_child when xactions in progress in fresh lookup) merged in master by Anand Avati (avati)
verified on 3.3.0qa33.