Quoting Javier Fontan (jfon...@opennebula.org):
> I've been digging a bit more in the shareable issue and it seems that
> setting "shareable" to a disk just disables cache in qemu/kvm[1]:
> 
> --8<------
> 4158         virBufferAsprintf(&opt, ",cache=%s", mode);
> 4159     } else if (disk->shared && !disk->readonly) {
> 4160         virBufferAddLit(&opt, ",cache=off");
> 4161     }
> ------>8--
> 
> Isn't it enough to disable cache for disks that can be migrated?
Yes it is, at least in our environment (Ubuntu 13.10). Cache has to be
off (to avoid data loss while migrating vm).

/etc/one/vmm_exec/vmm_exec_kvm.conf:

DISK     = [ driver = "raw" , cache = "none", io = "native"]

Gr. Stefan
 

-- 
| BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
| GPG: 0xD14839C6                   +31 318 648 688 / i...@bit.nl
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to