LXC mount options / trim

pmoxuser7

New Member
Apr 13, 2017
2
0
1
33
Hey.

is it possible to add a mount option like discard to an LXC RAW storage?

If not, is it save to use something like that to trim runnings VMs from the Host-Os:

fstrim /proc/<PID of LXC init process>/root

Thanks for your help!
 

FastLaneJB

Active Member
Feb 3, 2012
89
6
28
Hey.

is it possible to add a mount option like discard to an LXC RAW storage?

If not, is it save to use something like that to trim runnings VMs from the Host-Os:

fstrim /proc/<PID of LXC init process>/root

Thanks for your help!

I like to see this so I can control the barriers setting for some containers as that's where people are seeing huge increases in IO waits when using servers without battery / flash based RAID controllers. compared to Proxmox 3.
 

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 your own in 60 seconds.

Buy now!