VMware Cloud Community
virtdan
Contributor
Contributor

Exporting VM with multi disks

Hi All,

I have been using ovftool to export VMs to ovf and then upload the vmdk into AWS and spin up the VM there. I have encounter my first VM that doesn't follow this pattern. The only thing I think is different is that it has two disks, as per attached disks pic. The disk1.vmdk imports fine to AWS, but try various ways (ec2-import-volume and aws ec2 import-snapshot) to import disk2.vmdk but it doesnt doesn't work. The same tasks do work for disk1.vmdk. ec2-import-volume fails wirh "ERROR: This does not appear to be a Stream Optimized VMDK. It contains invalid magic number 0" and "aws ec2 import-snapshop" failed with message "deleted ClientError: Disk validation failed [Corrupted VMDK: VMDK Descriptor does not exist.]"

It looks like disk2.vmdk is corrupt? How do I verify it or the ovf?

C:\Program Files (x86)\VMware\VMware Player>1023856-vdiskmanager-windows-7.0.1.exe -R "disk1.vmdk"

No errors were found on the virtual disk, 'disk1.vmdk'.

C:\Program Files (x86)\VMware\VMware Player>1023856-vdiskmanager-windows-7.0.1.exe -R "disk2.vmdk"

Does nothing... blank...?

C:\Program Files (x86)\VMware\VMware Player>1023856-vdiskmanager-windows-7.0.1.exe -r "disk2.vmdk" -t 5 "d2.vmdk"

Creating disk 'd2.vmdk'

Failed to convert disk: The file specified is not a virtual disk (0xf00003ebf).

disk1.vmdk:

# Disk DescriptorFile

version=1

CID=99f9dc81

parentCID=ffffffff

createType="streamOptimized"

# Extent description

RDONLY 125829120 SPARSE "generated-stream.vmdk"

# The Disk Data Base

#DDB

ddb.adapterType = "lsilogic"

ddb.deletable = "true"

ddb.geometry.cylinders = "7832"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.longContentID = "8cc93b5679040b8bf5a35c4c8e30829a"

ddb.toolsVersion = "0"

ddb.virtualHWVersion = "10"

disk2.vmdk:

# Disk DescriptorFile

version=1

CID=c6757781

parentCID=ffffffff

createType="streamOptimized"

# Extent description

RDONLY 104857600 SPARSE "generated-stream.vmdk"

# The Disk Data Base

#DDB

ddb.adapterType = "lsilogic"

ddb.deletable = "true"

ddb.geometry.cylinders = "6527"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.longContentID = "3c1250f5cf0a29cd8e29d0bf42bbfc30"

ddb.toolsVersion = "0"

ddb.virtualHWVersion = "10"

0 Kudos
1 Reply
virtdan
Contributor
Contributor

The vmdk was corrupt.

0 Kudos