Why shouldn't you prefer the default way of doing things in the software you use? If you don't trust in their choice, why should you run the software at all?
In my understanding that's expected behavior.i also set the cache to write-back, after a crash i lost some data.
i also set the cache to write-back, after a crash i lost some data.
i have proxmox 7. why?
https://pve.proxmox.com/wiki/Performance_Tweaks#Disk_Cachecache=writeback
This mode causes qemu-kvm to interact with the disk image file or block device with neither O_DSYNC nor O_DIRECT semantics, so the host page cache is used and writes are reported to the guest as completed when placed in the host page cache, and the normal page cache management will handle commitment to the storage device. Additionally, the guest's virtual storage adapter is informed of the writeback cache, so the guest would be expected to send down flush commands as needed to manage data integrity. Analogous to a raid controller with RAM cache.
- host page cache is used as read & write cache
- guest disk cache mode is writeback
- Warning: you can lose data in case of a power failure
- You need to use the barrier option in your Linux guest's fstab if kernel < 2.6.37 to avoid FS corruption in case of power failure.
We use essential cookies to make this site work, and optional cookies to enhance your experience.