Re: Error: Not supported image type "twoGbMaxExtentFlat". - problems using virt-convert

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

 



On Tuesday, September 04, 2012 11:26:49 AM Lentes, Bernd wrote:
> Hi,
> 
> i want to convert a sles 11 sp2 64bit system (running on VMWare Server
> 1.09) to libvirt format. Host OS is SLES 11 SP2 64bit. I tried
> "virt-convert --os-variant=sles11 sles_11_vmx/ sles_11_kvm/" .
> 
> This is what i got:
> Generating output in 'virt-image' format to sles_11_kvm//
> Converting disk 'tomcat_6.vmdk' to type raw...
> ERROR    Couldn't convert disks: Disk conversion failed with exit status 1:
> VMDK: Not supported image type "twoGbMaxExtentFlat". qemu-img: Could not
> open '/var/lib/kvm/images/sles_11_vmx/tomcat_6.vmdk': Operation not
> supported qemu-img: Could not open
> '/var/lib/kvm/images/sles_11_vmx/tomcat_6.vmdk'
> 
> It seems that virt-convert does not like the 2GB files form VMWare Server.
> 
> How can i convert my system from VMWare Server 1.09 to libvirt format ?

I don't know what libvirt format is, but to get a raw file if it's Linux:
vmware-vdiskmanager -r <source.vmdk> -t 2 <dest.raw>

At least I think that should work... That might still be a vmdk file, but it 
should work with qemu-img. You might try -t 0 if you are short on space.


> 
> 
> Thanks for any hints.
> 
> 
> Bernd
> 
> --
> Bernd Lentes
> 
> Systemadministration
> Institut für Entwicklungsgenetik
> Gebäude 35.34 - Raum 208
> HelmholtzZentrum münchen
> bernd.lentes@xxxxxxxxxxxxxxxxxxxxx
> phone: +49 89 3187 1241
> fax:   +49 89 3187 3826
> http://www.helmholtz-muenchen.de/idg
> 
> Wir sollten nicht den Tod fürchten, sondern
> das schlechte Leben
> 
> Helmholtz Zentrum München
> Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
> Ingolstädter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
> Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
> Registergericht: Amtsgericht München HRB 6466
> USt-IdNr: DE 129521671
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux