You are not logged in.
I'm on the way from initsctipts to systemd, and autofs is one of the service not moved yet. The aim is to mount-when-needed few samba shares from local network. In fact I'm not absolutely happy with autofs (from time to time I have problems like freezing during shutdown process). Has anybody experience with this or that autofs-for-samba replacement providing the same functionality (in terms of systemd-managed environment)?
Last edited by student975 (2012-08-15 19:11:34)
"I exist" is the best myth I know..
Offline
https://wiki.archlinux.org/index.php/Systemd#Automount
should work just as well for remote shares.
Offline
https://wiki.archlinux.org/index.php/Systemd#Automount
should work just as well for remote shares.
Thanks, I have already looked at the article. But I'd want to use mount and automount systemd units (still can not make them work) and, well, I'm looking for real experience of samba share using.
"I exist" is the best myth I know..
Offline
But I'd want to use mount and automount systemd units (still can not make them work) and, well, I'm looking for real experience of samba share using.
there is no reason to create mount/automount units yourself, systemd generates them automatically from /etc/fstab (see /run/systemd/generator/).
Offline
there is no reason to create mount/automount units yourself, systemd generates them automatically from /etc/fstab (see /run/systemd/generator/).
I have thought it is possible to create the units by hand, and the units take precedence of fstab. In fact, I haven't fstab records for cifs mount at all ![]()
"I exist" is the best myth I know..
Offline
I have thought it is possible to create the units by hand, and the units take precedence of fstab. In fact, I haven't fstab records for cifs mount at all
yes, it's possible - but imho pointless. An fstab entry is just way simpler than creating a mount/automount file yourself. Also, systemd's fstab generator automatically takes care of options you might miss when creating the units yourself (like remote-fs.target ordering for remote shares).
Offline
yes, it's possible - but imho pointless. An fstab entry is just way simpler than creating a mount/automount file yourself. Also, systemd's fstab generator automatically takes care of options you might miss when creating the units yourself (like remote-fs.target ordering for remote shares).
OK, thanks, have tried - seems to work.
"I exist" is the best myth I know..
Offline