[
https://issues.apache.org/jira/browse/VCL-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Thompson resolved VCL-1084.
--------------------------------
Resolution: Implemented
The code only sets the disk cache mode for NFS. This allows qemu to use its own
default for local disk (which can apparently vary by version).
> set cache mode for libvirt VMs
> ------------------------------
>
> Key: VCL-1084
> URL: https://issues.apache.org/jira/browse/VCL-1084
> Project: VCL
> Issue Type: Improvement
> Components: vcld (backend)
> Reporter: Josh Thompson
> Priority: Major
> Fix For: 2.5.1
>
>
> The recommend cache mode for VMs depends on the storage type being used. If
> the qcow2 file is on an NFS mount, the cache mode should be none. If it is on
> a local filesystem, it should be writethrough or writeback. Additionally,
> when trying to perform a live migration with a shared NFS mount, it fails if
> the cache mode is not none because data corruption could result.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)