Skip to main content

Adding NAS storage to LXC container

1) Add fileshare to proxmox UI

Datacentre -> Storage ->Add SMB/CIFS

ID: Name for share
Server: IP address of NAS
Username + Password: login credentials
Share: After filling the above share should automatically fill with all available shares on the server.

 

2) Edit LXC .conf file

From host shell

sudo nano /etc/pve/lxc/<LXCid>.conf

add following line below memory section:

mp0: /mnt/pve/<filesharename>,mp=<mount folder>,size=0T

3) Reboot LXC and test