Ask Your Question

How to override default disk dev type of vda?

asked 2013-11-07 23:46:08 -0500

Kanth gravatar image

I want to run fully virtualized VM (which doesn't have virtio driver) using openstack and would like to know the nova/glance api interface to overide the default of "vda" for disk dev type and set it to "hda" as below:

<disk device="disk" type="file"> <source file="..."></source> <target bus="ide" dev="hda"> </target></disk>

I see following facility for overiding default disk bus type, but not for disk dev type. glance image-update --property hw_disk_bus=ide <vm_image></vm_image>

edit retag flag offensive close merge delete


Maybe you can configure this option on nova.conf: libvirt_disk_prefix. It is said this option can override the default disk prefix for the devices attached to a server, which is dependent on libvirt_type. (valid options are: sd, xvd, uvd, vd)

Euler gravatar imageEuler ( 2013-11-25 09:26:18 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-30 08:52:16 -0500

realdoug gravatar image

updated 2015-09-30 08:53:03 -0500

I want to do the opposite, I need the vdX instead of hdX, any ideas ? thx

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-11-07 23:46:08 -0500

Seen: 1,081 times

Last updated: Sep 30 '15