FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Location
    Newport News, VA
    Posts
    147

    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:

  2. #2
    Join Date
    Feb 2008
    Location
    Newport News, VA
    Posts
    147

    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:

  3. #3
    Join Date
    Feb 2008
    Location
    Newport News, VA
    Posts
    147

    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:

  4. #4
    Join Date
    Dec 2006
    Posts
    2,088

    Re: NFS - Stale NFS file handle

    /exports/dir 192.168.1.0/24(rw.sync,insecure,fsid=1)
    There should be a comma between rw and sync?
    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 ;-)

  5. #5
    Join Date
    Feb 2008
    Location
    Newport News, VA
    Posts
    147

    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:

Similar Threads

  1. Stale NFS file handle, retrying
    By Anne in forum Using Fedora
    Replies: 2
    Last Post: 26th June 2009, 05:51 PM
  2. Replies: 0
    Last Post: 13th January 2009, 05:17 PM
  3. Stale NFS file handle
    By James Board in forum Using Fedora
    Replies: 0
    Last Post: 29th November 2008, 10:27 PM
  4. Stale NFS file handle with Fedora 10
    By jmbnyc in forum Alpha, Beta & Snapshots Discussions (Fedora 10 Only)
    Replies: 2
    Last Post: 24th November 2008, 04:16 AM
  5. stale NFS file handle (continually)
    By tlak in forum Servers & Networking
    Replies: 3
    Last Post: 28th February 2005, 01:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •