From: Kris Vassallo <kris@linuxcertified.com>
To: nfs@lists.sourceforge.net
Subject: Stale File handles keep coming back
Date: Mon, 25 Apr 2005 14:07:33 -0700 [thread overview]
Message-ID: <1114463253.2487.73.camel@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 2520 bytes --]
I am experiencing a problem with stale file handles, and I have not been
able to find an answer in the archives nor has doing anything in the
readme helped. I apologize if an answer has already been posted
regarding an issue such as this. After many frustrating hours of
troubleshooting I am hoping for some help. The mail is long but I am
hoping that it answers all the questions.
I am experiencing the following problem: I have a group of ~20 nfs
clients (2.4.22-1.2115.nptlsmp) which are all mounting a /home directory
off of 1 NFS server (2.6.11-1.14_FC3smp); the server was upgraded FROM
2.4.22-1.2115.nptlsmp last week. All servers are running NFS v3 over
UDP.
As soon as I did the upgrade people started getting stale file
handles, so I shut down all clients and the server, booted the server
back up and then brought the clients back up so that everything would be
in sync. However, this did not resolve the issue.
I now have people complaining that if they do a ls in a specific
directory within their home directory, (this happens for all users in
their own private home directory, which I believe rules out the issue of
having someone else manipulating the file) they get an error thats says:
ls: .: Stale NFS file handle .
*What I don't understand is that if you were to touch a file within
that directory, all of a sudden the contents of the directory magically
become visible. Removing the directory, recopying the directory back,
and then using for a while works but then all of a sudden it goes stale
again!!
The following is the content of my /etc/exports
/home 10.113.1.0/26(sync,rw,no_wdelay,no_root_squash) \
10.113.1.64/26(sync,no_wdelay,rw) \
10.113.1.128/26(sync,no_wdelay,rw) \
10.113.1.192/26(sync,no_wdelay,rw)
Clients mount the share with defaults.
I am not changing anything in the /etc/exports file. The directory has
not actally been deleted as I can go to the server and do a ls on the
directory and see the contents of it (strangely this makes the stale
file handle go away). I have just added no_subtree_check to the exports
file and have not yet tested this. We have not hot swapped any hard
disks in our RAID array. This is an ext3 file system which I believe
supports permanent inode numbers. This is really weird and I can't think
of anything that would cause this but something with nfs and the 2.6.11
kernel?
Please CC me on any responses.
Thank you very much in advance for any help.
-Kris
[-- Attachment #2: Type: text/html, Size: 3248 bytes --]
next reply other threads:[~2005-04-25 21:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-25 21:07 Kris Vassallo [this message]
2005-04-26 12:27 ` Stale File handles keep coming back Neil Brown
2005-04-26 22:22 ` Kris Vassallo
2005-04-27 2:42 ` Neil Brown
2005-04-29 7:01 ` Frank Steiner
2005-04-29 8:00 ` Frank Steiner
2005-04-29 14:08 ` Trond Myklebust
2005-04-30 13:15 ` Frank Steiner
2005-04-30 16:29 ` Trond Myklebust
2005-05-02 6:24 ` Frank Steiner
2005-05-03 10:45 ` Frank Steiner
2005-05-03 11:11 ` Frank Steiner
2005-05-05 0:15 ` Kris Vassallo
2005-05-06 6:38 ` Frank Steiner
2005-05-09 6:04 ` Frank Steiner
2005-04-29 14:03 ` Frank Steiner
2005-05-03 21:21 ` Kris Vassallo
2005-05-04 5:44 ` Frank Steiner
2005-05-04 22:48 ` Kris Vassallo
2005-05-04 23:06 ` Trond Myklebust
2005-05-12 1:01 ` Kris Vassallo
2005-05-12 1:14 ` Neil Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1114463253.2487.73.camel@localhost.localdomain \
--to=kris@linuxcertified.com \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.