SMB share & CIFS, on boot problem

LolekUK

Active Member
Dec 11, 2019
56
4
28
43
Hi,

Proxmox 6.1-3

I have smb share configured on one priviliged Debian 10 container which works fine on another priviliged Debian 10 container when mounting it manually (mount -t cifs).

fstab file was configured and that also works when executed after boot up with #mount -a



But the share doesn't mount on system boot.



Fstab code here (tried other arguemtns e.g. _netdev and with/without/different version):

//192.168.1.6/Download /mnt/pms_media cifs password=,nofail,vers=2.1,x-systemd.automount 0 0



Any suggestions welcome :)



Thanks
 
//192.168.1.6/Download /mnt/pms_media cifs username=USER,password=PASSWORD,_netdev,dir_mode=0777,file_mode=0777 0 0

The option _netdev is always recommended for cifs mounts in fstab. This switch delays mounting until the network has been enabled, though excluding this option won't create a problem.
 
  • Like
Reactions: Dark26