[Users] How to backup thin provisioned qcow2 disks?

This is a multi-part message in MIME format. --------------010101040609000103060503 Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 8bit Hi, I'm currently looking for ways to backup my disks. Live storage migration converted my disks from preallocated to thin provisioning. Preallocated disk backups are working from a simple dd from a snapshot, but the thin qcow2 disks are a problem. I seems it uses multiple logical volumes (3 in my case). Also they are combined MUCH bigger than the preallocated: 8GB raw vs thin: 31 GB - 1 snapshot. So I have two questions: - how would you backup these thin disks? - is it possible to convert thin to preallocated and discard the snapshots thanks -- Ernest Beinrohr, AXON PRO DevOps, Ing <http://www.beinrohr.sk/ing.php>, RHCE <http://www.beinrohr.sk/rhce.php>, RHCVA <http://www.beinrohr.sk/rhce.php>, LPIC <http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>, +421-2--6241-0360 <callto://+421-2--6241-0360>, +421-903--482-603 <callto://+421-903--482-603> icq:28153343, skype:oernii-work <callto://oernii-work>, jabber:oernii@jabber.org ------------------------------------------------------------------------ For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. Richard Feynman --------------010101040609000103060503 Content-Type: text/html; charset=windows-1250 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi, I'm currently looking for ways to backup my disks. <br> Live storage migration converted my disks from <br> preallocated to thin provisioning. Preallocated disk <br> backups are working from a simple dd from a snapshot, <br> but the thin qcow2 disks are a problem. I seems it uses <br> multiple logical volumes (3 in my case). Also they <br> are combined MUCH bigger than the preallocated:<br> 8GB raw vs thin: 31 GB - 1 snapshot.<br> <br> So I have two questions:<br> - how would you backup these thin disks?<br> - is it possible to convert thin to preallocated and <br> discard the snapshots<br> <br> <br> thanks<br> <br> <div class="moz-signature">-- <br> <div id="oernii_footer" style="color: gray;"> <span style="font-family: Lucida Console, Luxi Mono, Courier, monospace; font-size: 90%;"> Ernest Beinrohr, AXON PRO<br> DevOps, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/ing.php">Ing</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/vca.php">VCA</a>, <a style="text-decoration: none; color: gray;" href="callto://+421-2--6241-0360">+421-2--6241-0360</a>, <a style="text-decoration: none; color: gray;" href="callto://+421-903--482-603">+421-903--482-603</a><br> icq:28153343, <a style="text-decoration: none; color: gray;" href="callto://oernii-work">skype:oernii-work</a>, <a class="moz-txt-link-abbreviated" href="mailto:jabber:oernii@jabber.org">jabber:oernii@jabber.org</a> <br> </span> <hr style="height: 1px; width: 95%"> <span style="font-size: 70%;"> For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. Richard Feynman </span> </div> </div> <img src="http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk" moz-do-not-send="true" border="0" width="1" height="1"> </body> </html> --------------010101040609000103060503--

