I am using VMware-mount (on WINDOWS) command to mount a remote disk. Command used is – VMware-mount K: "<VM Path>" /i:"<inventory path>" /h:<ESX server IP> /u:<username> /s:<pwd> /v:N
where : /v:N Mounts volume N of a virtual disk. N defaults to 1.
how do i get this Volume Number (N) if the VMDK is remote? there is an option which displays the parition/volume information (/p) but that only works if the VMDK file is local (or accessible as a network share).
/p Given path-to-vmdk, displays the partitions (volumes) on the virtual disk. Local only.
I have no way to access the VMDK over the network. It can only be accessed by ESX server (using API/Tools etc).