[one-users] hotplug attach disk cache mode for kvm

Ruben S. Montero rsmontero at opennebula.org
Wed Jan 23 04:55:24 PST 2013


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.naujikas at 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 at 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 | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130123/405f8dab/attachment-0001.htm>


More information about the Users mailing list