Bug 623902 - Duplicate file appearing client side on an NFS share
Summary: Duplicate file appearing client side on an NFS share
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: nfs-utils
Version: 4.8
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: yanfu,wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-13 05:35 UTC by ajtwatching
Modified: 2011-12-08 15:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-08 15:36:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.