[systemd-devel] automount behavior with multiple IPS

Mantas Mikulėnas grawity at gmail.com
Sun Jan 24 20:55:40 UTC 2021


On Sun, Jan 24, 2021, 20:58 Weatherby,Gerard <gweatherby at uchc.edu> 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.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20210124/31c88718/attachment.htm>


More information about the systemd-devel mailing list