Enable nfs mount on LXC container

MikeC

Renowned Member
Jan 11, 2016
71
0
71
Bay Area, California
Hello all.

I need to be able to mount a volume from a host that is not on the proxmox server onto an lxc container.
Whenever I try, I get:

root@trin6:~# mount -t cifs -o user=admin //192.168.1.15/Applications /mnt/mymnt
mount: //192.168.1.15/Applications is write-protected, mounting read-only
mount: cannot mount //192.168.1.15/Applications read-only

I can use this same command on the proxmox server itself and it works fine.
No matter which mount I use, or how it's shared from the host, I get the same error in the container.
What do I have to do to enable this on the container itself?
I've seen posts that say, "use vxctl and add feature 'nfs:eek:n'", however there is no vzctl any longer, and none of the lxc-* commands look to provide that same service.

So, how can I do this on prox 4.x?

Thanks
 

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!