Fedora Linux Support Community & Resources Center
  #1  
Old 23rd October 2013, 02:18 PM
robert.forster's Avatar
robert.forster Offline
Registered User
 
Join Date: Feb 2008
Location: Newport News, VA
Posts: 147
windows_7chrome
NFS - Stale NFS file handle

NFS server
3.9.5-301.fc19.x86_64

client
3.9.5-301.fc19.x86_64


NFS server: ports 4001 > 4004 tcp/udp open & entered values through system-config-nfs
NFS server: systemctl enable/start nfs-server rpcbind nfs-lock

nfs server: systemctl status nfs-server returns
loaded: load (blah)
Active: active (exited) [green]
Oct 23 08:27:20 nfs.server.org rpc.nfsd [11096]: rpc.nfsd: setting ver ...
Oct 23 08:27:20 nfs.server.org systemd[1]: Started NFS server.

cat /etc/exports

/exports/dir 192.168.1.0/24(rw.sync,insecure)



client:

[as root] mount -t nfs nfs.server.org:/exports/dir /mnt/test
{no errors returned}

df -h displays NFS exported values

ls /mnt/test
"ls: cannot access /mnt/test/: Stale NFS file handle"

mirrored NFS settings from a working NFS server [2.6.30.10.-105.2.23.fc11.i586]
I know the server is "old" and when I get things the way I want (and repeat it) on the new server [nfs.server.org] it is to replace the "old" one.

Have not found the right google incantation to provide a answer/solution

Any ideas? tried to give the meat and potatoes w/o the pomp and circumstance
__________________
Intel Core2 QUADcore 2.4 Ghz
RAM = 3GIG
ATI Radeon HD 2400
Dual 19" monitors
Windows XP sp3
DVD+/- RW 16
HD=250G (OS) 500G + 300G (storage)

[Microsoft] Vista - Definition per http://dictionary.reference.com "a far-reaching mental view" :eek: (but not realistic?)

registered linux user #467749 :cool:
Reply With Quote
  #2  
Old 23rd October 2013, 06:43 PM
robert.forster's Avatar
robert.forster Offline
Registered User
 
Join Date: Feb 2008
Location: Newport News, VA
Posts: 147
windows_7chrome
Re: NFS - Stale NFS file handle

Update:

turned off firewall
systemctl disable firewalld [has been known to restart on it's own]
systemctl stop firewalld

made no difference


mkdir /mnt/newtest [on nfs.server.org]
mount -t nfs nfs.server.org/exports/test /mnt/newtest
same error even though export and mounting on same machine


mount -t nfs4 nfs.server.org/exports/test /mnt/newtest
same error

modified /etc/exports line
/exports/dir 192.168.1.0/24 [no options]
same error
added options to /etc/exports (no_root_squash,rw, sync,insecure)
no change in error.

really unsure what to do now?
__________________
Intel Core2 QUADcore 2.4 Ghz
RAM = 3GIG
ATI Radeon HD 2400
Dual 19" monitors
Windows XP sp3
DVD+/- RW 16
HD=250G (OS) 500G + 300G (storage)

[Microsoft] Vista - Definition per http://dictionary.reference.com "a far-reaching mental view" :eek: (but not realistic?)

registered linux user #467749 :cool:
Reply With Quote
  #3  
Old 23rd October 2013, 09:41 PM
robert.forster's Avatar
robert.forster Offline
Registered User
 
Join Date: Feb 2008
Location: Newport News, VA
Posts: 147
windows_7chrome
Re: NFS - Stale NFS file handle

Update


found solution (bandaid ?)

/exports/dir 192.168.1.0/24(rw.sync,insecure,fsid=1)

added File System ID 1 (zero did not work)
Each path has to have it's own FSID...

Not sure why this is??

Does anyone else or did anyone else need to put a FSID ?
__________________
Intel Core2 QUADcore 2.4 Ghz
RAM = 3GIG
ATI Radeon HD 2400
Dual 19" monitors
Windows XP sp3
DVD+/- RW 16
HD=250G (OS) 500G + 300G (storage)

[Microsoft] Vista - Definition per http://dictionary.reference.com "a far-reaching mental view" :eek: (but not realistic?)

registered linux user #467749 :cool:
Reply With Quote
  #4  
Old 24th October 2013, 05:00 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,088
linuxfirefox
Re: NFS - Stale NFS file handle

Quote:
/exports/dir 192.168.1.0/24(rw.sync,insecure,fsid=1)
There should be a comma between rw and sync?
Quote:
Does anyone else or did anyone else need to put a FSID ?
Does you file system have an UUID?

Did you clone/dd the file system from your old server to the new one so now both have the same UUID?

Remember, a "real" ID should be unique ;-)
Reply With Quote
  #5  
Old 24th October 2013, 05:19 PM
robert.forster's Avatar
robert.forster Offline
Registered User
 
Join Date: Feb 2008
Location: Newport News, VA
Posts: 147
windows_7chrome
Re: NFS - Stale NFS file handle

george_toolan

Sorry did not see your post

that was a typo from here. Yes there is a comma

Yes in the fstab the partition that the server is mounting (RAID controller) partition via UUID

IE:
UUID=alphaHexnumber /mount/path XFS defaults 0 0

I did not "clone the machine" totally different hardware. The sames are service/name/IP/ drive contents w/ faster CPU, more RAM, larger capacity, more spindles

I perceive that the FSID is for different paths meaning:
this would be good
/path/to/export 192.168.1.2(rw,insecure,fsid=1)
/path/to/export 192.168.1.3(rw,insecure,fsid=1)
/path/exported 192.168.1.2(rw,insecure,fsid=2)


This would be bad
/path/to/export 192.168.1.2(rw,insecure,fsid=1)
/path/to/export 192.168.1.3(rw,insecure,fsid=1)
/path/exported 192.168.1.2(rw,insecure,fsid=1)
__________________
Intel Core2 QUADcore 2.4 Ghz
RAM = 3GIG
ATI Radeon HD 2400
Dual 19" monitors
Windows XP sp3
DVD+/- RW 16
HD=250G (OS) 500G + 300G (storage)

[Microsoft] Vista - Definition per http://dictionary.reference.com "a far-reaching mental view" :eek: (but not realistic?)

registered linux user #467749 :cool:
Reply With Quote
Reply

Tags
file , handle , nfs , stale

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stale NFS file handle, retrying Anne Using Fedora 2 26th June 2009 05:51 PM
ls: cannot access /etc/resolv.conf: stale nfs file handle - but i'm not using nfs schneidz Using Fedora 0 13th January 2009 05:17 PM
Stale NFS file handle James Board Using Fedora 0 29th November 2008 10:27 PM
Stale NFS file handle with Fedora 10 jmbnyc Alpha, Beta & Snapshots Discussions (Fedora 10 Only) 2 24th November 2008 04:16 AM
stale NFS file handle (continually) tlak Servers & Networking 3 28th February 2005 01:26 AM


Current GMT-time: 12:01 (Saturday, 21-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat