Media server running Ubuntu 16.04 and Kodi. Synology NAS in the next room contains all the media.
how can I get my fstab mounts working if they won't mount on bootup? -- tried switching to username/password instead of .smbcredentials, no change.
Tried adding _netdev
, no change.
I've tried fixing my /etc/fstab
and it's just not working. I'm not sure what the problem is, but I cannot get my NAS folders to mount that way. Posted here, posted on ubuntuforums, no go (didn't get any answers in either one). Every time I reboot I have to ssh
in to the box to get my media folders back.
So, I thought I'd take a different approach. I'm assuming there is some issue with my NAS or network that makes mounting at boot via fstab
to not work. I don't know.
Since I know that my folders will mount with sudo mount -a
, how can I run that command at boot time after everything else (network especially) is done?
@reboot root /bin/bash -c 'sleep 10 && /sbin/mount -a'
doesn't do anything. Is it the /sbin that's the problem? I got an error with /bin – jcollum Jul 07 '16 at 02:11sudo crontab -e
seems to open the wrong crontab. I didsudo vi crontab
and it worked – jcollum Jul 07 '16 at 02:25