You are not logged in.
Hello,
I have this entry in fstab, DNS323 network storage
//192.168.1.XX/Volume_1/ /media/DNS323 cifs _netdev,gid=users,credentials=/root/.smbcredentials,sec=lanman,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
I can mount it manually without any issues (mount -a)
But it won't mount automatically on boot
Any suggestions?
Thanks
Offline
Probably fails because there's no connection (yet).
Offline
If you run systemd you can just add noauto,x-systemd.automount to the mount options and systemd will mount it later.
This is what I do for my NFS mounts and I have no issues with it.
Offline
@saivert
worked like a charm, thanks a lot
Offline
You might also want to add 'nofail' just in case the NFS server is down.
Offline
or systemd wait network is up and then mount nfs
systemctl enable systemd-networkd-wait-onlineOffline