|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Convert physical server to VM
Hi Jordi,
I used this method to virtualize some GNU/Linux old boxes, the only
problem is to shutdown the machine, boot with a LiveCD and make the dd,
depending on the size of the HD, the downtime will be a problem. In some
days, I will use this method to virtualize some FreeBSD servers... I
cross my fingers :)
Regards,
Marc
Jordi Espasa Clofent wrote:
the problem is that you only copy the filesystem with tar command.
You must copy the FULL disc, to do this follow use dd, as I post before
dd if=/dev/hda | ssh root@xxxxxxxxxxxxxxxxx "/bin/dd
of=/xen/images/myimage.img"
so the process will be:
1- dd if=/dev/zero of=image.img bs=1M count=4096 (if you have a 4GB
HD, if your physical HD is 4GB)
remember, the image must be at least the same size than your
original HD)
2- stop old box, and boot with a LiveCD
3- Copy the disc to your XEN server
dd if=/dev/hda | ssh root@xxxxxxxxxxxxxxxxx "/bin/dd
of=/xen/images/myimage.img"
¿Anyone has some experience with this method into a production
environment? I'm looking for a tool/method to do it.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|