------=_Part_231984_1196979840.1386169070765 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ----- Original Message -----
From: "Ernest Beinrohr" <Ernest.Beinrohr@axonpro.sk> To: "users" <users@ovirt.org> Sent: Monday, November 25, 2013 12:20:08 PM Subject: [Users] How to backup thin provisioned qcow2 disks?
Hi, I'm currently looking for ways to backup my disks. Live storage migration converted my disks from preallocated to thin provisioning. Preallocated disk backups are working from a simple dd from a snapshot, but the thin qcow2 disks are a problem. I seems it uses multiple logical volumes (3 in my case). For one snapshot? Are you sure?=20
Also they are combined MUCH bigger than the preallocated: 8GB raw vs thin: 31 GB - 1 snapshot. What version are you using?=20 And on what storage?=20
So I have two questions: - how would you backup these thin disks? You could just copy all three of your volumes.=20 A more robust way, though, would probably be to export the disk to an expor= t domain.=20
- is it possible to convert thin to preallocated and discard the snapshots Unfortunately, not while the VM is still running. If you shut it down, you = can merge the snapshot back.=20 Go to VMs -> Snapshots -> select the snapshot you want to remove, and click= delete.=20
thanks
-- Ernest Beinrohr, AXON PRO DevOps, Ing , RHCE , RHCVA , LPIC , VCA , +421-2--6241-0360 , +421-903--482-603 icq:28153343, skype:oernii-work , jabber:oernii@jabber.org
=E2=80=9CFor a successful technology, reality must take precedence over p= ublic relations, for Nature cannot be fooled.=E2=80=9D Richard Feynman
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
------=_Part_231984_1196979840.1386169070765 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id= =3D"zwchr"><blockquote style=3D"border-left:2px solid #1010FF;margin-left:5= px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-de= coration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Fr= om: </b>"Ernest Beinrohr" <Ernest.Beinrohr@axonpro.sk><br><b>To: </b>= "users" <users@ovirt.org><br><b>Sent: </b>Monday, November 25, 2013 1= 2:20:08 PM<br><b>Subject: </b>[Users] How to backup thin provisioned qcow2 = disks?<br><div><br></div> =20 =20 =20 =20 Hi, I'm currently looking for ways to backup my disks. <br> Live storage migration converted my disks from <br> preallocated to thin provisioning. Preallocated disk <br> backups are working from a simple dd from a snapshot, <br> but the thin qcow2 disks are a problem. I seems it uses <br> multiple logical volumes (3 in my case).</blockquote><div>For one snaps= hot? Are you sure?</div><blockquote style=3D"border-left:2px solid #1010FF;= margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:n= ormal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size= :12pt;"> Also they <br> are combined MUCH bigger than the preallocated:<br> 8GB raw vs thin: 31 GB - 1 snapshot.</blockquote><div>What version are = you using?</div><div>And on what storage?</div><blockquote style=3D"border-= left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-wei= ght:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Ari= al,sans-serif;font-size:12pt;"><br><br> So I have two questions:<br> - how would you backup these thin disks?</blockquote><div>You could jus= t copy all three of your volumes.</div><div>A more robust way, though, woul= d probably be to export the disk to an export domain.</div><blockquote styl= e=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:H= elvetica,Arial,sans-serif;font-size:12pt;"><br> - is it possible to convert thin to preallocated and <br> discard the snapshots</blockquote><div>Unfortunately, not = while the VM is still running. If you shut it down, you can merge the snaps= hot back.</div><div>Go to VMs -> Snapshots -> select the snapshot you= want to remove, and click delete.</div><blockquote style=3D"border-left:2p= x solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:nor= mal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans= -serif;font-size:12pt;"><br><br><br> thanks<br><br><div class=3D"moz-signature">-- <br><div id=3D"oernii_foo= ter" style=3D"color: gray;"><span style=3D"font-family: Lucida Console, Lux= i Mono, Courier, monospace; font-size: 90%;"> Ernest Beinrohr, AXON PRO<br> DevOps, <a style=3D"text-decoration: none; color: gray;" href=3D"http://w= ww.beinrohr.sk/ing.php" target=3D"_blank">Ing</a>, <a style=3D"text-decorat= ion: none; color: gray;" href=3D"http://www.beinrohr.sk/rhce.php" target=3D= "_blank">RHCE</a>, <a style=3D"text-decoration: none; color: gray;" href=3D= "http://www.beinrohr.sk/rhce.php" target=3D"_blank">RHCVA</a>, <a style=3D"= text-decoration: none; color: gray;" href=3D"http://www.beinrohr.sk/lpic.ph= p" target=3D"_blank">LPIC</a>, <a style=3D"text-decoration: none; color: gr= ay;" href=3D"http://www.beinrohr.sk/vca.php" target=3D"_blank">VCA</a>, <a = style=3D"text-decoration: none; color: gray;" href=3D"callto://+421-2--6241= -0360" target=3D"_blank">+421-2--6241-0360</a>, <a style=3D"text-decoration= : none; color: gray;" href=3D"callto://+421-903--482-603" target=3D"_blank"=
+421-903--482-603</a><br> icq:28153343, <a style=3D"text-decoration: none; color: gray;" hr= ef=3D"callto://oernii-work" target=3D"_blank">skype:oernii-work</a>, <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:jabber:oerni= i@jabber.org" target=3D"_blank">jabber:oernii@jabber.org</a> <br> </span><hr style=3D"height: 1px; width: 95%"><span style=3D"font-si= ze: 70%;"> =E2=80=9CFor a successful technology, reality must take precedenc= e over public relations, for Nature cannot be fooled.=E2=80=9D Rich= ard Feynman </span></div></div><img border=3D"0" width=3D"1" height= =3D"1" src=3D"http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk"= src=3D"http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk"><br>_= ______________________________________________<br>Users mailing list<br>Use= rs@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquo= te><div><br></div></div></body></html> ------=_Part_231984_1196979840.1386169070765--

