[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