<div dir="ltr">Hi!<div><br></div><div>You can attach a Cinder volume to a running instance...</div><div><br></div><div>To make a Cinder volume looks like a ISO, I think you can do the following step at your "cinder-volume" node:</div>
<div><br></div><div>dd if=/my/iso/file.iso of=/dev/cinder-volumes/LOGICAL_VOLUME_OF_CINDER</div><div><br></div><div>Then, attach it to your instance...</div><div><br></div><div>I'm not sure if it will work but, it worth trying it...</div>
<div><br></div><div>Please, keep in mind that the above "dd" command will wipe out all data at your cinder-volume logical volume "LOGICAL_VOLUME_OF_CINDER"!</div><div><br></div><div><div>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...</div>
</div><div><br></div><div>Best,</div><div>Thiago</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 23 April 2014 22:43, Zhangleiqiang (Trump) <span dir="ltr"><<a href="mailto:zhangleiqiang@huawei.com" target="_blank">zhangleiqiang@huawei.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI, all:<br>
<br>
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.<br>
<br>
I think it 's more or less not convenient. Can ISO image in Glance be attach to running instance directly?<br>
<br>
<br>
----------<br>
zhangleiqiang (Trump)<br>
<br>
Best Regards<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div>