Re: Qcow2 to VHD and VHD files size questions

2014-01-18 Thread Carlos Reátegui
Re bz2:  all my templates are registered as bz2 so I know it works. 

> On Jan 18, 2014, at 4:39 PM, Nux!  wrote:
> 
>> On 18.01.2014 23:20, Carlos Reátegui wrote:
>> This may apply to you.  I was able to copy out a vhd from vbox and
>> load it into ACS to use on XenServer hosts. This only worked if I
>> selected the dynamic type of vhd not the fixed size one.  It only
>> worked in non PV mode but I think that was because I did not have a
>> proper grub file with the correct root device.  Prior to uploading the
>> vhd as a template you can bzip2 it to shrink the size.
> 
> Thanks, I'll have a look at the vbox converter then. Re bz2, I think ACS will 
> complain if it's an archive instead of the real thing.
> 
> Lucian
> 
> -- 
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro


Re: Qcow2 to VHD and VHD files size questions

2014-01-18 Thread Nux!

On 18.01.2014 23:20, Carlos Reátegui wrote:

This may apply to you.  I was able to copy out a vhd from vbox and
load it into ACS to use on XenServer hosts. This only worked if I
selected the dynamic type of vhd not the fixed size one.  It only
worked in non PV mode but I think that was because I did not have a
proper grub file with the correct root device.  Prior to uploading the
vhd as a template you can bzip2 it to shrink the size.


Thanks, I'll have a look at the vbox converter then. Re bz2, I think 
ACS will complain if it's an archive instead of the real thing.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Qcow2 to VHD and VHD files size questions

2014-01-18 Thread Carlos Reátegui
This may apply to you.  I was able to copy out a vhd from vbox and load it into 
ACS to use on XenServer hosts. This only worked if I selected the dynamic type 
of vhd not the fixed size one.  It only worked in non PV mode but I think that 
was because I did not have a proper grub file with the correct root device.  
Prior to uploading the vhd as a template you can bzip2 it to shrink the size. 

> On Jan 18, 2014, at 1:07 PM, Nux!  wrote:
> 
> Hi,
> 
> Most of my templates are Qcow2 files for KVM and I'd like to convert them in 
> a format that XenServer can use.
> I managed to use qemu-img from the KVM tools to convert one in VHD format, 
> however this seems to be a 50 GB (the virtual size of the qcow2) sparse file. 
> Downloading this file from my HTTP template repo into cloudstack takes ages.
> Does anyone know how this situation can be improved?
> 
> Regards,
> Lucian
> 
> -- 
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro


Qcow2 to VHD and VHD files size questions

2014-01-18 Thread Nux!

Hi,

Most of my templates are Qcow2 files for KVM and I'd like to convert 
them in a format that XenServer can use.
I managed to use qemu-img from the KVM tools to convert one in VHD 
format, however this seems to be a 50 GB (the virtual size of the qcow2) 
sparse file. Downloading this file from my HTTP template repo into 
cloudstack takes ages.

Does anyone know how this situation can be improved?

Regards,
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro