qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] How to convert "splitted" vmdk disc to qcow2 ?


From: Fam Zheng
Subject: Re: [Qemu-discuss] How to convert "splitted" vmdk disc to qcow2 ?
Date: Mon, 7 Aug 2017 16:25:00 +0800
User-agent: Mutt/1.8.3 (2017-05-23)

On Mon, 08/07 10:10, Pierre Couderc wrote:
> On 08/07/2017 09:50 AM, Fam Zheng wrote:
> > On Mon, 08/07 09:37, nous wrote:
> > > I have tried qemu-img but it converts only the 1rst vmdk vmware disk...
> > > and I have 20 other ones...
> > > 
> > > And did someone someday success in doing that ?
> > What are your vmdk files like?
> > 
> > The splitted VMDK images have a description file, you need to pass that to
> > qemu-img, not the individual extent files.
> 
> Thnk you very much.
>  I have these files :
> -rwxr-x--- 1 nous nous 1.3K Aug  5 19:40 TOLL-XPVM.vmdk
> -rw-r----- 1 nous nous    0 Aug  5 19:40 TOLL-XPVM.vmsd
> -rwxr-x--- 1 nous nous 3.6K Aug  5 19:40 TOLL-XPVM.vmx
> -rwxr-x--- 1 nous nous 2.9K Aug  5 19:40 TOLL-XPVM.vmxf
> 
> It may be one of thoses ?

Probably the TOLL-XPVM.vmdk. The content should look like this example:

---8<---

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

# Extent description
RW 4194304 SPARSE "a-s001.vmdk"
RW 4194304 SPARSE "a-s002.vmdk"
RW 4194304 SPARSE "a-s003.vmdk"
RW 4194304 SPARSE "a-s004.vmdk"
RW 4194304 SPARSE "a-s005.vmdk"

# The Disk Data Base
#DDB

ddb.virtualHWVersion = "4"
ddb.geometry.cylinders = "20805"
ddb.geometry.heads = "16"
ddb.geometry.sectors = "63"
ddb.adapterType = "ide"

--->8---

Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]