Results 1 to 2 of 2

Thread: NFS Connection Hang

  1. #1
    Join Date
    Jan 2010
    Beans
    3

    NFS Connection Hang

    I'm struggling to get a working NFS server/client. I have the server up and running as well as the client bits installed.


    On the client a "showmount -e" works and responds quickly. However when I try to mount the mount command runs for a very long time and eventually times out. I get this: "mount.nfs: Connection timed out". If I run the mount command on the server then it completes as expected.


    What can I do to diagnose this and make it work?

    From the client:
    Code:
    $ nmap -p 111,2049 -T4 -A 192.168.1.189
    Starting Nmap 7.80 ( https://nmap.org ) at 2020-11-17 23:35 UTC
    Nmap scan report for WEATHERPC.WITTFAMILY.COM (192.168.1.189)
    Host is up (0.00073s latency).
    
    
    PORT     STATE SERVICE VERSION
    111/tcp  open  rpcbind 2-4 (RPC #100000)
    | rpcinfo:
    |   program version    port/proto  service
    |   100000  2,3,4        111/tcp   rpcbind
    |   100000  2,3,4        111/udp   rpcbind
    |   100000  3,4          111/tcp6  rpcbind
    |   100000  3,4          111/udp6  rpcbind
    |   100003  3           2049/udp   nfs
    |   100003  3           2049/udp6  nfs
    |   100003  3,4         2049/tcp   nfs
    |   100003  3,4         2049/tcp6  nfs
    |   100005  1,2,3      34315/udp6  mountd
    |   100005  1,2,3      46947/tcp6  mountd
    |   100005  1,2,3      47331/tcp   mountd
    |   100005  1,2,3      54660/udp   mountd
    |   100021  1,3,4      33392/udp6  nlockmgr
    |   100021  1,3,4      46225/tcp   nlockmgr
    |   100021  1,3,4      46605/tcp6  nlockmgr
    |   100021  1,3,4      48653/udp   nlockmgr
    |   100227  3           2049/tcp   nfs_acl
    |   100227  3           2049/tcp6  nfs_acl
    |   100227  3           2049/udp   nfs_acl
    |_  100227  3           2049/udp6  nfs_acl
    2049/tcp open  nfs_acl 3 (RPC #100227)

    From the server:
    Code:
    # rpcinfo -p
       program vers proto   port  service
        100000    4   tcp    111  portmapper
        100000    3   tcp    111  portmapper
        100000    2   tcp    111  portmapper
        100000    4   udp    111  portmapper
        100000    3   udp    111  portmapper
        100000    2   udp    111  portmapper
        100005    1   udp  39484  mountd
        100005    1   tcp  60621  mountd
        100005    2   udp  48592  mountd
        100005    2   tcp  60225  mountd
        100005    3   udp  54660  mountd
        100005    3   tcp  47331  mountd
        100003    3   tcp   2049  nfs
        100003    4   tcp   2049  nfs
        100227    3   tcp   2049
        100003    3   udp   2049  nfs
        100227    3   udp   2049
        100021    1   udp  48653  nlockmgr
        100021    3   udp  48653  nlockmgr
        100021    4   udp  48653  nlockmgr
        100021    1   tcp  46225  nlockmgr
        100021    3   tcp  46225  nlockmgr
        100021    4   tcp  46225  nlockmgr
    Last edited by DuckHook; November 18th, 2020 at 04:50 AM. Reason: Added [CODE] tags.

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    15,494
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: NFS Connection Hang

    Use "mount -v" to see what is happening on the client.

    I do all my NFS mounts in /etc/fstab.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

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