<br><font size=2 face="sans-serif">Hello,</font>
<br><font size=2 face="sans-serif">I am using LVM2 whith XEN</font>
<br><font size=2 face="sans-serif">All of my DomU disks are one or more
logical volume</font>
<br><font size=2 face="sans-serif">For exemple /dev/vg0/lv1</font>
<br>
<br><font size=2 face="sans-serif">For the moment when i want do a domU
backup, i take a snapshot, do an image (dd gzip) of the snapshot, delete
the snapshot and restor the dd image on the original logical volume.</font>
<br><font size=2 face="sans-serif">so</font>
<br>
<br><font size=2 face="sans-serif">Backuping</font>
<br><font size=2 face="sans-serif">lvcreate -s -L500M -nlv1.snap /dev/vg0/lv1</font>
<br><font size=2 face="sans-serif">dd if=/dev/vg0/lv1.snap bs=16M | gzip
| dd of=/lv1.gz bs=16M</font>
<br><font size=2 face="sans-serif">lvremove /dev/vg0/lv1.snap</font>
<br>
<br><font size=2 face="sans-serif">Restoring</font>
<br><font size=2 face="sans-serif">gzip -dc /lv1.gz | dd of=/dev/vg0/lv1</font>
<br>
<br><font size=2 face="sans-serif">This method is very weight and not useful</font>
<br>
<br><font size=2 face="sans-serif">ideally </font>
<br><font size=2 face="sans-serif">dd if=/dev/vg0/lv1.snap of=/dev/vg0/lv1
should be perfect but it is impossible because when restoring snapshot
on the original volume, the snapshot continue to increase until to become
fully and inactive</font>
<br>
<br><font size=2 face="sans-serif">Is there a solution to deactive the
cow (copy and write)for during the restoration about snapshot to original
volume ?<br>
</font>
<table>
<tr>
<td></table>
<br><font size=3 face="sans-serif"><br>
<br>
<br>
</font>
<br><font size=3 face="Lucida Sans"><br>
</font><img src=http://www.lippi.fr/img/eco.jpg><font size=3 face="Lucida Sans"><br>
</font><font size=2 face="Lucida Sans"><br>
<br>
Ce message et toutes les pieces jointes sont etablis a l'attention exclusive
de ses destinataires et sont strictement confidentiels. </font><a href=http://www.lippi.fr/disclaimer.php><font size=2 color=blue face="Lucida Sans"><u>Pour
en savoir plus cliquer ici</u></font></a><font size=2 face="Lucida Sans"><br>
<br>
This message and any attachments are confidential to the ordinary user
of the e-mail address to which it was addressed and may also be privileged.
</font><a href=http://www.lippi.fr/disclaimer.php><font size=2 color=blue face="Lucida Sans"><u>More
information</u></font></a><font size=3 face="Lucida Sans"><br>
</font>
<br>