[Openstack] [Nova] How to attach an ISO image in Glance to running instance

Martinx - ジェームズ thiagocmartinsc at gmail.com
Thu Apr 24 23:16:34 UTC 2014


Hi!

You can attach a Cinder volume to a running instance...

To make a Cinder volume looks like a ISO, I think you can do the following
step at your "cinder-volume" node:

dd if=/my/iso/file.iso of=/dev/cinder-volumes/LOGICAL_VOLUME_OF_CINDER

Then, attach it to your instance...

I'm not sure if it will work but, it worth trying it...

Please, keep in mind that the above "dd" command will wipe out all data at
your cinder-volume logical volume "LOGICAL_VOLUME_OF_CINDER"!

Also, you can format (mkfs.ext4) your cinder-volume locally at its node,
mount it, copy the ISO into it, umount and attach it to your instance...

Best,
Thiago


On 23 April 2014 22:43, Zhangleiqiang (Trump) <zhangleiqiang at huawei.com>wrote:

> HI, all:
>
>         I have an ISO image in Glance which contains some data, and I want
> to copy data to running instance. I find maybe the only way is first
> creating a volume from this image and then attach volume to the instance.
>
>         I think it 's more or less not convenient. Can ISO image in Glance
> be attach to running instance directly?
>
>
> ----------
> zhangleiqiang (Trump)
>
> Best Regards
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140424/6a3728cf/attachment.html>


More information about the Openstack mailing list