Hi,
I have upgraded Proxmox to 1.8 which adds cache=none to the kvm options for raw disks.
However: If I start a vm whose image is on a zfs-fuse filesystem the vm wont start. I debugged it so far:
kvm -drive file=/tank/images/136/vm-136-disk-1.raw,if=virtio,index=0,cache=none,boot=on
gives:
kvm: -drive file=/tank/images/136/vm-136-disk-1.raw,if=virtio,index=0,cache=none,boot=on: could not open disk image /tank/images/136/vm-136-disk-1.raw: Invalid argument
When I change cache=none to cache=writeback it works:
san04:/var/log# kvm -drive file=/tank/images/136/vm-136-disk-1.raw,if=virtio,index=0,cache=writeback,boot=on
Crazy enough: When I move the image to nfs-storage the vm can be started with cache=none
Does anybody know what happens here ? Is it simply that fuse/zfs-fuse does not support setting cache-options for kvm ?
I ended up with a workaround by adding cache=writethrough to the vmid.conf files
I have upgraded Proxmox to 1.8 which adds cache=none to the kvm options for raw disks.
However: If I start a vm whose image is on a zfs-fuse filesystem the vm wont start. I debugged it so far:
kvm -drive file=/tank/images/136/vm-136-disk-1.raw,if=virtio,index=0,cache=none,boot=on
gives:
kvm: -drive file=/tank/images/136/vm-136-disk-1.raw,if=virtio,index=0,cache=none,boot=on: could not open disk image /tank/images/136/vm-136-disk-1.raw: Invalid argument
When I change cache=none to cache=writeback it works:
san04:/var/log# kvm -drive file=/tank/images/136/vm-136-disk-1.raw,if=virtio,index=0,cache=writeback,boot=on
Crazy enough: When I move the image to nfs-storage the vm can be started with cache=none
Does anybody know what happens here ? Is it simply that fuse/zfs-fuse does not support setting cache-options for kvm ?
I ended up with a workaround by adding cache=writethrough to the vmid.conf files