Configuring fstab based Samba share mounts


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


I’m having trouble getting automount to work.
I tried:
// /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”
// /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



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

Thanks Tom.


Thanks Tom, that fixed it.