
--=_75029c66-38e0-4c8d-b808-94b76c03465f Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=20 Sorry for my bad English:(=20 Ovirt could not import my VM and disks from original storge-domain. It is a= n NFS share on a server.=20 Then I create an another NFS share on same storage and attached to ovirt as= new storgae domain.=20 At this step I've created a new VM on new storage-domain with same disks. (= three think provisioned, 100GB, 60GB and 13TB disks). It was necessary, bec= ause ovirt cant import my original disks and VM from the re-attached storag= e domain.=20 Finally I renamed my old disks from old storage domain to new on new storga= e domain (it was possible because are there on same file system on nfs serv= er)=20 At this moment only two virtual disk working fine. The 100 and 60GB disks d= oes working fine, but the 13TB is not. It has a snapshot. Or not? Is it a s= napshot or not?=20 My problem is inside VM I see the content as raw disk. I thing Ovirt don't = want to use it as a snapshotted image. Or what ?=20 Thank you.=20 Tibor=20 ----- 2017. nov.. 16., 15:57, Benny Zlotnik <bzlotnik@redhat.com> =C3=ADrta= :=20
Hi Tibor, Can you please explain this part: " After this I just wondered, I will ma= ke a new VM with same disk and I will copy the images (really just rename) fro= m original to recreated." What were the exact steps you took?
Thanks
On Thu, Nov 16, 2017 at 4:19 PM, Demeter Tibor < [ mailto:tdemeter@itsmar= t.hu | tdemeter@itsmart.hu ] > wrote:
Hi,
Thank you for your reply.
So. I have a disk with snapshot. Or - really - I just think that is a sn= apshot. It was attached originally to a VM (with other two disks, that is not ha= ve 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 sam= e disk and I will copy the images (really just rename) from original to recreat= ed.
It was partial success because the VM can boot, but the disk, where ther= e is a snapshot I can't read the LVM table. I see just it seems to corrupt. Now this disk in a very interested state: I can see the snapshot datas f= rom the vm as raw disk. I think Ovirt don't know that is a snapshotted image and attach to VM as= raw disk.
So my really question, how can I add this disk image as good to ovirt?
Please help me, it is very important me.:(
Thanks in advance,
Have a nice day,
Tibor
----- 2017. nov.. 16., 11:55, Ala Hino < [ mailto:ahino@redhat.com | ahino@redhat.com ] > =C3=ADrta:
Hi Tibor, I am not sure I completely understand the scenario.
You have a VM with two disks and then you create a snapshot including t= he two disks? Before creating the snapshot, did the VM recognize the two disks?
On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor < [ mailto:tdemeter@its= mart.hu | tdemeter@itsmart.hu ] > wrote:
Dear Users,
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 the= m. I found this while I've try to migrate a storage-domain between two da= tacenter. Because, I didn't import that vm from the storage domain, I did an ano= ther similar VM with exactly same sized thin-provisioned disks. I have rena= med, copied to here my originals.
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, forma= t in ovirt, filenames of images, etc) . I think ovirt don't know that is a snapshotted image and use as raw. Is it possible? I don't see any snapshot in snapshots. Also I have try to list snapsho= ts with qemu-img info and qemu-img snapshot -l , but it does not see any snaps= hots in the image.
Really, I don't know how is possible this.
[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info 5974fd33-af4c-4e3b-aadb-bece6054eb6b image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b file format: qcow2 virtual size: 13T (13958643712000 bytes) disk size: 12T cluster_size: 65536 backing file: ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0ce0a7= 61627f backing file format: raw Format specific information: compat: 0.10
[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info 723ad5aa-02f6-4067-ac75-0ce0a761627f image: 723ad5aa-02f6-4067-ac75-0ce0a761627f file format: raw virtual size: 2.0T (2147483648000 bytes) disk size: 244G
[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll total [ tel:(309)%20698-7560 | 13096987560 ] -rw-rw----. 1 36 36 13149448896512 Nov 13 13:42 5974fd33-af4c-4e3b-aadb-bece6054eb6b -rw-rw----. 1 36 36 1048576 Nov 13 19:34 5974fd33-af4c-4e3b-aadb-bece6054eb6b.lease -rw-r--r--. 1 36 36 262 Nov 13 19:54 5974fd33-af4c-4e3b-aadb-bece6054e= b6b.meta -rw-rw----. 1 36 36 2147483648000 Jul 8 2016 723ad5aa-02f6-4067-ac75-0ce0a761627f -rw-rw----. 1 36 36 1048576 Jul 7 2016 723ad5aa-02f6-4067-ac75-0ce0a761627f.lease -rw-r--r--. 1 36 36 335 Nov 13 19:52 723ad5aa-02f6-4067-ac75-0ce0a7616= 27f.meta
qemu-img snapshot -l 5974fd33-af4c-4e3b-aadb-bece6054eb6b
(nothing)
Because it is a very big (13 TB) disk I can't migrate to an another im= age, because I don't have enough free space. So I just would like to use it= in ovirt like in the past.
I have a very old ovirt (3.5)
How can I use this disk?
Thanks in advance,
Regards,
Tibor
_______________________________________________ Users mailing list [ mailto:Users@ovirt.org | Users@ovirt.org ] [ http://lists.ovirt.org/mailman/listinfo/users | http://lists.ovirt.org/mailman/listinfo/users ]
_______________________________________________ Users mailing list [ mailto:Users@ovirt.org | Users@ovirt.org ] [ http://lists.ovirt.org/mailman/listinfo/users | http://lists.ovirt.org/mailman/listinfo/users ]
<div>At this moment only two virtual disk working fine. The 100 and 60GB d= isks does working fine, but the 13TB is not. It has a snapshot. Or not? Is = it a snapshot or not? </div><div><br data-mce-bogus=3D"1"></div><div>M= y problem is inside VM I see the content as raw disk. I thing Ovirt d= on't want to use it as a snapshotted image. Or what ? </div><div><br><= /div><div>Thank you.</div><div><br></div><div data-marker=3D"__SIG_PRE__">T= ibor</div><br><span id=3D"zwchr" data-marker=3D"__DIVIDER__">----- 2017. no= v.. 16., 15:57, Benny Zlotnik <bzlotnik@redhat.com> =C3=ADrta:<br></s=
What were the exact steps you took?</div><br><div>Thanks <br></div></=
<br><div>Have a nice day,</div><br><div>Tibor</div><div><div class=3D"h5">= <br><br><span id=3D"m_-5905001798014261139zwchr">----- 2017. nov.. 16., 11:= 55, Ala Hino <<a href=3D"mailto:ahino@redhat.com" target=3D"_blank">ahin= o@redhat.com</a>> =C3=ADrta:<br></span><div><blockquote style=3D"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=3D"border-le= ft: 2px solid #1010ff; margin-left: 5px; padding-left: 5px; color: #000; fo= nt-weight: normal; font-style: normal; text-decoration: none; font-family: = Helvetica,Arial,sans-serif; font-size: 12pt;"><div dir=3D"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=3D"gmail_extra"><br><div class=3D"gmail_quote">On M= on, Nov 13, 2017 at 10:36 PM, Demeter Tibor <span dir=3D"ltr"><<a href= =3D"mailto:tdemeter@itsmart.hu" target=3D"_blank">tdemeter@itsmart.hu</a>&g= t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin: 0 0 = 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;" data-mce-style=3D"= margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div><=
<div>-rw-rw----. 1 36 36 1048576 Nov 13 19:34 5= 974fd33-af4c-4e3b-aadb-bece6054eb6b.lease</div><div>-rw-r--r--. 1 36 36&nbs=
--=_75029c66-38e0-4c8d-b808-94b76c03465f Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: arial, helvetica, sans-serif; font-s= ize: 12pt; color: #000000"><div>Hi,</div><div>Sorry for my bad English:(</d= iv><div><br data-mce-bogus=3D"1"></div><div>Ovirt could not import my VM an= d 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 t= o ovirt as new storgae domain.</div><div>At this step I've created a new VM= on new storage-domain with same disks. (three think provisioned, 100GB, 60= GB 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= pan><div data-marker=3D"__QUOTED_TEXT__"><blockquote style=3D"border-left: = 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-w= eight: normal; font-style: normal; text-decoration: none; font-family: Helv= etica,Arial,sans-serif; font-size: 12pt;" data-mce-style=3D"border-left: 2p= x solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-wei= ght: normal; font-style: normal; text-decoration: none; font-family: Helvet= ica,Arial,sans-serif; font-size: 12pt;"><div dir=3D"ltr">Hi Tibor,<br><div>= Can you please explain this part: "<span style=3D"color: #000000; font-fami= ly: arial,helvetica,sans-serif; font-size: 16px;" data-mce-style=3D"color: = #000000; font-family: arial,helvetica,sans-serif; font-size: 16px;">After t= his I just wondered, I will make a new VM with same disk and I will copy th= e images (really just rename) from original to recreated."</span></div><div= div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Nov 1= 6, 2017 at 4:19 PM, Demeter Tibor <span dir=3D"ltr"><<a href=3D"mailto:t= demeter@itsmart.hu" target=3D"_blank">tdemeter@itsmart.hu</a>></span> wr= ote:<br><blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 .8ex; bord= er-left: 1px #ccc solid; padding-left: 1ex;" data-mce-style=3D"margin: 0 0 = 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div><div style=3D= "font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"= data-mce-style=3D"font-family: arial,helvetica,sans-serif; font-size: 12pt= ; color: #000000;"><div>Hi,</div><br><div>Thank you for your reply.</div><b= r><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 at= tach, - I don't know why - ovirt could not import the VM and disks fr= om this (ovirt said it is not possible). After this I just wond= ered, I will make a new VM with same disk and I will copy the images (reall= y just rename) from original to recreated.</div><br><div>It was partial suc= cess 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 th= e vm as raw disk. </div><div>I think Ovirt don't know that is a snapsh= otted image and attach to VM as raw disk.</div><br><div>So my really questi= on, how can I add this disk image as good to ovirt?<br></div><br><div>Pleas= e help me, it is very important me.:(</div><br><div>Thanks in advance,</div= div style=3D"font-family: arial,helvetica,sans-serif; font-size: 12pt; colo= r: #000000;" data-mce-style=3D"font-family: arial,helvetica,sans-serif; fon= t-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 ar= e 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 datacen= ter. </div><div>Because, I didn't import that vm from the storage doma= in, I did an another similar VM with exactly same sized thin-provisioned di= sks. I have renamed, copied to here my originals. </div><br><div>The V= M started successfully, but the disk that contain a snapshot did not recogn= ized 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 i= n 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@st= orage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info 5974fd33-af4c-4= e3b-aadb-bece6054eb6b</div><div>image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b= </div><div>file format: qcow2</div><div>virtual size: 13T (13958643712000 b= ytes)</div><div>disk size: 12T</div><div>cluster_size: 65536</div><div>back= ing file: ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0= ce0a761627f</div><div>backing file format: raw</div><div>Format specific in= formation:</div><div> compat: 0.10</div></div><div><div><br><d= iv>[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info 723a= d5aa-02f6-4067-ac75-0ce0a761627f</div><div>image: 723ad5aa-02f6-4067-ac75-0= ce0a761627f</div><div>file format: raw</div><div>virtual size: 2.0T (214748= 3648000 bytes)</div><div>disk size: 244G</div></div><br><div>[root@storage1= 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll</div><div>total <a href=3D"tel:(= 309)%20698-7560" target=3D"_blank">13096987560</a></div><div>-rw-rw----. 1 = 36 36 13149448896512 Nov 13 13:42 5974fd33-af4c-4e3b-aadb-bece6054eb6b</div= p; 262 Nov 13 19:54 5974fd33-af4c-4e3b-a= adb-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 723ad= 5aa-02f6-4067-ac75-0ce0a761627f.lease</div><div>-rw-r--r--. 1 36 36 &= nbsp; 335 Nov 13 19:52 723ad5aa-02f6-4067-ac75-= 0ce0a761627f.meta</div><br><div>qemu-img snapshot -l 5974fd33-af4c-4e3b-aad= b-bece6054eb6b<br></div><br><div>(nothing)</div><br><div>Because it is a ve= ry big (13 TB) disk I can't migrate to an another image, because I don't ha= ve enough free space. So I just would like to use it in ovirt like in the p= ast. </div><br><div>I have a very old ovirt (3.5)</div><br><div>How ca= n I use this disk?</div><br><div>Thanks in advance,</div><br><div>Regards,<= /div></div><br><div><p style=3D"font-family: 'Times New Roman'; font-size: = medium; margin: 0px;" data-mce-style=3D"font-family: 'Times New Roman'; fon= t-size: medium; margin: 0px;"><strong><span style=3D"font-size: medium;" da= ta-mce-style=3D"font-size: medium;"><span style=3D"color: #2d67b0;" data-mc= e-style=3D"color: #2d67b0;"></span></span></strong></p>Tibor<p></p></div></= div></div><br>_______________________________________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_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=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br></blockquote></div></div><br></blockquote></div></div></body></html> --=_75029c66-38e0-4c8d-b808-94b76c03465f--