Bug 764811 (GLUSTER-3079)

Summary: Directory listings duplicate file names
Product: [Community] GlusterFS Reporter: Jim <j.page>
Component: unclassifiedAssignee: Junaid <junaid>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.1CC: amarts, gluster-bugs, pkarampu, vagarwal, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
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 Amar Tumballi 2011-06-23 04:05:11 UTC
Please send us output of 'gluster volume info' and if you find anything in the logfile of glusterfs.

Comment 1 Jim 2011-06-23 04:15:15 UTC
I have removed IP addresses from the output.

gluster volume info

Volume Name: PrdData
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: prd87:/mnt/brick01/brick
Brick2: prd19:/mnt/brick01/brick
Options Reconfigured:
auth.allow:     ipaddress,ipaddress,ipaddress
nfs.disable: on

Nothing obvious shows up in the log when running the ls. But the following appears regularly in
/var/log/glusterfs/usr-local-data.log
[2011-06-23 16:20:42.339036] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-PrdData-client-0: remote operation failed: Stale NFS file handle
[2011-06-23 16:23:54.240372] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-PrdData-client-1: remote operation failed: Stale NFS file handle
[2011-06-23 16:23:54.240493] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-PrdData-client-0: remote operation failed: Stale NFS file handle
[2011-06-23 16:32:41.113647] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-PrdData-client-1: remote operation failed: Stale NFS file handle
[2011-06-23 16:32:41.113823] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-PrdData-client-0: remote operation failed: Stale NFS file handle
[2011-06-23 16:34:45.777493] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-PrdData-client-1: remote operation failed: Stale NFS file handle
[2011-06-23 16:34:45.777650] I [client3_1-fops.c:2228:client3_1_lookup_cbk] 0-PrdData-client-0: remote operation failed: Stale NFS file handle

Comment 2 Jim 2011-06-23 06:59:04 UTC
Several directory listings in a row of a static gluster 3.2.1 filesystem will provide unusual results. Sometimes showing a filename more than once. Other times missing files all together.

]# ls -l | wc -l &
]# ls -l | wc -l &
]# ls -l | wc -l &
]# ls -l | wc -l &

2748
2747
2759
2757

Comment 3 Pranith Kumar K 2011-08-01 03:53:52 UTC

*** This bug has been marked as a duplicate of bug 3138 ***