Hello, is there a way to start a domU under xen so that the guest is start from a file read only partition and all write changes are written into a separate snapshot file ? I mean the same which works with qemu-kvm snapshot=on, is there something similar for Xen ? this is very useful to start a guest from a template file image, and then write hte specific guest machine into a snapshot file image or partition. How to do it with Xen ? thanks Rick _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hey Ricardo, since snapshots are writeable you can prepare something like a template or golden-image snapshot this and let your xen-guests work on that snapshot. You can prepare many snapshots from a lvol. hth, Thomas PS: openqrm makes massive usage of this ;) Am Montag, den 30.03.2009, 15:54 +0200 schrieb Riccardo Veraldi:> Hello, > is there a way to start a domU under xen so that the guest is start from > a file read only partition > and all write changes are written into a separate snapshot file ? > I mean the same which works with qemu-kvm snapshot=on, is there > something similar for Xen ? > this is very useful to start a guest from a template file image, and > then write hte specific > guest machine into a snapshot file image or partition. > How to do it with Xen ? > > thanks > > Rick > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Mar 30, 2009 at 8:54 PM, Riccardo Veraldi <Riccardo.Veraldi@cnaf.infn.it> wrote:> Hello, > is there a way to start a domU under xen so that the guest is start from a > file read only partition > and all write changes are written into a separate snapshot file ?Try using tap:qcow. http://wiki.xensource.com/xenwiki/blktap http://wiki.rpath.com/wiki/Xen_DomU_Guide#QCOW_Images I/O performance will be lower compared to LVM-backed domU though, and you can''t use it (for now anyway) for Windows domU with GPLPV. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users