Problem mounting shared disk from an LXC container

Drthrax74

Well-Known Member
Apr 22, 2019
35
5
48
34
Hello, I would like to add a Windows share (CIFS) under an LXC container.
The editing works from the Proxmox server but the LXC container does not work.

Access via smblicent works but mounting poses a problem for me at the mounting point (Access refuse)


Information:
Code:
Name Share: //192.168.1.10/Film
Mount point: /mnt/Film
username=TEST
password=TEST01


Test direct:
Code:
smbclient //192.168.1.10/Film -U TEST%TEST01


/etc/fstab
Code:
//192.168.1.10/Film /mnt/Film cifs uid=root,username=TEST,password=TEST01 0 0
mount -a

Error Code:
Code:
mount: /mnt/Film: permission denied.
 

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!