On 07/31/2018 10:06 AM, Bob Goodwin wrote:
> On 07/31/18 12:35, Rick Stevens wrote:
>> If it's an automount with a "comment=systemd.automount" or
>> "x-systemd.automount" in the options of the fstab entry:
>>
>>     server:/export    /mnt/nfsmount    nfs4   
>> options,x-systemd.automount 0 0
>>
>> you must_access_  the mountpoint for systemd to automount it. Doing a
>> simple "ls /mnt/nfsmount >/dev/null" would do it.
>>
> +
> In my initial query I showed:
> 
> [bobg@ASRock-J3455M ~]$ cat /etc/exports
> /home/exports
> 192.168.1.0/24(rw,sync,insecure,no_root_squash,no_subtree_check,fsid=0)
> 
> Should I add inside the parenthesis: x-systemd.automount
> 
> Making it:
> 
> /home/exports
> 192.168.1.0/24(rw,sync,insecure,no_root_squash,no_subtree_check,fsid=0,x-systemd.automount)

No, the "x-systemd.automount" goes in the /etc/fstab entry on the
CLIENT. Sample /etc/fstab entry on client:

        server:/export  /mnt/nfsmount   nfs4    
auto,defaults,x-systemd.automount,rw 0 0
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-  You can lead a horse to water, but if you can teach him to roll   -
-         over and float on his back...you got something!            -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org/message/UTQSLN63UERUM7X2NL4J6326LIWW7JXQ/

Reply via email to