Disk cache settings for VMs on BTRFS

croxis

Member
Nov 16, 2020
11
1
8
40
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!
 
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 yours easily in our online shop.

Buy now!