<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 6:37 PM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:fajar@fajar.net">fajar@fajar.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Nov 12, 2009 at 5:10 PM, Mr. Teo En Ming (Zhang Enming)<br>
<div class="im"><<a href="mailto:space.time.universe@gmail.com">space.time.universe@gmail.com</a>> wrote:<br>
</div><div class="im">> Hi,<br>
><br>
> I don't think I will be using the LVM snapshot method. I will simply ensure<br>
> that my domU is not running,<br>
<br>
</div>Ah, so you can live with the down time. It makes things a lot simpler then.<br>
<div class="im"><br>
> then I proceed to do the losetup and kpartx<br>
> procedure.<br>
<br>
</div>Like others mentioned, you don't need losetup for LVs. It will only<br>
make things slower.<br>
<div class="im"><br>
> Subsequently I will backup the MBR of my domU by dd-ing<br>
> /dev/loopX and clone all the filesystems of the domU using fsarchiver.<br>
><br>
> I would like to use fsarchiver because it can support LZMA compression. LZMA<br>
> can compress better than bzip2 and decompress 3x faster than bzip2.<br>
> partimage only supports gzip and bzip2.<br>
<br>
<br>
</div>If your concern is the size and speed of backup, here's one final note<br>
from me: you might want to look at zfs. Possible use scenarios :<br>
- use opensolaris as dom0. Probably the most supported option when it<br>
comes to xen + zfs, but you need to be familiar with how opensolaris<br>
works.<br>
- use external storage server running solaris/opensolaris as iscsi<br>
SAN. Think of it as poor-man's Netapp.<br>
- use zfs-fuse inside Linux dom0, and store domU storage as files<br>
- use zfs-fuse on domU, and do backup from domU instead of dom0.<br>
<br>
With zfs, you'd get zfs snapshot (which is like instaneous in-place<br>
backup), incremental block-level send (can greatly reduce backup<br>
storage size if your data doesn't change often), optional transparent<br>
compression for live data (like what ntfs has).<br>
<br>
--<br>
<font color="#888888">Fajar<br>
</font></blockquote></div><br>I am not familiar with OpenSolaris but that may change with time.<br><br clear="all">-- <br>Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)<br>Alma Maters:<br>
(1) Singapore Polytechnic<br>(2) National University of Singapore<br>My Primary Blog: <a href="http://teo-en-ming-aka-zhang-enming.blogspot.com">http://teo-en-ming-aka-zhang-enming.blogspot.com</a><br>My Secondary Blog: <a href="http://enmingteo.wordpress.com">http://enmingteo.wordpress.com</a><br>
My Youtube videos: <a href="http://www.youtube.com/user/enmingteo">http://www.youtube.com/user/enmingteo</a><br>Email: <a href="mailto:space.time.universe@gmail.com">space.time.universe@gmail.com</a><br>Mobile Phone (Starhub Prepaid): +65-8369-2618<br>
Street: Bedok Reservoir Road<br>Country: Singapore<br><br>