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

Re: [Xen-users] Convert CentOS system to Xen image?



On Di, Apr 01, 2008 at 03:47:20 -0400, James Pifer wrote:
> > First of all, you must know, do you want to convert it
> > to a PV or an HVM Xen domain.
> 
> I believe I need to convert to a PV. 
> 
> > 
> > HVM:
> > 
> > 1) Just copy image of your server to a logical volume of 
> > the Xen server LVM or to any other block device.
> 
> Is it possible to create an uncompressed image using something like g4l
> and make use of that image file somehow?

I think yes, but I have never used it.


You can create image with cat, netcat or ssh.


knoopix#  cat /dev/sda | nc -l -p 3000

dom0#     nc knoppix 3000 > centos.img   

or 

(if you use LVM and have a volume group called VG)

dom0#     lvcreate -L 20G -n centos /dev/VG
dom0#     nc knoppix 3000 > /dev/VG/centos


> 
> Thanks,
> James
> 
> 

-- 
WBR, i.m.chubin


_______________________________________________
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®.