Disk cache settings for VMs on BTRFS

croxis

New Member
Nov 16, 2020
7
0
1
39
I'm a little confused with the documentation. The BTRFS page says
Code:
BTRFS will honor the O_DIRECT flag when opening files, meaning VMs should not use cache mode none, otherwise there will be checksum errors.
which I understand to mean set the disk cache to anything other than none.

However on the ZFS and Dir pages say that write back should be used instead of none if the storage does NOT support O_Direct.

What should I set my disk cache to for VMs on Proxmox 7? Thanks!
 

adoII

Active Member
Jan 28, 2010
166
15
38
Anyone found out what is the recommended setting of cache mode for vm images on btrfs ? none or writeback ?
 
  • Like
Reactions: mishki

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!