I’ve been running OSMC on my RPi3 for a while now and I’ve been using cifs mounts in fstab all along. It’s been working fine for the most part, but it’s clunky in handling server and network disconnects. Unfortunately I don’t have a NAS, so I’m mounting network shares from a desktop PC running Windows. Before I had this PC on 24/7, but now I need to have it hibernate during the nights.
It seems fstab mounts (cifs-utils?) can’t handle losing connection to the server. They don’t get remounted when the server is available again with errors and timeouts as a result. I had to manually remount shares after every server hibernation. I got tired of this and tried to find a better solution and found AutoFS.
Now I’ve mounted the same shares with AutoFS and seem to be getting the same performance. It seems like a much better solution; it only mounts on access and automatically unmounts after a selected time of inactivity. No more problems after server hibernation.
So now I’m wondering what the disadvantages of AutoFS is. Why is fstab mounts recommended when AutoFS seems so much better?