Hi, You can set cache if you are using the CLI, just create a disk attachment file
with DISK = [ IMAGE_ID = #{image_id}, TARGET = #{target}, CACHE=default ] or DISK = [ IMAGE_ID = #{image_id}, DEV_PREFIX = #{bus}, CACHE=default ] and then use it for onevm attachdisk. I agree, that it should probably honor the default in vmm_exec_kvm.conf. I've filled an issue to improve this... http://dev.opennebula.org/issues/1737 Cheers On Wed, Jan 23, 2013 at 1:07 PM, Rolandas Naujikas < rolandas.nauji...@mif.vu.lt> wrote: > Hi, > > I'm testing disks hotplug for kvm VMs and I found that there are no way to > setup cache mode for such disks. I tried to put CACHE="none" to image > template, but it is not used in attach_disk (tested with "rm -f > "$ATTACH_FILE"" commented out). > > We have CACHE="none" default in vmm_exec_kvm.conf, because for virtio > disks it is fast. CACHE=default is about one order slower. > > Regards, Rolandas Naujikas > ______________________________**_________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org > > -- > Ruben S. Montero, PhD > Project co-Lead and Chief Architect > OpenNebula - The Open Source Solution for Data Center Virtualization > <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org> > www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org