[PVE-User] qemu write cache mode

Dhaussy Alexandre ADhaussy at voyages-sncf.com
Tue Jan 3 11:33:07 CET 2017


Hello,

I just spotted something strange with storage cache mode.

I set cache=none on all my VMs (i believe this is the default), however 
qm monitor says "writeback, direct".

Am i missing something ?

root at proxmoxt20:~# qm monitor 198
Entering Qemu Monitor for VM 198 - type 'help' for help
qm> info block
drive-virtio0 (#block127): /dev/T_proxmox_1/vm-198-disk-1 (raw)
     Cache mode:       writeback, direct
     Detect zeroes:    on

Process command line :

/usr/bin/kvm -id 198............-drive 
file=/dev/T_proxmox_1/vm-198-disk-1,if=none,id=drive-virtio0,format=raw
cache=none,aio=native,detect-zeroes=on -device 
virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0x
a,bootindex=100 -netdev


More information about the pve-user mailing list