I have an old laptop that is running Fedora 27 on it and a couple of USB drive hard drives. They are Auto mounted by Fedora in run/media/username/drivename.
I followed the instructions above using IPAddress:/run/media/userbame/drivename /mnt/drivename nfs noauto,xsystemd.automount 0 0 in /etc/fstab
When I try to mount them it times out. If I use the -v option it says no such file or directory. Any thoughts?
@nickc So, looks like something is blocking the rpcbind protocol communication to the nfs server. Do you have a firewall or iptables rules active on the Fedora?
Try to deactivate it for tests and see whether nfs mounts works then. Typically ports 892 and 2049 are used by nfs mounts.
Just a correction: There is a typo in your post I copied and modified in mine. It must be
@JimKnopf thanks for the pickup in my /etc/fstab. I corrected that.
i have not installed any firewall with Fedora.
I am not familiar with iptables but I have pasted the list of the tables here.
osmc@osmc:~$ sudo iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
osmc@osmc:~$ cat /etc/fstab
/dev/mmcblk0p1 /boot vfat defaults,noatime,noauto,x-systemd.automount 0 0
# rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remount (slower boot)
#/dev/mmcblk0p2 / ext4 defaults,noatime 0 0
10.0.0.107:/run/media/ncusack/Expansion /mnt/Expansion nfs noauto,defaults,x-systemd.automount 0 0
10.0.0.107:/run/media/ncusack/Elements /mnt/Elements nfs noauto,defaults,x-systemd.automount 0 0
This is the RPCBIND status of the Fedora machine
[ncusack@localhost ~]$ sudo systemctl status rpcbind
[sudo] password for ncusack:
● rpcbind.service - RPC Bind
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled; vendor pres
Active: active (running) since Sun 2018-03-11 12:43:19 AEDT; 2 days ago
Docs: man:rpcbind(8)
Main PID: 701 (rpcbind)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/rpcbind.service
└─701 /usr/bin/rpcbind -w -f
Mar 11 12:43:18 localhost.localdomain systemd[1]: Starting RPC Bind…
Mar 11 12:43:19 localhost.localdomain systemd[1]: Started RPC Bind.
[ncusack@localhost ~]$ sudo systemctl status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor p
Drop-In: /run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: active (exited) since Sun 2018-03-11 12:46:06 AEDT; 2 days ago
Main PID: 2301 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/nfs-server.service
Mar 11 12:46:06 localhost.localdomain systemd[1]: Starting NFS server and servic
Mar 11 12:46:06 localhost.localdomain systemd[1]: Started NFS server and service