Results 1 to 5 of 5

Thread: NFS-client discovers share, but mount fails.

  1. #1

    Default NFS-client discovers share, but mount fails.

    The server is running Leap 42.3. I have the NFS share configured.
    Code:
    $ cat /etc/exports
    /mnt/nasstorage 201.7.5.0/24(rw,no_root_squash,no_subtree_check)
    
    $ showmount -e       
    Export list for nas:
    /mnt/nasstorage *
    
    The yast2 nfs-client set-up on my laptop (Leap 42.3) can find the server and the shared directory, but the mount fails:

    Code:
    sudo mount -v -t nfs datahub:/mnt/nasstorage /mnt/nasstorage/
    mount.nfs: timeout set for Tue Feb 13 14:20:16 2018
    mount.nfs: trying text-based options 'vers=4,addr=201.7.5.250,clientaddr=201.7.5.122'
    mount.nfs: mount(2): Connection timed out
    mount.nfs: Connection timed out
    
    When I try with option vers=3

    Code:
    sudo mount -v -t nfs -o vers=3 datahub:/mnt/nasstorage /mnt/nasstorage/  
    [sudo] password for root:  
    mount.nfs: timeout set for Tue Feb 13 14:44:21 2018
    mount.nfs: trying text-based options 'vers=3,addr=201.7.5.250'
    mount.nfs: prog 100003, trying vers=3, prot=6
    mount.nfs: portmap query retrying: RPC: Program not registered
    mount.nfs: prog 100003, trying vers=3, prot=17
    mount.nfs: portmap query failed: RPC: Program not registered
    mount.nfs: requested NFS version or transport protocol is not supported
    
    I've tried to mount with the firewall on both sides turned off, but that did not have the expected results.
    Main: openSUSE Tumbleweed | KDE | AMD A8-7600 R7 | 32GB | Xonar Essence STX
    Laptop: openSUSE Leap 15.3 | KDE | Intel i5-2520M | 8GB | Intel HD

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: NFS-client discovers share, but mount fails.

    Do you have the rpcbind service running? (Assuming NFS ver 3)
    Code:
    sudo systemctl status rpcbind
    Just in case the following is helpful to you for review...
    https://www.unixmen.com/setup-nfs-se...opensuse-42-1/

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: NFS-client discovers share, but mount fails.

    What does the following report?
    Code:
    /sbin/rpcinfo -p 201.7.5.250

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,578

    Default Re: NFS-client discovers share, but mount fails.

    Given that, the NFS client is a Laptop -- mobile -- not always near the NFS server -- I recommend that auto-mount NFS be used: <https://doc.opensuse.org/documentati...sec.autofs.nfs>.

  5. #5

    Default Re: NFS-client discovers share, but mount fails.

    Thanks for the replies.

    This issue can be closed.

    I had more issues on the server and did a complete fresh install. I re-created the NFS shares and have successfully mounted these in my client.
    Main: openSUSE Tumbleweed | KDE | AMD A8-7600 R7 | 32GB | Xonar Essence STX
    Laptop: openSUSE Leap 15.3 | KDE | Intel i5-2520M | 8GB | Intel HD

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
  •