NFS Issue w/ one mount (stale file handle)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I have 5 NFS exports from an NFS server. From the NFS client, I can connect to all except one I keep getting "Stale file handle". The only difference I can see is that the NFS exports are on different hard drives on the NFS server. Any ideas why all exports work except one (the /Backups/Plesk-Backups/ export)?



NFS Server:



[root@nfs-server ~]# cat /etc/exports
/Backups/Plesk-Backups/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
/home/XenServer_Virtual_Disk_Storage/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
/home/XenServer_ISO_Storage/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
/home/XenServer_Virtual_Disk_Storage/ 10.10.3.0/24(rw,sync,no_root_squash,no_subtree_check)
/home/XenServer_ISO_Storage/ 10.10.3.0/24(rw,sync,no_root_squash,no_subtree_check)

[root@nfs-server ~]# exportfs -ra

[root@nfs-server ~]# exportfs
/Backups/Plesk-Backups
10.10.10.0/24
/home/XenServer_Virtual_Disk_Storage
10.10.10.0/24
/home/XenServer_Virtual_Disk_Storage
10.10.3.0/24
/home/XenServer_ISO_Storage
10.10.10.0/24
/home/XenServer_ISO_Storage
10.10.3.0/24

[root@nfs-server ~]# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos00-root 50G 5.1G 45G 11% /
devtmpfs 1.2G 0 1.2G 0% /dev
tmpfs 1.2G 0 1.2G 0% /dev/shm
tmpfs 1.2G 8.6M 1.2G 1% /run
tmpfs 1.2G 0 1.2G 0% /sys/fs/cgroup
/dev/sda2 1014M 287M 728M 29% /boot
/dev/mapper/centos00-home 2.7T 2.1T 673G 76% /home
tmpfs 237M 0 237M 0% /run/user/0
/dev/sdb1 7.3T 1007G 6.3T 14% /Backups

[root@nfs-server ~]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 3000.6 GB, 3000592982016 bytes, 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
Disk identifier: 1B3D1287-AE98-4E6D-BB25-4F5571A867DF


# Start End Size Type Name
1 2048 4095 1M BIOS boot
2 4096 2101247 1G Microsoft basic
3 2101248 5860532223 2.7T Linux LVM
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sdb: 8001.6 GB, 8001563222016 bytes, 15628053168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
Disk identifier: 7E3F31FB-5356-45F2-9742-73F5BF3F31B2


# Start End Size Type Name
1 2048 15628052479 7.3T Linux filesyste primary

Disk /dev/mapper/centos00-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/centos00-swap: 2684 MB, 2684354560 bytes, 5242880 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/centos00-home: 2943.1 GB, 2943138922496 bytes, 5748318208 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


NFS Client:



[root@nfs-client ~]# mkdir /Plesk-Backups

[root@nfs-client ~]# mount -t nfs 10.10.10.54:/Backups/Plesk-Backups /Plesk-Backups/ -vvv
mount.nfs: timeout set for Mon Jan 14 10:28:01 2019
mount.nfs: trying text-based options 'vers=4.1,addr=10.10.10.54,clientaddr=10.10.10.68'

[root@nfs-client ~]# ls -al /Plesk-Backups
ls: cannot access /Plesk-Backups: Stale file handle

[root@nfs-client ~]# lsof |grep /Plesk-Backups
lsof: WARNING: can't stat() nfs4 file system /Plesk-Backups
Output information may be incomplete.









