Bug 803648 - The NFS mounted share shows different inodes on clients.
The NFS mounted share shows different inodes on clients.
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: nfs-utils (Show other bugs)
i386 Linux
unspecified Severity high
: rc
: ---
Assigned To: nfs-maint
Red Hat Kernel QE team
Depends On:
  Show dependency treegraph
Reported: 2012-03-15 06:56 EDT by Rituraj
Modified: 2012-06-20 09:32 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 09:32:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rituraj 2012-03-15 06:56:43 EDT
Description of problem:

This inode number is shown as different on a directory mounted from NFS - on different clients. When we move the directory name to different dir - the inode name shows SAME on both clients but when we move name to original name, again the inode difference is there. 
As a result of this the files created in the directory from one client does not reflect on another. This bug is related to bug numbers 327591 & 228801. 
I am opening this here again as the ERRATA for the earlier bugs was for 2.6.9-67 kernel, whereas we are runnning 2.6.9-87 kernel. The earlier bugs are closed.

Version-Release number of selected component (if applicable):
[root@ora-stage-ebs-app-4 ~]# rpm -qa | grep -i nfs
[root@ora-stage-ebs-app-4 ~]# uname -a
Linux ora-stage-ebs-app-4.vmware.com 2.6.9- #1 SMP Tue Sep 15 13:54:39 EDT 2009 i686 i686 i386 GNU/Linux
[root@ora-stage-ebs-app-4 ~]# cat /etc/issue
Enterprise Linux Enterprise Linux AS release 4 (October Update 8)
Kernel \r on an \m

How reproducible:

Has been happening on many clients on one directory. All other subdirectories are fine.

Steps to Reproduce:

oving directory name to a different name makes the inode appear as same on both NFS clients. When the directory name is back to original, the inode number is DIFFERENT on both clients.

As this NFS is from a NAS box, cant check from "server" side.
Comment 1 Fabio Olive Leite 2012-03-15 16:07:35 EDT
Please paste here the outputs of the commands you use to reproduce and verify this problem, so that we can have a clear understanding of what you mean by "inode difference".

Can you also provide a binary packet capture (tcpdump) containing the packets exchanged with the server during these operations? It will be very important to check the server responses in detail to understand this issue.

Comment 2 Rituraj 2012-03-21 09:32:56 EDT
The Inode number for "admin" subdirectory was shown differently on different clients. Finally we had to change the name of the folder to admin-1 - and create a symlink "admin" - which pointed to admin-1.
Though the symlink has different inode number on NFS mounted clients, it in turn points to admin-1 which has SAME inode number across all.

ls -li
total 1825992
2867351 lrwxrwxrwx   1 root    root          7 Mar 15 08:13 admin -> admin-1
4787546 drwxr-xr-x   8 applmgr dba        1024 Mar 20 13:23 admin-1
4045782 drwxr-xr-x   9 applmgr dba        1024 Mar 20 10:22 clone
2823871 drwxr-xr-x  10 applmgr dba        1024 Mar 13 02:15 conf
4040492 drwxr-xr-x  36 applmgr dba      926720 Mar 15 12:47 html

Please let me know what tcpdump o/p you need. As mentioned we cant do tcpdump as the server is NAS share.
Comment 3 Jiri Pallich 2012-06-20 09:32:42 EDT
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.

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