[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] can I clone a runiung domU?



Fajar A. Nugraha wrote:

I'd like to know if it's possible to clone a running domU. The LVM image is 30GB. I can't really afford to have the
running one off line that long, so if possible I'd like todo it while
it's running.

dd almost certainly won't give you a usable filesystem in your copy.

Using 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.

Regards,

Fajar
------------------------------------------------------------------------

_______________________________________________
Sure, but I don't. I'm using CentOS as OS, with ext3 :) So, I need to work with what I have

--

Kind Regards
Rudi Ahlers

Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.