Debian Bug report logs - #512439
virt-convert: Creates empty .raw files

version graph

Package: qemu-utils; Maintainer for qemu-utils is Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>; Source for qemu-utils is src:qemu.

Reported by: Jelmer Vernooij <jelmer@debian.org>

Date: Tue, 20 Jan 2009 20:36:01 UTC

Severity: normal

Fixed in version 0.14.0+dfsg-1

Done: Michael Tokarev <mjt@tls.msk.ru>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>:
Bug#512439; Package virtinst. (Tue, 20 Jan 2009 20:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jelmer Vernooij <jelmer@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>. (Tue, 20 Jan 2009 20:36:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Jelmer Vernooij <jelmer@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: virt-convert: Creates empty .raw files
Date: Tue, 20 Jan 2009 21:30:37 +0100
[Message part 1 (text/plain, inline)]
Package: virtinst
Version: 0.400.0-7
Severity: normal

virt-convert creates empty .raw files while importing various .vmx
files. 

These are the contents of one of the .vmx files:
#!/usr/bin/vmware
config.version = "7"
virtualHW.version = "3"
scsi0.present = "TRUE"
memsize = "128"
ide0:0.present = "TRUE"
ide0:0.fileName = "FreeBSD.vmdk"
ide1:0.present = "FALSE"
ide1:0.fileName = "/home/jelmer/5.4-RELEASE-i386-bootonly.iso"
ide1:0.deviceType = "cdrom-image"
floppy0.fileName = "/dev/fd0"
Ethernet0.present = "TRUE"
usb.present = "FALSE"
displayName = "FreeBSD"
guestOS = "freebsd"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
powerType.powerOff = "default"
powerType.powerOn = "default"
powerType.suspend = "default"
powerType.reset = "default"

Ethernet0.addressType = "generated"
uuid.location = "56 4d c0 76 3d 8b 45 27-a4 4f d9 49 a4 13 2c 78"
uuid.bios = "56 4d c0 76 3d 8b 45 27-a4 4f d9 49 a4 13 2c 78"
ethernet0.generatedAddress = "00:0c:29:13:2c:78"
ethernet0.generatedAddressOffset = "0"

floppy0.present = "FALSE"

ide0:0.redo = ""
ide0:0.deviceType = "ata-hardDisk"

The .vmdk file exists but contains a sparse disk description:

# Disk DescriptorFile
version=1
CID=da0eb637
parentCID=ffffffff
createType="twoGbMaxExtentSparse"

# Extent description
RW 4192256 SPARSE "FreeBSD-s001.vmdk"
RW 2048 SPARSE "FreeBSD-s002.vmdk"

# The Disk Data Base 
#DDB

ddb.toolsVersion = "0"
ddb.adapterType = "ide"
ddb.geometry.sectors = "63"
ddb.geometry.heads = "16"
ddb.geometry.cylinders = "4161"
ddb.virtualHWVersion = "3"

Perhaps sparse vmware disks are just not supported yet?

-- 
Jelmer Vernooij <jelmer@debian.org> - Jabber: jelmer@jabber.fsfe.org
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>:
Bug#512439; Package virtinst. (Wed, 21 Jan 2009 20:48:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
Extra info received and forwarded to list. Copy sent to Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>. (Wed, 21 Jan 2009 20:48:05 GMT) Full text and rfc822 format available.

Message #10 received at 512439@bugs.debian.org (full text, mbox):

From: Guido Günther <agx@sigxcpu.org>
To: Jelmer Vernooij <jelmer@debian.org>, 512439@bugs.debian.org
Subject: Re: [Pkg-libvirt-maintainers] Bug#512439: virt-convert: Creates empty .raw files
Date: Wed, 21 Jan 2009 21:44:16 +0100
On Tue, Jan 20, 2009 at 09:30:37PM +0100, Jelmer Vernooij wrote:
> ddb.toolsVersion = "0"
> ddb.adapterType = "ide"
> ddb.geometry.sectors = "63"
> ddb.geometry.heads = "16"
> ddb.geometry.cylinders = "4161"
> ddb.virtualHWVersion = "3"
> 
> Perhaps sparse vmware disks are just not supported yet?
I had a similar problem with virt-convert and vmdks, those were non
sparse though but I never got around to even have a look at this. Help
on debugging this would be appreciated.
 -- Guido




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>:
Bug#512439; Package virtinst. (Thu, 09 Sep 2010 16:33:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Laurent Léonard <laurent@open-minds.org>:
Extra info received and forwarded to list. Copy sent to Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>. (Thu, 09 Sep 2010 16:33:07 GMT) Full text and rfc822 format available.

Message #15 received at 512439@bugs.debian.org (full text, mbox):

From: Laurent Léonard <laurent@open-minds.org>
To: 512439@bugs.debian.org
Subject: Multi-file VMDKs are not supported by qemu-img
Date: Thu, 9 Sep 2010 18:24:05 +0200
virt-convert uses qemu-img (or kvm-img) to convert disk images. Converting 
VMDK and sparse VMDK files works fine, but multi-file VMDKs are currently not 
supported by qemu-img.

You can find the following comment related to the qemu_convert() function in 
/usr/share/pyshared/virtconv/diskcfg.py:
"Use qemu-img to convert the given disk.  Note that at least some
version of qemu-img cannot handle multi-file VMDKs, so this can
easily go wrong.
Gentoo, Debian, and Ubuntu (potentially others) install kvm-img
with kvm and qemu-img with qemu. Both would work."

You can convert a multi-file VMDK into a monolithic VMDK using the following 
command line:
vmware-vdiskmanager -r source.vmdk -t 0 destination.vmdk

-- 
Laurent Léonard




Bug reassigned from package 'virtinst' to 'qemu-utils'. Request was from Laurent Léonard <laurent@open-minds.org> to control@bugs.debian.org. (Fri, 10 Sep 2010 07:51:04 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions virtinst/0.400.0-7. Request was from Laurent Léonard <laurent@open-minds.org> to control@bugs.debian.org. (Fri, 10 Sep 2010 07:51:04 GMT) Full text and rfc822 format available.

Added indication that 512439 affects virtinst Request was from Laurent Léonard <laurent@open-minds.org> to control@bugs.debian.org. (Fri, 10 Sep 2010 07:51:05 GMT) Full text and rfc822 format available.

Reply sent to Michael Tokarev <mjt@tls.msk.ru>:
You have taken responsibility. (Sun, 03 Feb 2013 09:27:07 GMT) Full text and rfc822 format available.

Notification sent to Jelmer Vernooij <jelmer@debian.org>:
Bug acknowledged by developer. (Sun, 03 Feb 2013 09:27:07 GMT) Full text and rfc822 format available.

Message #26 received at 512439-done@bugs.debian.org (full text, mbox):

From: Michael Tokarev <mjt@tls.msk.ru>
To: Laurent Léonard <laurent@open-minds.org>
Cc: 512439-done@bugs.debian.org, Guido Günther <agx@sigxcpu.org>
Subject: Re: Bug#512439: Multi-file VMDKs are not supported by qemu-img
Date: Sun, 03 Feb 2013 13:25:56 +0400
Version: 0.14.0+dfsg-1

09.09.2010 20:24, Laurent Léonard wroe:
> virt-convert uses qemu-img (or kvm-img) to convert disk images. Converting
> VMDK and sparse VMDK files works fine, but multi-file VMDKs are currently not
> supported by qemu-img.

multi-file VMDK files are supported by qemu since version 0.14.
Multi-file with SPARSE components are now supported too.
Closing this bugreport now.

Thanks,

/mjt



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 04 Mar 2013 07:26:54 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 01:51:04 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.