LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2008, 02:36 AM   #1
mpnorth
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Rep: Reputation: 0
Unhappy Stale NFS File Handle problem


Hi

I wasn't aware that I even had NFS on my machine ( Suse 11.0) I have found NFS client in Yast and I have uninstalled it. I have not used NFS and have no requirement to do so.

My problem is that a number of files and directories on my system cannot be "stated" for example

Suse-Raid:/home/martin # cd .VirtualBox
-bash: cd: .VirtualBox: Stale NFS file handle

This obviously makes them unusable. I have tried rebooting and running fsck, which finds no problems.

I guess this is just a flag on the files that has been set, does anybody know how to reset it ?

I asked this question in the forum on opensuse.org but got absolutely no response, hopefully here I will find somebody to help.

Regards
 
Old 08-08-2008, 07:49 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Just to double check, what's the output of the commands:

Code:
mount
cat /etc/fstab
cat /etc/auto.master
ps -aux | egrep 'automount|nfs'
Stale file handle error occurs when an object on the NFS server has been pulled out from under a client, and the client tries to access a file or directory from the NFS mounted file system. There is no flag attached to files. Rather this problem is noticed when the kernel is doing path traversal.
 
Old 08-09-2008, 06:50 AM   #3
mpnorth
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
This is what I get.............................


cat /etc/fstab............

/dev/mapper/sil_ahbhcacaciba_part6 / ext3 acl,user_xattr 1 1
/dev/mapper/sil_ahbhcacaciba_part5 /boot ext3 acl,user_xattr 1 2
/dev/mapper/sil_ahbhcacaciba_part7 /home ext3 acl,user_xattr 1 2
/dev/mapper/sil_ahbhcacaciba_part8 /Archive/SCSIPar8 ext3 acl,user_xattr 1 2
/dev/sdc1 /NonRaid/windows/XP ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
/dev/sdc2 swap swap
/dev/sdc4 /NonRaid/Archives/HD0Par4 ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/sdd1 /NonRaid/MCE ext3 acl,user_xattr 1 2
/dev/sdd2 /NonRaid/linux2 ext3 acl,user_xattr 1 2
/dev/sdd3 /NonRaid/linux3 ext3 acl,user_xattr 1 2


Suse-Raid:~ # cat /etc/auto.master
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
#/misc /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
#/net -hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master


Suse-Raid:~ # ps -aux | egrep 'automount | nfs'
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root 647 0.0 0.0 1992 664 pts/0 S+ 12:49 0:00 egrep automount | nfs


Does this help ?
 
Old 08-09-2008, 10:53 AM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Ok, it appears this is an issue with LVM (logical volume manager). I don't know the solution, but here is a reference that can help move you forward focusing on LVM instead of NFS:

http://linux.derkeiler.com/Mailing-L.../msg01102.html
 
Old 08-10-2008, 05:37 AM   #5
mpnorth
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks

I'll follow it up

Regards
 
Old 08-11-2008, 04:30 AM   #6
mpnorth
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
...................

Last edited by mpnorth; 08-11-2008 at 04:35 AM.
 
Old 08-11-2008, 04:32 AM   #7
mpnorth
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Unless anybody else here has a suggestion ?

Regards
 
Old 08-11-2008, 04:48 AM   #8
mpnorth
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
I don't believe that I am using LVM. How can I tell ?
 
Old 08-11-2008, 09:41 AM   #9
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
It is pretty evident from the output of the mount command.
 
Old 08-12-2008, 05:36 AM   #10
mpnorth
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hi

Sorry I'm a bit if a Newbie I'm afraid but I assumed that the LVM was a method of using multiple partitions for 1 file system.

I have 2 separate IDE drives with multiple partitions and a pair of drives set up as a Raid drive, also with separate partitions, and each of these partitions has an individual mount point.

Is this considered a LVM system ?

Regards
 
Old 08-12-2008, 10:57 AM   #11
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Some distros use LVM by default. This allows you to add more drives and include more partitions to grow file systems. Your fstab above indicates use of "/dev/mapper", hence my conclusion about LVM.

There are several links found via google regarding other users who indicate the same problem. I don't know the answer. Here is one such link, with two posts:

http://readlist.com/lists/redhat.com...vm/0/1679.html

I search Google with: "/dev/mapper" "Stale NFS"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stale NFS File handle after samba install Spyder~1 Linux - Newbie 7 04-08-2009 02:36 PM
stale nfs file handle on rh3u6. laihu01 Red Hat 1 05-09-2007 01:57 PM
stale NFS file handle error hardian_97 Linux - Networking 0 10-02-2005 10:09 PM
NFS stale file handle master Linux - Software 7 06-14-2005 09:49 AM
Stale NFS file handle toneys Linux - Networking 1 10-24-2004 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration