Hey All,
I'm super-new to the whole virtualization/container world as well as Linux so I'm learning new things every day, so sorry for the awfulness in advance, I'm certain that It's something super simple that I'm missing. No matter what I do, I can't seem to get a LXC to have write permissions to a SMB share, at all.
I did find this thread that perfectly matches exactly what's happening to me here: https://forum.proxmox.com/threads/smb-share-in-lxc-container-permission-denied-on-write.87602/ But, their solution is problematic as my NAS solution is a TrueNas Scale VM running in the same Proxmox Node that I intend on using for the LXC Docker Instance.
Synopsis of my setup:
Drives are mounted to the TrueNas VM via passthrough, this is the two (I assume) important lines from the respective .conf file
The share is mounted to the Proxmox host via Datacenter > Storage > Add > SMB/CIFS
The share is then mounted in the lxc containers .conf via the mp0 line below.
I've tried to change ownership or permissions of the mount point file and nothing ever changes, permissions remain this
Any help that anyone can provide as to insight for what I'm doing wrong is appreciated.
I'm super-new to the whole virtualization/container world as well as Linux so I'm learning new things every day, so sorry for the awfulness in advance, I'm certain that It's something super simple that I'm missing. No matter what I do, I can't seem to get a LXC to have write permissions to a SMB share, at all.
I did find this thread that perfectly matches exactly what's happening to me here: https://forum.proxmox.com/threads/smb-share-in-lxc-container-permission-denied-on-write.87602/ But, their solution is problematic as my NAS solution is a TrueNas Scale VM running in the same Proxmox Node that I intend on using for the LXC Docker Instance.
Synopsis of my setup:
Drives are mounted to the TrueNas VM via passthrough, this is the two (I assume) important lines from the respective .conf file
Code:
sata5: /dev/disk/by-id/ata-WDC_WD120EFBX-68B0EN0_5QK4A5YB,size=11176G
virtio2: /dev/disk/by-id/ata-WDC_WD101EFBX-68B0AN0_VCJPX1DP,size=9314G
The share is mounted to the Proxmox host via Datacenter > Storage > Add > SMB/CIFS
The share is then mounted in the lxc containers .conf via the mp0 line below.
Code:
arch: amd64cores: 12
features: keyctl=1,nesting=1
hostname: docker-arrs
memory: 4096
mp0: /mnt/pve/media-plex-nas,mp=/mnt/media
net0: name=eth0,bridge=vmbr0,firewall=1,gw=10.0.0.1,hwaddr=D2:DE:CF:EA:6B:A6,ip=10.0.0.>
ostype: debian
rootfs: maho-pve-vms:vm-200-disk-0,size=50G
swap: 2048
unprivileged: 1
I've tried to change ownership or permissions of the mount point file and nothing ever changes, permissions remain this
Code:
drwxr-xr-x 2 nobody nogroup 0 Sep 21 00:42 media
Any help that anyone can provide as to insight for what I'm doing wrong is appreciated.
Last edited: