[systemd-devel] fstab automount of a mdns samba share

Julian Sikorski belegdol at gmail.com
Mon Sep 27 14:02:48 UTC 2021


Hi list,

I am trying to set up an automount of my samba share. It works when I go 
by the IP address, i.e.

//192.168.0.220/julian /mnt/openmediavault    cifs 
credentials=/home/julas/.credentials,uid=julas,gid=julas,vers=3.1.1,nobrl,auto 
0 0

but if I try to replace the IP address with odroidxu4.local, the mount 
will fail at boot. It appears that mdns is not working at the time the 
mount is attempted as running mount -a afterwards works just fine. What 
would be the proper way of setting this up? Thanks!

Best regards,
Julian



More information about the systemd-devel mailing list