On 10/25/18 5:25 AM, Stephen Morris wrote: > I tried the x-systemd.automount parameter by adding it to the fstab entry and then > trying 'ls /mnt/nfs' which doesn't automount the partition. Either the change requires a > reboot to take effect (I've left it present to see what happens after next boot, but the > same thing also doesn't work on the cifs mount point either) or it is an nfs4 specific > option, in which case it won't work for me as my nas doesn't support nfs4 probably for > the same reasons as it only supports cifs version 1. Just for interest below is my fstab > specifications for the partition. The unfortunate thing with the cifs mount point is > cifs doesn't support user mounting. > > > 192.168.0.12:/mnt/HD/HD_a2 /mnt/nfs nfs > users,noatime,nolock,bg,sec=sys,tcp,timeo=1800,_netdev,rw,x-systemd.automount 0 0 > //192.168.0.12/Volume_1 /mnt/nas cifs > vers=1.0,username=********,password=********,cache=strict,_netdev,rw,x-systemd.requires=/mnt/nfs > 0 0 I do not know the purpose of some of the options you've specified in your fstab. It may be that one of them is in conflict with x-systemd.automount. I suspect the _netdev is responsible for the conflict. See, https://wiki.archlinux.org/index.php/NFS were it is pointed out.... "Another method is using the systemd automount service. This is a better option than _netdev, because it remounts the network device quickly when the connection is broken and restored. As well, it solves the problem from autofs, see the example below:" That option isn't "nfs4" specific as it has more to do with systemd than the type of mount. If you google these terms x-systemd.automount nfs x-systemd.automount cifs You'll find examples of usage. -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them." _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx