<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Nov 17, 2017 at 9:50 AM Demeter Tibor &lt;<a href="mailto:tdemeter@itsmart.hu">tdemeter@itsmart.hu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" 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"><div>Hi,</div><div><br></div><div><a href="https://pastebin.com/raw/cFrphHHh" target="_blank">https://pastebin.com/raw/cFrphHHh</a><br></div><div><br></div><div>The problematic disk is</div><div><pre style="color:#000000;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;word-wrap:break-word;white-space:pre-wrap">  &lt;disk type=&#39;file&#39; device=&#39;disk&#39; snapshot=&#39;no&#39;&gt;
      &lt;driver name=&#39;qemu&#39; type=&#39;raw&#39; cache=&#39;none&#39; error_policy=&#39;stop&#39; io=&#39;threads&#39;/&gt;
      &lt;source file=&#39;/rhev/data-center/bcc17ec5-3ba3-4664-ba47-24fde9d92a2a/d2f65815-5f25-4740-ba56-76749a0f4571/images/d1db6e0e-87d0-4124-8326-b18bff3fdf90/5974fd33-af4c-4e3b-aadb-bece6054eb6b&#39;&gt;
        &lt;seclabel model=&#39;selinux&#39; relabel=&#39;no&#39;/&gt;
      &lt;/source&gt;
      &lt;target dev=&#39;vdc&#39; bus=&#39;virtio&#39;/&gt;
      &lt;serial&gt;d1db6e0e-87d0-4124-8326-b18bff3fdf90&lt;/serial&gt;
      &lt;alias name=&#39;virtio-disk2&#39;/&gt;
      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x08&#39; function=&#39;0x0&#39;/&gt;
    &lt;/disk&gt;</pre></div></div></div></blockquote><div><br></div><div>Why do you think it is not correct?</div><div><br></div><div>To check that the drive is indeed raw, please share the output of:</div><div><br></div><div>qemu-img info /rhev/data-center/bcc17ec5-3ba3-4664-ba47-24fde9d92a2a/d2f65815-5f25-4740-ba56-76749a0f4571/images/d1db6e0e-87d0-4124-8326-b18bff3fdf90/5974fd33-af4c-4e3b-aadb-bece6054eb6b</div><div><br></div><div>for n in /rhev/data-center/bcc17ec5-3ba3-4664-ba47-24fde9d92a2a/d2f65815-5f25-4740-ba56-76749a0f4571/images/d1db6e0e-87d0-4124-8326-b18bff3fdf90/*.meta; do echo &quot;# $n&quot;; cat $n; echo; done<br></div><div> <br></div><blockquote class="gmail_quote" 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"><div><br></div><div><br></div><div><br></div><div>What can I do?</div><div><br></div><div>Thank you for your time!</div></div></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div><br></div><div><br></div><div>Tibor</div></div></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div><br></div><div><br></div><div><br></div><div><span id="m_-728424458869794494zwchr">----- 2017. nov.. 16., 22:40, Nir Soffer &lt;<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@redhat.com</a>&gt; írta:<br></span></div><div><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"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Nov 16, 2017 at 7:11 PM Demeter Tibor &lt;<a href="mailto:tdemeter@itsmart.hu" target="_blank">tdemeter@itsmart.hu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" 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"><div>Hi,</div><div>Sorry for my bad English:(</div><br><div>Ovirt could not import my VM and disks from original storge-domain. It is an NFS share on a server. </div><div>Then I create an another NFS share on same storage and attached to ovirt as new storgae domain.</div><div>At this step I&#39;ve created a new VM on new storage-domain with same disks. (three think provisioned, 100GB, 60GB and 13TB disks). It was necessary, because ovirt cant import my original disks and VM from the re-attached storage domain. </div><div>Finally I renamed my old disks from old storage domain to new on new storgae domain (it was possible because are there on same file system on nfs server)</div><div>At this moment only two virtual disk working fine. The 100 and 60GB disks does working fine, but the 13TB is not. It has a snapshot. Or not? Is it a snapshot or not? </div><br><div>My problem is inside VM I  see the content as raw disk. I thing Ovirt don&#39;t want to use it as a snapshotted image. Or what ? </div></div></div></blockquote><br><div>Demeter, can you share the output of this command on a host running your vm?</div><br><div>virsh -r dumpxml vm-name</div><br><div>Nir</div><div> <br></div><blockquote class="gmail_quote" 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"><br><div>Thank you.</div></div></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><br><div>Tibor</div></div></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><br><span id="m_-728424458869794494m_-529399546939118735zwchr">----- 2017. nov.. 16., 15:57, Benny Zlotnik &lt;<a href="mailto:bzlotnik@redhat.com" target="_blank">bzlotnik@redhat.com</a>&gt; írta:<br></span><div><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"><div dir="ltr">Hi Tibor,<br><div>Can you please explain this part: &quot;<span style="color:#000000;font-family:arial,helvetica,sans-serif;font-size:16px">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.&quot;</span></div><div>What were the exact steps you took?</div><br><div>Thanks <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 16, 2017 at 4:19 PM, Demeter Tibor <span dir="ltr">&lt;<a href="mailto:tdemeter@itsmart.hu" target="_blank">tdemeter@itsmart.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" 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"><div>Hi,</div><br><div>Thank you for your reply.</div><br><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&#39;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><br><div>It was partial success because the VM can boot, but the disk, where there is a snapshot I can&#39;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&#39;t know that is a snapshotted image and attach to VM as raw disk.</div><br><div>So my really question, how can I add this disk image as good to ovirt?<br></div><br><div>Please help me, it is very important me.:(</div><br><div>Thanks in advance,</div><br><div>Have a nice day,</div><br><div>Tibor</div><div><div class="m_-728424458869794494m_-529399546939118735h5"><br><br><span id="m_-728424458869794494m_-529399546939118735m_-5905001798014261139zwchr">----- 2017. nov.. 16., 11:55, Ala Hino &lt;<a href="mailto:ahino@redhat.com" target="_blank">ahino@redhat.com</a>&gt; írta:<br></span><div><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"><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">&lt;<a href="mailto:tdemeter@itsmart.hu" target="_blank">tdemeter@itsmart.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" 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"><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&#39;ve try to migrate a storage-domain between two datacenter. </div><div>Because, I didn&#39;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&#39;t know that is a snapshotted image and use as raw. Is it possible?</div><div>I don&#39;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&#39;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&#39;t migrate to an another image, because I don&#39;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:&#39;Times New Roman&#39;;font-size:medium;margin:0px"><strong><span style="font-size:medium"><span 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></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><br></blockquote></div></div></div>_______________________________________________<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>
</blockquote></div></div><br></blockquote></div></div></div></blockquote></div></div>