Change LXC mount options

tsumaru720

Renowned Member
May 1, 2016
66
2
73
45
Hi Guys

My Proxmox is configured in that all my LXC containers have a .raw image which contains their filesystem in /var/lib/vz/images.

I was wondering if I can set specific mount options per container so that for example the container itself could have "noatime" set. I dont want this global if possible
 
Hi,

I was wondering if I can set specific mount options per container so that for example the container itself could have "noatime" set. I dont want this global if possible

No that's currently not supported. We do not want to allow passing arbitrary options as this can have security implications.
But we could maybe make a whitelist of a few often used and secure (in the sense of container security not in the sense of data consistency/secureness) options as atime,noatime,relatime,barrier,nobarrier.

Can you please make a feature request report @ https://bugzilla.proxmox.com/ ?