share|improve this question




























    1















    I have 5 NFS exports from an NFS server. From the NFS client, I can connect to all except one I keep getting "Stale file handle". The only difference I can see is that the NFS exports are on different hard drives on the NFS server. Any ideas why all exports work except one (the /Backups/Plesk-Backups/ export)?



    NFS Server:



    [root@nfs-server ~]# cat /etc/exports
    /Backups/Plesk-Backups/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
    /home/XenServer_Virtual_Disk_Storage/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
    /home/XenServer_ISO_Storage/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
    /home/XenServer_Virtual_Disk_Storage/ 10.10.3.0/24(rw,sync,no_root_squash,no_subtree_check)
    /home/XenServer_ISO_Storage/ 10.10.3.0/24(rw,sync,no_root_squash,no_subtree_check)

    [root@nfs-server ~]# exportfs -ra

    [root@nfs-server ~]# exportfs
    /Backups/Plesk-Backups
    10.10.10.0/24
    /home/XenServer_Virtual_Disk_Storage
    10.10.10.0/24
    /home/XenServer_Virtual_Disk_Storage
    10.10.3.0/24
    /home/XenServer_ISO_Storage
    10.10.10.0/24
    /home/XenServer_ISO_Storage
    10.10.3.0/24

    [root@nfs-server ~]# df -kh
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/centos00-root 50G 5.1G 45G 11% /
    devtmpfs 1.2G 0 1.2G 0% /dev
    tmpfs 1.2G 0 1.2G 0% /dev/shm
    tmpfs 1.2G 8.6M 1.2G 1% /run
    tmpfs 1.2G 0 1.2G 0% /sys/fs/cgroup
    /dev/sda2 1014M 287M 728M 29% /boot
    /dev/mapper/centos00-home 2.7T 2.1T 673G 76% /home
    tmpfs 237M 0 237M 0% /run/user/0
    /dev/sdb1 7.3T 1007G 6.3T 14% /Backups

    [root@nfs-server ~]# fdisk -l
    WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

    Disk /dev/sda: 3000.6 GB, 3000592982016 bytes, 5860533168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk label type: gpt
    Disk identifier: 1B3D1287-AE98-4E6D-BB25-4F5571A867DF


    # Start End Size Type Name
    1 2048 4095 1M BIOS boot
    2 4096 2101247 1G Microsoft basic
    3 2101248 5860532223 2.7T Linux LVM
    WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

    Disk /dev/sdb: 8001.6 GB, 8001563222016 bytes, 15628053168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk label type: gpt
    Disk identifier: 7E3F31FB-5356-45F2-9742-73F5BF3F31B2


    # Start End Size Type Name
    1 2048 15628052479 7.3T Linux filesyste primary

    Disk /dev/mapper/centos00-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/mapper/centos00-swap: 2684 MB, 2684354560 bytes, 5242880 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    Disk /dev/mapper/centos00-home: 2943.1 GB, 2943138922496 bytes, 5748318208 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes


    NFS Client:



    [root@nfs-client ~]# mkdir /Plesk-Backups

    [root@nfs-client ~]# mount -t nfs 10.10.10.54:/Backups/Plesk-Backups /Plesk-Backups/ -vvv
    mount.nfs: timeout set for Mon Jan 14 10:28:01 2019
    mount.nfs: trying text-based options 'vers=4.1,addr=10.10.10.54,clientaddr=10.10.10.68'

    [root@nfs-client ~]# ls -al /Plesk-Backups
    ls: cannot access /Plesk-Backups: Stale file handle

    [root@nfs-client ~]# lsof |grep /Plesk-Backups
    lsof: WARNING: can't stat() nfs4 file system /Plesk-Backups
    Output information may be incomplete.









    share|improve this question


























      1












      1








      1








      I have 5 NFS exports from an NFS server. From the NFS client, I can connect to all except one I keep getting "Stale file handle". The only difference I can see is that the NFS exports are on different hard drives on the NFS server. Any ideas why all exports work except one (the /Backups/Plesk-Backups/ export)?



      NFS Server:



      [root@nfs-server ~]# cat /etc/exports
      /Backups/Plesk-Backups/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
      /home/XenServer_Virtual_Disk_Storage/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
      /home/XenServer_ISO_Storage/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
      /home/XenServer_Virtual_Disk_Storage/ 10.10.3.0/24(rw,sync,no_root_squash,no_subtree_check)
      /home/XenServer_ISO_Storage/ 10.10.3.0/24(rw,sync,no_root_squash,no_subtree_check)

      [root@nfs-server ~]# exportfs -ra

      [root@nfs-server ~]# exportfs
      /Backups/Plesk-Backups
      10.10.10.0/24
      /home/XenServer_Virtual_Disk_Storage
      10.10.10.0/24
      /home/XenServer_Virtual_Disk_Storage
      10.10.3.0/24
      /home/XenServer_ISO_Storage
      10.10.10.0/24
      /home/XenServer_ISO_Storage
      10.10.3.0/24

      [root@nfs-server ~]# df -kh
      Filesystem Size Used Avail Use% Mounted on
      /dev/mapper/centos00-root 50G 5.1G 45G 11% /
      devtmpfs 1.2G 0 1.2G 0% /dev
      tmpfs 1.2G 0 1.2G 0% /dev/shm
      tmpfs 1.2G 8.6M 1.2G 1% /run
      tmpfs 1.2G 0 1.2G 0% /sys/fs/cgroup
      /dev/sda2 1014M 287M 728M 29% /boot
      /dev/mapper/centos00-home 2.7T 2.1T 673G 76% /home
      tmpfs 237M 0 237M 0% /run/user/0
      /dev/sdb1 7.3T 1007G 6.3T 14% /Backups

      [root@nfs-server ~]# fdisk -l
      WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

      Disk /dev/sda: 3000.6 GB, 3000592982016 bytes, 5860533168 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disk label type: gpt
      Disk identifier: 1B3D1287-AE98-4E6D-BB25-4F5571A867DF


      # Start End Size Type Name
      1 2048 4095 1M BIOS boot
      2 4096 2101247 1G Microsoft basic
      3 2101248 5860532223 2.7T Linux LVM
      WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

      Disk /dev/sdb: 8001.6 GB, 8001563222016 bytes, 15628053168 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disk label type: gpt
      Disk identifier: 7E3F31FB-5356-45F2-9742-73F5BF3F31B2


      # Start End Size Type Name
      1 2048 15628052479 7.3T Linux filesyste primary

      Disk /dev/mapper/centos00-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes


      Disk /dev/mapper/centos00-swap: 2684 MB, 2684354560 bytes, 5242880 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes


      Disk /dev/mapper/centos00-home: 2943.1 GB, 2943138922496 bytes, 5748318208 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes


      NFS Client:



      [root@nfs-client ~]# mkdir /Plesk-Backups

      [root@nfs-client ~]# mount -t nfs 10.10.10.54:/Backups/Plesk-Backups /Plesk-Backups/ -vvv
      mount.nfs: timeout set for Mon Jan 14 10:28:01 2019
      mount.nfs: trying text-based options 'vers=4.1,addr=10.10.10.54,clientaddr=10.10.10.68'

      [root@nfs-client ~]# ls -al /Plesk-Backups
      ls: cannot access /Plesk-Backups: Stale file handle

      [root@nfs-client ~]# lsof |grep /Plesk-Backups
      lsof: WARNING: can't stat() nfs4 file system /Plesk-Backups
      Output information may be incomplete.









      share|improve this question
















      I have 5 NFS exports from an NFS server. From the NFS client, I can connect to all except one I keep getting "Stale file handle". The only difference I can see is that the NFS exports are on different hard drives on the NFS server. Any ideas why all exports work except one (the /Backups/Plesk-Backups/ export)?



      NFS Server:



      [root@nfs-server ~]# cat /etc/exports
      /Backups/Plesk-Backups/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
      /home/XenServer_Virtual_Disk_Storage/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
      /home/XenServer_ISO_Storage/ 10.10.10.0/24(rw,sync,no_root_squash,no_subtree_check)
      /home/XenServer_Virtual_Disk_Storage/ 10.10.3.0/24(rw,sync,no_root_squash,no_subtree_check)
      /home/XenServer_ISO_Storage/ 10.10.3.0/24(rw,sync,no_root_squash,no_subtree_check)

      [root@nfs-server ~]# exportfs -ra

      [root@nfs-server ~]# exportfs
      /Backups/Plesk-Backups
      10.10.10.0/24
      /home/XenServer_Virtual_Disk_Storage
      10.10.10.0/24
      /home/XenServer_Virtual_Disk_Storage
      10.10.3.0/24
      /home/XenServer_ISO_Storage
      10.10.10.0/24
      /home/XenServer_ISO_Storage
      10.10.3.0/24

      [root@nfs-server ~]# df -kh
      Filesystem Size Used Avail Use% Mounted on
      /dev/mapper/centos00-root 50G 5.1G 45G 11% /
      devtmpfs 1.2G 0 1.2G 0% /dev
      tmpfs 1.2G 0 1.2G 0% /dev/shm
      tmpfs 1.2G 8.6M 1.2G 1% /run
      tmpfs 1.2G 0 1.2G 0% /sys/fs/cgroup
      /dev/sda2 1014M 287M 728M 29% /boot
      /dev/mapper/centos00-home 2.7T 2.1T 673G 76% /home
      tmpfs 237M 0 237M 0% /run/user/0
      /dev/sdb1 7.3T 1007G 6.3T 14% /Backups

      [root@nfs-server ~]# fdisk -l
      WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

      Disk /dev/sda: 3000.6 GB, 3000592982016 bytes, 5860533168 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disk label type: gpt
      Disk identifier: 1B3D1287-AE98-4E6D-BB25-4F5571A867DF


      # Start End Size Type Name
      1 2048 4095 1M BIOS boot
      2 4096 2101247 1G Microsoft basic
      3 2101248 5860532223 2.7T Linux LVM
      WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

      Disk /dev/sdb: 8001.6 GB, 8001563222016 bytes, 15628053168 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      Disk label type: gpt
      Disk identifier: 7E3F31FB-5356-45F2-9742-73F5BF3F31B2


      # Start End Size Type Name
      1 2048 15628052479 7.3T Linux filesyste primary

      Disk /dev/mapper/centos00-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes


      Disk /dev/mapper/centos00-swap: 2684 MB, 2684354560 bytes, 5242880 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes


      Disk /dev/mapper/centos00-home: 2943.1 GB, 2943138922496 bytes, 5748318208 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 4096 bytes
      I/O size (minimum/optimal): 4096 bytes / 4096 bytes


      NFS Client:



      [root@nfs-client ~]# mkdir /Plesk-Backups

      [root@nfs-client ~]# mount -t nfs 10.10.10.54:/Backups/Plesk-Backups /Plesk-Backups/ -vvv
      mount.nfs: timeout set for Mon Jan 14 10:28:01 2019
      mount.nfs: trying text-based options 'vers=4.1,addr=10.10.10.54,clientaddr=10.10.10.68'

      [root@nfs-client ~]# ls -al /Plesk-Backups
      ls: cannot access /Plesk-Backups: Stale file handle

      [root@nfs-client ~]# lsof |grep /Plesk-Backups
      lsof: WARNING: can't stat() nfs4 file system /Plesk-Backups
      Output information may be incomplete.






      centos nfs nfsv4






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 14 at 20:14









      peterh

      4,456103057




      4,456103057










      asked Jan 14 at 16:00









      S. WestS. West

      62




      62




















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494450%2fnfs-issue-w-one-mount-stale-file-handle%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494450%2fnfs-issue-w-one-mount-stale-file-handle%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown






          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?