
--=_fca10f80-2d41-4dda-bb21-b946e59bed3e Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=20 Thank you for your reply.=20 So. I have a disk with snapshot. Or - really - I just think that is a snaps= hot. 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 (ovir= t said it is not possible). After this I just wondered, I will make a new V= M with same disk and I will copy the images (really just rename) from origi= nal to recreated.=20 It was partial success because the VM can boot, but the disk, where there i= s a snapshot I can't read the LVM table. I see just it seems to corrupt.=20 Now this disk in a very interested state: I can see the snapshot datas from= the vm as raw disk.=20 I think Ovirt don't know that is a snapshotted image and attach to VM as ra= w disk.=20 So my really question, how can I add this disk image as good to ovirt?=20 Please help me, it is very important me.:(=20 Thanks in advance,=20 Have a nice day,=20 Tibor=20 ----- 2017. nov.. 16., 11:55, Ala Hino <ahino@redhat.com> =C3=ADrta:=20
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 the= 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@itsma= rt.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 them. I found this while I've try to migrate a storage-domain between two data= center. Because, I didn't import that vm from the storage domain, I did an anoth= er similar VM with exactly same sized thin-provisioned disks. I have rename= d, copied to here my originals.
The VM started successfully, but the disk that contain a snapshot did no= t 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? 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 snapsho= ts 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-0ce0a761= 627f 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-bece6054eb6= b.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-0ce0a761627= f.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 imag= e, because I don't have enough free space. So I just would like to use it i= n 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 ]
<div><br data-mce-bogus=3D"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=3D"1= "></div><div>Please help me, it is very important me.:(</div><div><br data-= mce-bogus=3D"1"></div><div>Thanks in advance,</div><div><br data-mce-bogus= =3D"1"></div><div>Have a nice day,</div><div><br data-mce-bogus=3D"1"></div= <div>Tibor</div><div><br data-mce-bogus=3D"1"></div><br><span id=3D"zwchr"= data-marker=3D"__DIVIDER__">----- 2017. nov.. 16., 11:55, Ala Hino <ahi= no@redhat.com> =C3=ADrta:<br></span><div data-marker=3D"__QUOTED_TEXT__"= <blockquote style=3D"border-left: 2px solid #1010FF; margin-left: 5px; pad= ding-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-left: 2px solid #1010FF; margin-left: 5px; paddi= ng-left: 5px; color: #000; font-weight: normal; font-style: normal; text-de= coration: 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 th= e 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><d= iv class=3D"gmail_quote">On Mon, Nov 13, 2017 at 10:36 PM, Demeter Tibor <s=
I don't see any snapshot in snapshots. Also I have try to list snapshots w= ith qemu-img info and qemu-img snapshot -l , but it does not see any snapsh= ots 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]# qe= mu-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-6c8f4a23a64= b/723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>backing file format: raw</=
virtual size: 2.0T (2147483648000 bytes)</div><div>disk size: 244G</div></=
--=_fca10f80-2d41-4dda-bb21-b946e59bed3e 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><br data-mce-bogus=3D"1"></di= v><div>Thank you for your reply.</div><div><br data-mce-bogus=3D"1"></div><= div>So. I have a disk with snapshot. Or - really - I just think that is a s= napshot. 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 attac= h, - 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 wondere= d, I will make a new VM with same disk and I will copy the images (really j= ust rename) from original to recreated.</div><div><br data-mce-bogus=3D"1">= </div><div>It was partial success because the VM can boot, but the disk, wh= ere 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 s= ee the snapshot datas from the vm as raw disk. </div><div>I think Ovir= t don't know that is a snapshotted image and attach to VM as raw disk.</div= pan dir=3D"ltr"><<a href=3D"mailto:tdemeter@itsmart.hu" target=3D"_blank= ">tdemeter@itsmart.hu</a>></span> wrote:<br><blockquote class=3D"gmail_q= uote" style=3D"margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-lef= t: 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-s= erif; font-size: 12pt; color: #000000;" data-mce-style=3D"font-family: aria= l,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 in= teresting, because there are two other disk of that VM, but there are no sn= apshots 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 th= at vm from the storage domain, I did an another similar VM with exactly sam= e sized thin-provisioned disks. I have renamed, copied to here my originals= . </div><br><div>The VM started successfully, but the disk that contai= n 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= div><div>Format specific information:</div><div> compat: 0.10<= /div></div><div><div><br><div>[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a= 23a64b]# qemu-img info 723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>image= : 723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>file format: raw</div><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><div>-rw-rw----. 1 36 36 &n= bsp; 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-0ce0= a761627f</div><div>-rw-rw----. 1 36 36 1048576 J= ul 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 snapsho= t -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 anothe= r image, because I don't have enough free space. So I just would like to us= e 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 advan= ce,</div><br><div>Regards,</div></div><br><div><p style=3D"font-family: 'Ti= mes New Roman'; font-size: medium; margin: 0px;" data-mce-style=3D"font-fam= ily: 'Times New Roman'; font-size: medium; margin: 0px;"><strong><span styl= e=3D"font-size: medium;" data-mce-style=3D"font-size: medium;"><span style= =3D"color: #2d67b0;" data-mce-style=3D"color: #2d67b0;"></span></span></str= ong></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></body></ht= ml> --=_fca10f80-2d41-4dda-bb21-b946e59bed3e--