On 05.08.2024 09:57, Mike Larkin wrote:
On Sat, Aug 03, 2024 at 01:35:11PM -0700, Aric Gregson wrote:
Hello,

I am having a great deal of difficulty mounting a NFS shared folder on my local 
network. The share is from a TrueNAS server. I am able to mount the same share 
on Armbian without difficulty.

The error that I receive is:

    mount_nfs: bad MNT RPC: RPC: Timed out

I have tried many variations of the mount and all fail with the same error.

  doas mount address:/mnt/share /mnt/nfs
  doas mount_nfs address:/mnt/share /mnt/nfs
  doas mount_nfs -T -i address:/mnt/share /mnt/nfs
  doas mount_nfs -2 -T -i address:/mnt/share /mnt/nfs
  doas mount_nfs -3 -T -i address:/mnt/share /mnt/nfs

This is not new for me, it has been going on for years. Just getting around to 
trying it again. Any help is greatly appreciated.


You could try these commands from the openbsd client (replace server_ip with
server's IP address or FQDN)

rpcinfo -p server_ip
showmount -e server_ip

These should show you what RPC services are running on the server (and if they
are even reachable from the client), and what mounts are exported.

My guess is you either have NFSv4 only on the server, or it's not reachable
for some reason.

Thank you. Output is below.

rpcinfo -p 192.168.1.21
   program vers proto   port
    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
    100000    4     7    111  portmapper
    100000    3     7    111  portmapper
    100000    2     7    111  portmapper
    100005    1   udp    935  mountd
    100005    3   udp    935  mountd
    100005    1   tcp    935  mountd
    100005    3   tcp    935  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100024    1   udp    605  status
    100024    1   tcp    605  status

showmount -e 192.168.1.21
Exports list on 192.168.1.21:
/mnt/XFree/Photos                  192.168.1.0
/mnt/XFree/backup                  192.168.1.0
/mnt/XFree/MiniEnvPublic           192.168.1.0 192.168.1.12 192.168.1.14 
192.168.1.127 192.168.1.19
192.168.1.20 192.168.1.23 192.168.1.121 192.168.1.224
/mnt/XFree/FNMusic                 Everyone
/mnt/XFree/backups/aorchidbk       192.168.1.12 192.168.1.14 192.168.1.121
/mnt/XFree/nfsshare                Everyone

I am 192.168.1.121.

Aric

Reply via email to