Bug 623902

Summary: Duplicate file appearing client side on an NFS share
Product: Red Hat Enterprise Linux 4 Reporter: ajtwatching
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED CANTFIX QA Contact: yanfu,wang <yanwang>
Severity: medium Docs Contact:
Priority: low    
Version: 4.8CC: jlayton
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-08 15:36:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ajtwatching 2010-08-13 05:35:10 UTC
Description of problem:

I have 2 NFS clients mounting the same export from a RHEL4.8 box. When looking on the client, 2 files with the same name, same inode are present in the same directory. One client is a RHEL4 host the other is a RHEL5 host.

However when viewing on the server, only one file is present in the directory.

How reproducible:

This NFS server sees tens of thousands of files passing through it daily. This is now the second time this issue has presented itself.

In order to fix it, the file has to be deleted and skipped. The file can be removed from either the client or the server.

NFS Server (RHEL 4.8)
==========

[root@net07 ~]# cat /etc/exports
/log/data/share x.x.x.125(rw,sync,anonuid=1111,all_squash)

[root@net07 ~]# ls -l / | grep log
lrwxrwxrwx    1 root root    11 Jul 10  2009 log -> /var/logmgr

[root@net07 ~]# mount | grep var
/dev/mapper/vg00-lv02 on /var type ext3 (rw)

[root@net07 ~]# cd /var/logmgr/data/share/processing/
[root@net07 processing]#

[root@net07 processing]# ls -lia proxyclient_main_cl6b1e5c54a5f8ac_20100811091204.lo?
1654785 -rw-r--r--  1 logmgr nfsnobody 160421 Aug 12 10:30 proxyclient_main_cl6b1e5c54a5f8ac_20100811091204.log
[root@net07 processing]#

NFS Client (RHEL 5.5)
==========

[root@net05 processing]# ls -lia proxyclient_main_cl6b1e5c54a5f8ac_20100811091204.lo?
1654785 -rw-r--r-- 1 1111 nfsnobody 160421 Aug 12 10:30 proxyclient_main_cl6b1e5c54a5f8ac_20100811091204.log
1654785 -rw-r--r-- 1 1111 nfsnobody 160421 Aug 12 10:30 proxyclient_main_cl6b1e5c54a5f8ac_20100811091204.log
[root@net05 processing]#


Regards,

Andrew.