[SOLVED] Disk Configuration Help

warllo

Active Member
Dec 22, 2017
11
1
43
37
Hi. I'm looking to build a host that will host a few VM's. One of the VM's will be hosting some data bases and I need to ensure good data consistency. I'm planning local storage using a pair of ZFS mirrors (Samsung pm893 ssd's) with a mirror of Slog devices. How should I configure the host to use sync writes and what would be the best disk cache setting for the VM that will be hosting the databases. Thanks in advance for your suggestions.
 
How should I configure the host to use sync writes and what would be the best disk cache setting for the VM that will be hosting the databases. Thanks in advance for your suggestions.
Sync writes are allowed by default. You could force all sync writes as async writes or force all async writes as sync writes by changing the "sync" option of your ZFS pool. Recommended cache mode is "none" when using ZFS. No need to cache the data a third time in RAM by enabling caching on the QEMU level.
 
Last edited:
  • Like
Reactions: warllo

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!