Cache=none ?

BitRausch

Renowned Member
Mar 16, 2009
140
0
81
Muenster
Hi all,

Just a question for my understanding:

When I create a new harddisk throu the GUI I see that the default cache setting is "Default (no cache)" which is fine.
But in the <vmid>.conf I do not see the "cache=none" behind the harddisk line. Where can I see if cache is really off?
(I ran some very quick and dirty test and I think cache is still on). I added the cache=none to the harddisk line manualy and it looks to me that only with this modification cache is off.

here my sample vmid.conf (nothing special - cache=none was added by me)
Code:
bootdisk: virtio0
cores: 4
ide0: NFSISO:iso/de_install_disc_windows_small_business_server_2011_standard_x6$
ide2: NFSISO:iso/virtio-win-1.1.16.iso,media=cdrom
memory: 8129
name: SBSTest
net0: e1000=EA:1D:B2:1B:68:13,bridge=vmbr1
ostype: win7
sockets: 1
virtio0: local:100/vm-100-disk-1.raw,cache=none

pveversion -v
Code:
pve-manager: 2.0-33 (pve-manager/2.0/c598d9e1)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 2.0-60
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.88-2pve1
clvm: 2.02.88-2pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-1
pve-cluster: 1.0-23
qemu-server: 2.0-20
pve-firmware: 1.0-15
libpve-common-perl: 1.0-14
libpve-access-control: 1.0-16
libpve-storage-perl: 2.0-12
vncterm: 1.0-2
vzctl: 3.0.30-2pve1
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-4
ksm-control-daemon: 1.1-1


Kind regards
 
e.g. with:

Code:
qm showcmd <vmid>

this shows the detailed parameters for the KVM process.
 
Thank you very much Tom.
I can see that cache=none shows up in the qm showcmd. I will double check on my side why I get this missleading information ....

kind regards
 

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!