[SOLVED] automounting freenas samba share in /etc/fstab fails
Hello there,
I have a problem with s6 that is i cannot automount the samba shares of my freenas box on system startup.
The line in /etc/fstab is:
//freenas.box/multimedia /mnt/freenas/multimedia cifs _netdev,rw,credentials=/etc/samba/credentials/mycreds,uid=myuser,gid=users,auto,nofail 0 0
when I boot up the system, the share is not mounted. However a sudo mount -a
fixes that.
I guess this is a dependency issue in s6 where the mount-net oneshot fires before ethernet is connected.
How could I setup s6 such that this would work?
with Best Regards