This is a multi-part message in MIME format. --------------080101080506030805060300 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Dňa 04.12.2013 15:57, Allon Mureinik wrote / napísal(a):
Hi, I'm currently looking for ways to backup my disks. Live storage migration converted my disks from preallocated to thin provisioning. Preallocated disk backups are working from a simple dd from a snapshot, but the thin qcow2 disks are a problem. I seems it uses multiple logical volumes (3 in my case).
For one snapshot? Are you sure?
Not anymore, i've deleted the host and its disks :(
Also they are combined MUCH bigger than the preallocated: 8GB raw vs thin: 31 GB - 1 snapshot.
What version are you using? And on what storage?
3.3 on iscsi. And I am talking about the LVM lv sizes. No idea how much of that space the qcow actually occupies.
So I have two questions: - how would you backup these thin disks?
You could just copy all three of your volumes. A more robust way, though, would probably be to export the disk to an export domain.
The problem was, that i didn't know WHICH volumes to copy, but that was probably due a wrong sql query. -- Ernest Beinrohr, AXON PRO DevOps, Ing <http://www.beinrohr.sk/ing.php>, RHCE <http://www.beinrohr.sk/rhce.php>, RHCVA <http://www.beinrohr.sk/rhce.php>, LPIC <http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>, +421-2--6241-0360 <callto://+421-2--6241-0360>, +421-903--482-603 <callto://+421-903--482-603> icq:28153343, skype:oernii-work <callto://oernii-work>, jabber:oernii@jabber.org ------------------------------------------------------------------------ “For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.” Richard Feynman --------------080101080506030805060300 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Dňa 04.12.2013 15:57, Allon Mureinik wrote / napísal(a):<br> </div> <blockquote cite="mid:1426271281.231985.1386169070765.JavaMail.root@redhat.com" type="cite"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <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>Hi, I'm currently looking for ways to backup my disks. <br> </div> Live storage migration converted my disks from <br> preallocated to thin provisioning. Preallocated disk <br> backups are working from a simple dd from a snapshot, <br> but the thin qcow2 disks are a problem. I seems it uses <br> multiple logical volumes (3 in my case).</blockquote> <div>For one snapshot? Are you sure?</div> </div> </blockquote> Not anymore, i've deleted the host and its disks :(<br> <blockquote cite="mid:1426271281.231985.1386169070765.JavaMail.root@redhat.com" type="cite"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <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;"> Also they <br> are combined MUCH bigger than the preallocated:<br> 8GB raw vs thin: 31 GB - 1 snapshot.</blockquote> <div>What version are you using?</div> <div>And on what storage?</div> </div> </blockquote> 3.3 on iscsi. And I am talking about the LVM lv sizes. No idea how much of that space the qcow actually occupies.<br> <blockquote cite="mid:1426271281.231985.1386169070765.JavaMail.root@redhat.com" type="cite"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"> <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;"><br> <br> So I have two questions:<br> - how would you backup these thin disks?</blockquote> <div>You could just copy all three of your volumes.</div> <div>A more robust way, though, would probably be to export the disk to an export domain.</div> </div> </blockquote> The problem was, that i didn't know WHICH volumes to copy, but that was probably due a wrong sql query.<br> <br> <br> <div class="moz-signature">-- <br> <div id="oernii_footer" style="color: gray;"> <span style="font-family: Lucida Console, Luxi Mono, Courier, monospace; font-size: 90%;"> Ernest Beinrohr, AXON PRO<br> DevOps, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/ing.php">Ing</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/vca.php">VCA</a>, <a style="text-decoration: none; color: gray;" href="callto://+421-2--6241-0360">+421-2--6241-0360</a>, <a style="text-decoration: none; color: gray;" href="callto://+421-903--482-603">+421-903--482-603</a><br> icq:28153343, <a style="text-decoration: none; color: gray;" href="callto://oernii-work">skype:oernii-work</a>, <a class="moz-txt-link-abbreviated" href="mailto:jabber:oernii@jabber.org">jabber:oernii@jabber.org</a> <br> </span> <hr style="height: 1px; width: 95%"> <span style="font-size: 70%;"> “For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.” Richard Feynman </span> </div> </div> <img src="http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk" moz-do-not-send="true" border="0" height="1" width="1"> </body> </html> --------------080101080506030805060300--
participants (2)
-
Allon Mureinik
-
Ernest Beinrohr