On Sun, Jan 24, 2021, 20:58 Weatherby,Gerard <gweatherby@xxxxxxxx> wrote:
When systemd-automount queries an NFS server with multiple IPs, does it try all of the them (the default behavior of the similar autofs package) or just use one, or something else?
Systemd does not have any special handling for NFS – it will not query the server at all; it will more or less just spawn the standard `mount` command and let it handle the rest. If the hostname resolves to multiple addresses, I assume that will be handled by nfs-utils' `mount.nfs` somehow.
(systemd .automount units only use autofs as the trigger for activating a regular .mount, so everything is the same between e.g. fstab-mounted and systemd-automounted filesystems.)
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel