Automount not working (fstab and cifs)

Server Version#: 1.18.1.1973

I’m trying to automount a network share where my media is. It doesn’t mount after a reboot, but when i run sudo mount -a it mounts fine. Here is my /etc/fstab line:

//192.168.1.1/Videos/Exercise /mnt/Exercise cifs vers=1.0,credentials=/home/plex/.smbcredentials

I’ve tried a bunch of stuff that the interweb suggests about delaying mounting until the network is up, to no avail. Can anyone assist?

Automount isn’t configured in /etc/fstab. Generally, under Linux, it starts under /etc/auto.master or some such.

Why do you want to use automount with Plex? Secondly, why CIFS and not NFS on Linux?

Your mount options are incomplete. all columns are required.
The auto option, as well as a few other defacto standards are also missing.

see man fstab for details

//192.168.1.1/Videos/Exercise /mnt/Exercise cifs defaults,auto,rw,,vers=1.0,credentials=/home/plex/.smbcredentials 0 0

I also wonder why not NFS mounts. Unless using 10 GbE, the limitation of NFS won’t be a factor and on a Linux host, is 99.9% the best option.

sudo apt install nfs-common

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.