Hello, I'd like to clone existing CentOS server. Can anybody recommend any working solution to achieve that ? Regards Przemyslaw Bak (przemol) -- http://przemol.blogspot.com/ ---------------------------------------------------------------------- Wygraj nawigacje GPS! 14 sztuk czeka. Sprawdz >> http://link.interia.pl/f22f3
> > Hello, > > I'd like to clone existing CentOS server. Can anybody > recommend any working solution to achieve that ? > > > Regards > Przemyslaw Bak (przemol)http://clonezilla.org/ Alexander
At 12:43 +0200 26/8/09, przemolicc at poczta.fm wrote:>Hello, > >I'd like to clone existing CentOS server. Can anybody >recommend any working solution to achieve that ?I've used the dd + netcat + live CD technique with success in the past eg: http://alma.ch/blogs/bahut/2005/02/wonders-of-dd-and-netcat-cloning-os.html Cheers Simon
2009/8/26 <przemolicc at poczta.fm>:> > Hello, > > I'd like to clone existing CentOS server. Can anybody > recommend any working solution to achieve that ?I have had success with Mondo. There are some issues with OCFS2 and some Dell storage, otherwise it worked with quite complicated hardware RAID schemes. -- Hakan (m1fcj) - http://www.hititgunesi.org
przemolicc at poczta.fm wrote:> I'd like to clone existing CentOS server. Can anybody > recommend any working solution to achieve that ?1) virsh shutdown vmxx 2) cp /etc/libvirt/qemu/vmxx /etc/libvirt/qemu/vmyy 3) cp <old image file> <new image file> 4) perl -pi -w -e 's/old image file/new image file/g;' /etc/libvirt/qemu/vmyy 5) adjust new name in /etc/libvirt/qemu/vmyy 6) reload libvirtd 7) virsh start vmxx virsh start vmyy HTH Regards Michael