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.
The GUI displays the following, notice the orange color:
The LXC is a unprivileged container, HA is active.
Manually editing the LXC conf file and adding
But in the running LXC, the mountpoint is not mounted.
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 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:But in the running LXC, the mountpoint is not mounted.
Last edited: