Great news for https://pve.proxmox.com/wiki/Linux_Container ;)
Now seek "proxmox mount lxc" (link bottom), the first result is old article :(
https://duckduckgo.com/?q=proxmox+mount+lxc
https://www.google.fr/search?q=proxmox+mount+lxc
it's possible remove old article and put "anchor" HTML...
Hello,
For remember : https://forum.proxmox.com/threads/proxmox4-lxc-bind-mounts-read-only.25995/
The option "ro" on lxc mount it's ready, now update the documentation (https://pve.proxmox.com/wiki/LXC_Bind_Mounts) for support option (ro=1)
Exemple : mp0:/host-target,mp=/guest-target,ro=1
Thanx
#pct start 1228
vm 1228 - unable to parse value of 'mp0' - duplicate key in comma-separated list property: volume
#dpkg -l | grep pve-container
ii pve-container 1.0-41 all Proxmox VE Container management tool
#grep mp0 /etc/pve/lxc/1228.conf
mp0: container:vm-100-disk-1,/mnt/test,ro=1...
Hello Dietmar,
Thanks you for your quick response.
For precision and example, it's possible to mount an readonly lvm logical volume :
->mp0: pve_storage_name:lvm_logical_volume_name,/mnt/example,r
But not possible mount directory (bind) from host :
->mp0: /mnt/host_directory,/mnt/example,r...
Hello,
In Proxmox 4, they are two method to mount a directory in a container "lxc.mount.entry" and "mpX" (https://pve.proxmox.com/wiki/LXC_Bind_Mounts).
My problem :
-mpX : Method doesn't support read only.
-lxc.mount.entry : Method can only be used one time and it's doesn't recommanded option...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.