mount lxc mountpoint without reboot

BJ Quinn

Member
Mar 1, 2018
17
2
23
43
Hi, I added a mountpoint for my lxc container from the command line:

pct set 141 -mp0 /path/on/host,mp=/path/on/guest

This obviously works if I reboot the container. But is there any way to mount this w/o a container restart?
 
If you can find the container root filesytem in its Proxmox storage location, maybe you can do the bind mount yourself (as root on the Proxmox host console)?
 

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!