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

RE: [Xen-users] Re: Installing a new domU



 
> 3) Create an sparse image file of a disk (not partition, but entire
> disk!) for the os to use as hda during install. In my case, I 
> used a sparse file I created using dd (5.4G size). I used a 
> LVM partition (5G) for
> hda1 and another for swap on hda2 (256M).
> 4) in my config I put the following line:
> disk = [ 'file:/root/initrd,sda1,w' , 
> 'file:/etc/xen/breezy_hda,hda,w', 
> 'phy:/dev/linux/breezy,hda1,w' , 
> 'phy:/dev/linux/breezy_swap,hda2,w' , ] and of course:
> root = "/dev/sda1"
> (xen will now use the sparse file for partition table 
> handling of /dev/hda, and the two LVM partitions for 
> accessing /dev/hda1 and /dev/hda2. Don't know if this is 
> intended, or will stay this way, but it worked for me).

Holy cow! We never envisaged anyone using whole-disk and partition
imports on the same disk at the same time.

Any reason not to just export an LVM volume as a whole disk and then
partition it internally?
 

Ian

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