[PVE-User] Support for rbind mounts via pct

Joachim Tingvold joachim at tingvold.com
Wed Aug 10 22:32:56 CEST 2016


Hi,

Currently it seems that the mp[n]-flag assumes 'bind' unless the device 
is within '/dev/' (classify_mountpoint() in PVE::LXC::Config [1]).

With 'lxc.mount.entry' you can define other types, like 'rbind', which 
is useful if you use ZFS with datasets (to mount the entire tree 
recursively). However, using mp[n], this is not possible.

Not sure if this is classified as a 'feature request', and hence should 
be posted on the dev-list or something, but, yeah, it would be really 
useful if pct got a flag to override the mount type.


[1] 
<https://git.proxmox.com/?p=pve-container.git;a=blob;f=src/PVE/LXC/Config.pm;hb=HEAD>

-- 
Joachim



More information about the pve-user mailing list