[SOLVED] possible bug: bindmount into running container no longer works

n0x0n

Member
Jan 20, 2022
25
2
8
Since 2022, I can bind-mount into a running comtainer (see this post).
While this still worked in January 2024, it's no longer working now.
Code:
root@pve:/# pct set 104 -mp1 /media/tmp,mp=/media/usb,replicate=0
400 Parameter verification failed.
mp1: unable to hotplug mp1: failed to move 'mp2' into container hierarchy: Permission denied


pct set <vmid> [OPTIONS]
The GUI displays the following, notice the orange color:
1712828183417.png

The LXC is a unprivileged container, HA is active.

Manually editing the LXC conf file and adding mp1: /media/tmp,mp=/media/usb,replicate=0 makes the GUI display the following in the usual black:
1712828701265.png
But in the running LXC, the mountpoint is not mounted.
 
Last edited:
no ETA, but core packages like pve-container are usually bumped quite frequently.
 
  • Like
Reactions: n0x0n

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!