VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Replacing Existing VMDK by Using FileOperation.replace Returns an Error

Details

I am trying to programmatically replace a VMDK with another VMDK file in the flat file format. I used the FileOperation from the VI SDK and received an error.

Solution

You cannot use VirtualDeviceConfigSpecFileOperation.replace to replace VMDK files on disk. This operation is only supported for floppy images.

 

Keywords

VI SDK, ESX, Virtual Center

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions