[et-mgmt-tools] [PATCH] Check result of qemu-img

Joey Boggs jboggs at redhat.com
Tue Jul 1 20:05:37 UTC 2008


John,

Looks like the vmdk file is just a descriptor file.  The real image may 
already be raw:   root.hdd

# Extent description
RW 3145728 FLAT "root.hdd" 0



John Levon wrote:
> On Tue, Jul 01, 2008 at 03:59:01PM -0400, Joey Boggs wrote:
>
>   
>> You might need to specify the -f option, I know there's an older 
>> qemu-img version on Fedora 8 that does not autodetect the file format.
>>
>> qemu-img -f file.vmdk
>>     
>
> No good:
>
> $ qemu-img convert -f vmdk root.vmdk -O raw a.raw
> qemu-img: Could not open 'root.vmdk'
>
> vmdk is:
>
> $ cat root.vmdk 
> # Disk DescriptorFile
> version=1
> CID=ab3d47b2
> parentCID=ffffffff
> createType="twoGbMaxExtentFlat"
>
> # Extent description
> RW 3145728 FLAT "root.hdd" 0
>
> # The Disk Data Base 
> #DDB
>
> ddb.virtualHWVersion = "4"
> ddb.geometry.cylinders = "768"
> ddb.geometry.heads = "128"
> ddb.geometry.sectors = "32"
> ddb.adapterType = "lsilogic"
> ddb.toolsVersion = "6533"
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>   




More information about the et-mgmt-tools mailing list