[noob] trying to mount a network share from a container (ubuntu)

Startide

New Member
Sep 8, 2023
18
0
1
Hi everyone,

As stated in the title : I am very new to all this ;) I have started using proxmox to replace my synology NAS, but for the time being the data is still on the NAS.

I want to access my shared folders from emby installed on an unprivileged ubuntu container. Emby doesn't seem to see my network shares (I have samba and NFS activated on my NAS, permissions granted for guests too).

I asked on emby forums and was pointed there : https://support.zadarastorage.com/hc/en-us/articles/213024986-How-to-Mount-a-SMB-Share-in-Ubuntu

But that doesn't seem to be doable, after further research I bumped into this: https://bayton.org/docs/linux/lxd/mount-cifssmb-shares-rw-in-lxd-containers/

The first command from the tutorial simply behave as expected and creates the file rather than giving me an error as expected. I tried skipping to part 2 :

sudo ls -la /var/lib/lxd/containers/c1/rootfs/

But that folder doesn't exist for me.

What should I do ?

Thanks for all the help !
 

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!