[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] can I clone a runiung domU?
Rudi Ahlers wrote: Fajar A. Nugraha wrote:Sure, but I don't. I'm using CentOS as OS, with ext3 :) So, I need to work with what I haveUsing LVM you should be able to make a snapshot of the filesystem which should be at least as consistent (integrity wise) as if you'd done an 'xm destroy' on the domain.A neat way to do that is if you use zfs-backed storage, either directly (using Sun's xVM) or having solaris export the volume over iscsi to linux box. The "clone" process for zfs is two simple commands : "zfs snanpshot" and "zfs clone", which is almost instaneous. In that case James' suggestion is probably your best bet. If you use lvm-backed storage for domU : - lvm snapshot on running domU's LVM, to get a consistent state. - dd from the snapshot to a new LV - destroy snapshot As for optimum block size for dd, I think the default PE size for linux LVM is 4MB, so you might want to try that. Regards, Fajar Attachment:
smime.p7s _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |