SMB share & CIFS, on boot problem

LolekUK

Active Member
Dec 11, 2019
56
2
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!