I am trying to automatically mount a CIFS share on a Synology NAS during boot time. I am on a 14.04 LTS Workstation.
Everything works fine when I manually mount the share using the fstab
entry, however, I have to repeat this step every time I am logged in.
I installed the cifs-utils
and amended the fstab
as follows:
//192.168.0.xxx/share /Volumes/share cifs iocharset=utf8,credentials=/var/xxx/.smb 0 0
.smb contains the username= and passwd= settings, different locations were tried.
The entry seems to work as I can either use mount -a
or mount /Volumes/share
to successfully mount the share.
Any ideas, why the automount during boot fails? So far I've tried various solutions including the _netdev option, which does however seem to break the entry.
TIA for your answers.
mount /Volumes/share
in an executable script in /etc/network/if-up.d so that it mounts after the network goes up.