[SOLVED] how to change cluster size and l2 cache size in qcow2 ?

jiggol

Active Member
Feb 22, 2020
1
0
41
43
hello.
I want to change the cluster size and l2 cache size of an already created qcow2 file. What should I do?
 
Hi,
you can change the cluster size with e.g. qemu-img convert -f qcow2 -O qcow2 -o cluster_size=128K in.qcow2 out.qcow2. The l2 cache size needs to be specified upon invocation of the QEMU process. Unfortunately, this is currently not supported in Proxmox VE (except by doing it manually via the args configuration option). See this feature request for more information.
 
  • Like
Reactions: jiggol