Configuring fstab based Samba share mounts


#29

A post was split to a new topic: Mount different shares for different profiles using the fstab


#30

I’m having trouble getting automount to work.
I tried:
//192.168.1.30/_movie-d /mnt/d cifs username=aaanmt,password=zzz,iocharset=utf8,sec=ntlm,vers=3.0 0 1

“mount -a” will manually mount the share.
Then finding this guide I updated fstab. Now mount -a doesn’t work (as intended), but I can do a “mount /mnt/d”
//192.168.1.30/_movie-d /mnt/d cifs x-systemd.automount,noauto,rw,iocharset=utf8,username=aaanmt,password=zzz,iocharset=utf8,sec=ntlm,vers=3.0,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770 0 0


#31

Hi,

I would try removing the the noauto, if that doesn’t work; please open a new topic.

Thanks Tom.


#33

Thanks Tom, that fixed it.