Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 168986

Summary: Files disappear from nfs shares
Product: Red Hat Enterprise Linux 4 Reporter: Glen <glen>
Component: kernelAssignee: Stephen Tweedie <sct>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: jbaron
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: 2005-09-21 21:20:56 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 Glen 2005-09-21 20:39:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

Description of problem:
I've switched a couple nfs servers over to Red Hat Enterprise Linux 4, and now I've been noticing some strangeness.  At first I figured it was my older Fedora clients, but I get the same thing when I use RHEL 4 as the client.

What happens is that files seem to up and disappear from directories every so often.  For example I might type "ls", and it spits back the message "ls: .:No such file or directory", or some times a similar error for a file that resides in that directory.  Then, if I wait a few minutes ls lists the files as normal.

If it's any help, here's what an /etc/exports entry will typically look like:
/export/home/foo @trusted-servers(rw,no_root_squash,sync) @suspect-servers(rw,sync)

And here are the options I'm passing to the mount command on my clients:
-rw,bg,hard,intr,rsize=8192,wsize=8192

Version-Release number of selected component (if applicable):
kernel-smp-2.6.9-11.EL

How reproducible:
Sometimes

Steps to Reproduce:
1. Run ls in a directory inside an nfs share
2.
3.
  

Actual Results:  Sometimes ls acts strangely.

Expected Results:  I'd expect ls to just list files as normal.

Additional info:

Comment 2 Stephen Tweedie 2005-09-21 21:20:56 UTC
This is almost certainly an instance of a problem already found and fixed; the
fix will be released as part of the U2 kernel.  Please reopen if the U2 kernel
does not solve the problem.

The patch we are using to fix this problem is attached to bug 150759.  For
reference, you can find it directly at the url

https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=114644



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