<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi,</div><div><br data-mce-bogus="1"></div><div>Thank you for your reply.</div><div><br data-mce-bogus="1"></div><div>So. I have a disk with snapshot. Or - really - I just think that is a snapshot. It was attached originally to a VM (with other two disks, that is not have snapshot) I did a detach-attach-storage procedure, but after attach, - I don't know why - ovirt could not import the VM and disks from this (ovirt said it is not possible). After this I just wondered, I will make a new VM with same disk and I will copy the images (really just rename) from original to recreated.</div><div><br data-mce-bogus="1"></div><div>It was partial success because the VM can boot, but the disk, where there is a snapshot I can't read the LVM table. I see just it seems to corrupt. </div><div> Now this disk in a very interested state: I can see the snapshot datas from the vm as raw disk. </div><div>I think Ovirt don't know that is a snapshotted image and attach to VM as raw disk.</div><div><br data-mce-bogus="1"></div><div>So my really question, how can I add this disk image as good to ovirt?<br></div><div><br data-mce-bogus="1"></div><div>Please help me, it is very important me.:(</div><div><br data-mce-bogus="1"></div><div>Thanks in advance,</div><div><br data-mce-bogus="1"></div><div>Have a nice day,</div><div><br data-mce-bogus="1"></div><div>Tibor</div><div><br data-mce-bogus="1"></div><br><span id="zwchr" data-marker="__DIVIDER__">----- 2017. nov.. 16., 11:55, Ala Hino <ahino@redhat.com> írta:<br></span><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div dir="ltr">Hi Tibor,<br><div>I am not sure I completely understand the scenario.</div><br><div>You have a VM with two disks and then you create a snapshot including the two disks?</div><div>Before creating the snapshot, did the VM recognize the two disks?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor <span dir="ltr"><<a href="mailto:tdemeter@itsmart.hu" target="_blank">tdemeter@itsmart.hu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><div>Dear Users,</div><br><div>I have a disk of a vm, that is have a snapshot. It is very interesting, because there are two other disk of that VM, but there are no snapshots of them.</div><div>I found this while I've try to migrate a storage-domain between two datacenter. </div><div>Because, I didn't import that vm from the storage domain, I did an another similar VM with exactly same sized thin-provisioned disks. I have renamed, copied to here my originals. </div><br><div>The VM started successfully, but the disk that contain a snapshot did not recognized by the os. I can see the whole disk as raw. (disk id, format in ovirt, filenames of images, etc) . I think ovirt don't know that is a snapshotted image and use as raw. Is it possible?</div><div>I don't see any snapshot in snapshots. Also I have try to list snapshots with qemu-img info and qemu-img snapshot -l , but it does not see any snapshots in the image.</div><br><div>Really, I don't know how is possible this.</div><br><div><div>[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info 5974fd33-af4c-4e3b-aadb-bece6054eb6b</div><div>image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b</div><div>file format: qcow2</div><div>virtual size: 13T (13958643712000 bytes)</div><div>disk size: 12T</div><div>cluster_size: 65536</div><div>backing file: ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>backing file format: raw</div><div>Format specific information:</div><div> compat: 0.10</div></div><div><div><br><div>[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info 723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>image: 723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>file format: raw</div><div>virtual size: 2.0T (2147483648000 bytes)</div><div>disk size: 244G</div></div><br><div>[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll</div><div>total <a href="tel:(309)%20698-7560" target="_blank">13096987560</a></div><div>-rw-rw----. 1 36 36 13149448896512 Nov 13 13:42 5974fd33-af4c-4e3b-aadb-bece6054eb6b</div><div>-rw-rw----. 1 36 36 1048576 Nov 13 19:34 5974fd33-af4c-4e3b-aadb-bece6054eb6b.lease</div><div>-rw-r--r--. 1 36 36 262 Nov 13 19:54 5974fd33-af4c-4e3b-aadb-bece6054eb6b.meta</div><div>-rw-rw----. 1 36 36 2147483648000 Jul 8 2016 723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>-rw-rw----. 1 36 36 1048576 Jul 7 2016 723ad5aa-02f6-4067-ac75-0ce0a761627f.lease</div><div>-rw-r--r--. 1 36 36 335 Nov 13 19:52 723ad5aa-02f6-4067-ac75-0ce0a761627f.meta</div><br><div>qemu-img snapshot -l 5974fd33-af4c-4e3b-aadb-bece6054eb6b<br></div><br><div>(nothing)</div><br><div>Because it is a very big (13 TB) disk I can't migrate to an another image, because I don't have enough free space. So I just would like to use it in ovirt like in the past. </div><br><div>I have a very old ovirt (3.5)</div><br><div>How can I use this disk?</div><br><div>Thanks in advance,</div><br><div>Regards,</div></div><br><div><p style="font-family: 'Times New Roman'; font-size: medium; margin: 0px;" data-mce-style="font-family: 'Times New Roman'; font-size: medium; margin: 0px;"><strong><span style="font-size: medium;" data-mce-style="font-size: medium;"><span style="color: #2d67b0;" data-mce-style="color: #2d67b0;"></span></span></strong></p>Tibor<p></p></div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div></div></div><br></blockquote></div></div></body></html>