is there way to boot up a instance with 2 QCOW2 images which show up as two disk drives in the guest OS??

asked 2014-03-06 19:06:56 -0600

anonymous user


updated 2014-03-06 19:07:54 -0600

while trying to spawn multiple instances i need to pass per instance data to my instance during boot up..i tried config drive option..But it seems the config drive is in iso9660 format. But for my application i require a second drive which is mounted in qcow2 format instead of the raw format used in config drive..

im using havana version

edit retag flag offensive close merge delete


What is the big picture on what you are trying to do ? There maybe a better way ... using cloud-init to pass in data, or using something that can orchestrate the data into the instance on boot. You can make a volume from an image, and mount them to an instance. You would need cloud ready VMs.

Bill@Metacloud gravatar imageBill@Metacloud ( 2014-03-06 19:35:26 -0600 )edit

@Anonymous: I need this feature, too, but haven't found a solution yet. Seems just not possible. @Bill@Metacloud: I think it is not always about empty operating system installations. Maybe we just want one Image containing on big or many applications but not start a partitioning war to keep the data on separate drives. Some thing cannot even be done being cloud aware or cloud-init is not there for the operating system.

Mathias Ewald gravatar imageMathias Ewald ( 2014-03-07 01:12:05 -0600 )edit

Bill@Metacloud For accessing the data using cloudinit the guest OS needs to acquire an IP. i need to get some instance specific data before this stage...

soundar gravatar imagesoundar ( 2014-03-07 10:19:15 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-03-07 02:27:23 -0600

fetahi gravatar image

Have you tried to put a second image as a volume using cinder?

edit flag offensive delete link more

answered 2014-03-07 09:55:37 -0600

Adrian Smith gravatar image

Have you looked into the block-device-mapping parameter?

Using this parameter you can attach a second volume to a VM before it boots. The source for this volume can either be an existing volume or a volume snapshot. In the case of a volume snapshot the snapshot is cloned so each VM gets its own volume.

I just asked a question on here about this a few minutes ago as the performance on LVM with large volumes is poor.

edit flag offensive delete link more


i haven't tried this parameter...i will try that

soundar gravatar imagesoundar ( 2014-03-07 10:20:01 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-03-06 19:06:56 -0600

Seen: 1,132 times

Last updated: Mar 07 '14