2018-03-30 00:19:20 UTC
mounted to a directory within another share:
I've created the unit files for .mount and .automount for the two shares,
with mount disabled and automount enabled and started. This seems to work
fine once the system is booted. But the share1 automount fails to start on
boot with the error "dependency". The share0 automount is started and works
when the mount point is later accessed, but not the share1 automount.
I don't know what to add to satisfy the boot-time dependency of
From the boot log, it looks like the system is trying to actually mountthese shares. But the server they're being mounted from may not be up yet
when both are powering up together. That's why I'm using an automount.
Mar 26 18:29:14 saruman kernel: CIFS VFS: Error connecting to socket.
Mar 26 18:29:14 saruman kernel: CIFS VFS: cifs_mount failed w/return code =
Mar 26 18:29:14 saruman mount: Unable to find suitable address.
Mar 26 18:29:14 saruman systemd: srv-share0.mount mount process exited,
Mar 26 18:29:14 saruman systemd: Failed to mount NAS1 share0.
Mar 26 18:29:14 saruman systemd: Dependency failed for Automount NAS1
Mar 26 18:29:14 saruman systemd: Job srv-share0-share1.automount/start
failed with result 'dependency'.