Cleanest way to have CT's to access a SMB shared folder

SchattenMann

New Member
Aug 21, 2025
5
0
1
Hey all.

Just getting started with proxmox v9 and still getting the hang of it so I'm sorry if this is too obvious.

I have a local NAS with a couple of shared folders I need to make available to a couple of LXC Containers and I'm wondering what's the easiest (as in easier to maintain) and cleanest to do this?
I can add a SMB shared folder in Datacenter - Storage but don't think any of the categories are designed for "just file sharing".
Either way I've give it a try and create one and then at the LXC level I've added a new Resource - Mountpoint which then creates a mount at the LXC but while browsing I've noticed all the folders were empty. Presumably this is due to access permissions and it quickly gets too complicated for me to keep up.

In a nutshell, in a scenario where I need an LXC to regularly access and SMD shared folder what's the best way to do it then?
Is manually create them on each LXC such as the only option?

Bash:
//192.168.XX.XX/media /mnt/media       cifs    noperm,iocharset=utf8,rw,credentials=/root/.storage_credentials,uid=root,gid=root,file_mode=0660,dir_mode=0770 0       0