[xen-tools-discuss] question re. disk definition

Dmitry Nedospasov dmitry at sec.t-labs.tu-berlin.de
Tue May 4 09:50:24 CEST 2010


On 3.5.10 18:31, Miles Fidelman wrote:
> Hi Folks,
> 
> I'm trying to create xen VMs to run on top of DRBD replicated devices.
> 
> As far as I can tell, during installation xen-image-create will either:
> a) create a loopback file
> b) create LVM LVs
> 
> Is there an alternative way to tell the script to debootstrap onto
> existing LVs?

Not with out really jumping through hoops. You could adapt the scripts a
bit an comment out the parts that create the "drives" (eg. lvm/loopback
file), but this is unsupported.

I recommend you just shutdown the machine and do everything "by hand"
while taking a look at how its done in xen-tools, theres not really a
way to automate this.

I usually creata a new image and cp -a the parts i need over to the new vm.

> Thanks much,
> 
> Miles Fidelman

Regards,

D.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://sym.noone.org/pipermail/xen-tools-discuss/attachments/20100504/d67055db/attachment.pgp>


More information about the xen-tools-discuss mailing list