Change LXC mount options

tsumaru720

Well-Known Member
May 1, 2016
66
2
48
44
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/ ?
 

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!