VMware {code} Community
Ashwin89
Contributor
Contributor

Snapshot VMDK and VIXMntApi Issue

Hello.

I am creating the snapshot the vm and mounting that using VIXMntApi() in writable mode. I am getting the symbolic link in read only mode though I have specified the writable flag for

VixMntapi_OpenDiskSet () with openMode as 0.

VixMntapi_MountVolume(VixVolumeHandle volumeHandle, Bool readOnly); with readonly flag as false.

VixDiskLib_ConnectEx () with false flag.

I am getting the symbolic link with drive letter. When I am accessing this symbolic link through windows explorer its not getting opened.

I will be really thankful if someone gives more information on this or am I doing anything wrong here?

-AsHwIN

0 Kudos
2 Replies
Ashwin89
Contributor
Contributor

I am using NBD as transport mode.

0 Kudos
admin
Immortal
Immortal

Hi Ashwin,

I would like to understand how are you opening the mounted disk through windows explorer? In order to map the mounted disk to be browsable through windows explorer, you need to use DefineDosDevice API which is a win32 API.

0 Kudos