VM Migration - Unsupported specified file format error

0

I am trying to migrate from VMDK from our existing on-premise instance to AWS, using Migration hub and keeping VMDK in S3, however getting error:

ClientError: Disk validation failed [Unsupported specified file format]

Any help on this issue would be great.

Many thanks

asked 10 months ago502 views
2 Answers
0

Hi, Based on the information provided, my early conclusion is:

The error message "Unsupported specified file format" indicates that the file format of the VMDK being used for migration is not supported by AWS. This could be due to an incompatible VMDK version or an unsupported file format. It is important to ensure that the VMDK file is in a supported format and version for successful migration. (ex: Let's say you have a VMware vSphere 6.5 environment running on-premises, and you have created virtual machines with VMDK files in that environment. The VMDK files in this case would typically be in a specific version that corresponds to the version of vSphere being used.

For example, vSphere 6.5 introduced VMDK version 6, which brought enhancements like support for 4K Native Drives and Virtual Volumes (vVols). In this case, the VMDK files created in your vSphere 6.5 environment would be in VMDK version 6.

Later versions of VMware vSphere, such as vSphere 6.7 or vSphere 7, may introduce new VMDK versions with additional features and improvements. Therefore, VMDK versioning allows for compatibility and differentiation between different releases of VMware vSphere.)

To proceed with a more detailed assessment and provide accurate recommendations, I would need additional information about the source VM environment, VMDK details, and the specific steps followed during the migration process. This information will help in identifying the exact cause of the error and providing appropriate solutions to overcome it. I would request answers for the following questions to gather more information:

  1. What hypervisor platform are you using for your on-premise VM? (e.g., VMware, Hyper-V)
  2. What is the version of your hypervisor platform?
  3. What is the version of the VMDK file you are trying to migrate?
  4. Could you confirm the file format of the VMDK file?
  5. Have you made any changes or modifications to the VMDK file recently?
  6. At what point in the migration process did you encounter the error?
  7. Are you using any additional tools or services alongside Migration Hub for the migration?
profile picture
answered 10 months ago
  • Thanks Nishanth. We got VMDK from hosting service, where we got one vmx file, which is not supported at AWS import, so not using that and two VMDK files, one bigger one which must be containing actual VM and another only around 5kb, containing some config, here below:

    Disk DescriptorFile

    version=3 encoding="UTF-8" CID=3e62c9e4 parentCID=ffffffff isNativeSnapshot="no" createType="vmfs"

    Extent description

    RW 1677721600 VMFS "xyz-flat.vmdk"

    Change Tracking File

    changeTrackPath="xyz-ctk.vmdk"

    The Disk Data Base

    #DDB

    ddb.adapterType = "lsilogic" ddb.deletable = "true" ddb.geometry.cylinders = "104433" ddb.geometry.heads = "255" ddb.geometry.sectors = "63" ddb.longContentID = "d3e43bd5280ab0546c4470ff3e62c9e4" ddb.toolsInstallType = "4" ddb.toolsVersion = "11333" ddb.uuid = "60 00 C2 93 bf 7a 00 d8-31 af 5a 1d 1e 0c 4d 82" ddb.virtualHWVersion = "7" shared this, in case you can spot anything, which might cause issue in AWS import. If required I can share some details of .vmx file.

    Thanks again for your support.

  • I can answer some of your questions as below:

    Have you made any changes or modifications to the VMDK file recently? No

    At what point in the migration process did you encounter the error? In step - Import the source image from S3 and create an AMI for EC2

    Are you using any additional tools or services alongside Migration Hub for the migration? No

0

Hi Mysoti-dev1, Good day!

Thanks for providing additional information about the VMDK files and the migration process. Based on the details you shared, it seems that the VMDK files you received from the hosting service are in a compatible format for AWS import. But, the issue might lie with the VMX file, which is not supported by AWS import.

To address this, I recommend the following steps:

  1. Since the VMX file is not supported, you can focus on the VMDK files. To ensure compatibility with AWS import, you can convert the VMDK files to the VMDK version 2 format. You can use VMware tools or other conversion tools available to perform this conversion. Ensure that the VMDK files remain intact and are not modified during the conversion process.

  2. Once the VMDK files are in the compatible format, create a new folder and place both the converted VMDK files (abc-flat.vmdk and abc-ctk.vmdk) in that folder. Make sure that the VMDK files are not modified after conversion.

  3. Now, you can create a tarball (.tar) archive of the folder containing the VMDK files. This will bundle the files together and ensure they can be easily imported into AWS.

  4. In the Migration Hub, follow the migration steps and select the option to import the source image from S3. Upload the tarball containing the VMDK files and proceed with creating an AMI for EC2.

By converting the VMDK files to a compatible format and packaging them appropriately, you should be able to proceed with the migration without encountering the "Unsupported specified file format" error.

I hope these recommendations help resolve the issue.

Have a good day!!

profile picture
answered 10 months ago
  • First, thanks a lot for your support. When you highlighted about abc-flat.vmdk, which I can see in on of VMDK config, but it's that there in vmdk files I have received and I was expecting that to be within bigger vmdk (abc-flat.vmdk) and tbh abc-flat.vmdk is quite big file, 800gb and I gave access to our AWS to previous hosting provider's team and they upload vmdk files in S3, so currently I don't have those in vmdk files locally, and now if seems I would need to download that and do that conversion and upload again, will try that and will keep you updated. Thanks again

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions