Re: NFS not mounted at boot -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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    ricks@xxxxxxxxxxxxxx -
- 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@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/message/UTQSLN63UERUM7X2NL4J6326LIWW7JXQ/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux