WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

Re: [Xen-users] Convert physical server to VM

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Convert physical server to VM
From: "John T. Yocum" <john@xxxxxxxxxxxxxxxx>
Date: 2007年8月22日 23:12:05 -0700
Delivery-date: 2007年8月22日 23:12:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46CCBBCD.7010206@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <46CCB07E.3000003@xxxxxxxxxxxxxxx> <200708221659.35080.smithj@xxxxxxxxx> <46CCBBCD.7010206@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
You could mount the partitions, and then copy over the files using cp. A little slow, but it's free.
--John
Simon Gao wrote:
Joseph Smith wrote:
I would dd the server's hard drive to an image file. Its probably the most straightforward way.
dd if=/dev/sda of=server.img
use your servers hard drive device node in place of /dev/sda
then write up a domU config:
# general
name = "newVM";
memory = 1024;
# booting
kernel = "/boot/vmlinuz-2.6.x-xenU";
ramdisk = "/boot/initrd-ifyouhaveone";
builder = "linux";
# virtual harddisk
disk = ['tap:aio:/xvmstore/images/vmThree.img,sda,w'];
root = "/dev/sda1 ro"; #or whatever your root partition is
-Joe
It's hard to use dd if the drive is very large. When making an VM, I
only want to system OS/Apps in one vms image file. Extra disk space can
be made available from second vm image or partition.
Simon
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] No external network for domU's , trilok nuwal
Next by Date: [Xen-users] guest's vnc display freezes , Arie Goldfeld
Previous by Thread: Re: [Xen-users] Convert physical server to VM , Simon Gao
Next by Thread: RE: [Xen-users] Convert physical server to VM , Chiu, PCM \(Peter\)
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /