VMware Cloud Community
Mrunalini
Contributor
Contributor
Jump to solution

VMware-mount not able to mount remote VM

I am using VMware-mount command to mount a remote VM. Command used is –

VMware-mount K: "<VM Path>" /i:"<inventory path>" /h:<ESX server IP> /u:<username> /s:<pwd>

However I get the error as below in log file –

  1. Vmount.log

p 17 15:39:38.007: Cannot connect to server 10.0.4.110:43397024: No connection could be made because the target machine actively refused itSep 17 15:39:39.014: CnxAuthdConnect: Returning false because CnxAuthdConnectTCP failed

Sep 17 15:39:39.014: CnxConnectAuthd: Returning false because CnxAuthdConnect failed

Sep 17 15:39:39.014: Cnx_Connect: Returning false because CnxConnectAuthd failed

Sep 17 15:39:39.014: Cnx_Connect: Error message: Failed to connect to server 10.0.4.110:43397024

Sep 17 15:39:39.014: Warning: Sep 17 15:39:39.014: [NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect to peer. Error: Failed to connect to server 10.0.4.110:43397024

Sep 17 15:39:39.015: NBD_ClientOpen: Couldn't connect to 10.0.4.110:43397024 Failed to connect to server 10.0.4.110:43397024

Sep 17 15:39:39.015: DISKLIB-DSCPTR: : "ha-nfc://[rblv1-dev-esx01 - Local] DB1/DB1-000003.vmdk@10.0.4.110:43397024" : Failed to open NBD extent.

Sep 17 15:39:39.015: DISKLIB-LINK  : "ha-nfc://[rblv1-dev-esx01 - Local] DB1/DB1-000003.vmdk@10.0.4.110:43397024" : failed to open (NBD_ERR_NETWORK_CONNECT). 

Sep 17 15:39:39.015: DISKLIB-CHAIN : "ha-nfc://[rblv1-dev-esx01 - Local] DB1/DB1-000003.vmdk@10.0.4.110:43397024" : failed to open (NBD_ERR_NETWORK_CONNECT).

Sep 17 15:39:39.015: DISKLIB-LIB   : Failed to open 'ha-nfc://[rblv1-dev-esx01 - Local] DB1/DB1-000003.vmdk@10.0.4.110:43397024' with flags 0xa NBD_ERR_NETWORK_CONNECT (2338).

Vmount-client.log

Sep 17 15:36:23.772: Plugin Pkt details Size 292 PktType 2 DiskFile = ha-nfc://[rblv1-dev-esx01 - Local] DB1/DB1-000003.vmdk@10.0.4.110:39074816!52 81 22 2c 94 92 b0 7a-e9 3e 3f 65 06 49 2f 9d, vol = 0, Desired Drive = 1024, openFlags = 0

Sep 17 15:36:25.701: Plugin failed with 922

Sep 17 15:36:25.702: Client: Unable to mount the virtual disk. The disk may be in use by a virtual

machine, may not have enough volumes or mounted under another drive

  1. If not, verify that the file is a valid virtual disk file.

PluginVolume failed. Details: The queue you specified does not exist

Errorcode = -2.

Any help, suggestion on this will be appreciated.

Thanks,

Mrunalini

1 Solution

Accepted Solutions
continuum
Immortal
Immortal
Jump to solution

which vddk version do you use ?

I had similar problems with one of the latest - if not the latest version - using a previous one fixed all problems


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

View solution in original post

14 Replies
admin
Immortal
Immortal
Jump to solution

Vmount.log

p 17 15:39:38.007: Cannot connect to server 10.0.4.110:43397024: No connection could be made because the target machine actively refused itSep 17 15:39:39.014: CnxAuthdConnect: Returning false because CnxAuthdConnectTCP failed

Sep 17 15:39:39.014: CnxConnectAuthd: Returning false because CnxAuthdConnect failed

Sep 17 15:39:39.014: Cnx_Connect: Returning false because CnxConnectAuthd failed

Sep 17 15:39:39.014: Cnx_Connect: Error message: Failed to connect to server 10.0.4.110:43397024

The user specified is privileged to do that ..?

Sep 17 15:36:25.702: Client: Unable to mount the virtual disk. The disk may be in use by a virtual

machine, may not have enough volumes or mounted under another drive

  1. If not, verify that the file is a valid virtual disk file.

PluginVolume failed. Details: The queue you specified does not exist

Errorcode = -2

Looks like its in use by another virtual machine.

~dGeorgey

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

Also consider the following when you mount virtual disks:

  • You cannot mount a virtual disk that is currently beingusedby a running or suspendedvirtual machine.
  • You can only mount disks that are in a powered off virtual machine,or disks that are not are not associated

with a virtual machine.

  • You can mount and read Windows virtual disks on Windows hosts (with at least one NTFS volume) or

Linux virtual disks on Linux hosts. Cross‐mounting is restricted as described below.

  • „ You can use Disk Mount with virtual disks created by VMwareESXServer 3.x and2.x (pre allocated disks

only), VMware Workstation 6, 5, or 4, VMware Player, VMware ACE, VMware Fusion, VMware Server 2

or 1, and VMware GSX Server 3.x and 2.5. However you cannot mount encrypted virtual disks.

  • „You cannot mount a virtual disk if any of its .vmdk files are compressed or have read‐only permissions.

Change these attributes before mounting the virtual disk.

  • „ On Windowshosts, you mus tmount virtual disks as drive 😧 or greater.You cannot specify a drive letter

already in use on the host.

  • „ On Windows hosts, you can mount volumes formatted with FAT (12/16/32) or NTFS only.If the virtual

disk has a mix of partitions or volumes where,for example, a partition is unformatted or is formatted with

a Linux operating system and another partition is formatted with a Windows operating system, you can

mount the Windows partition with Disk Mount.

  • „If you specify a virtual disk with snapshots, this command locates and mounts the last snapshot. On

Windows you can mount previous snapshots read‐only. On Linux you cannotmountprevious snapshots.

Using VMware Disk Mount

Note :: 

  1. When you have a snapshot mounted with vmware-mount, do not revert to a previous snapshot

using any other VMware interface. Doing so makes it impossible to unmount the partition.

  2. Disk Mount runs from the command line on any version of Windows 2000, WindowsXP,Windows Server

2003, or Windows Vista, as well as any version of Linux that is supported as a host for VMware Workstation

~dGeorgey

Reply
0 Kudos
Mrunalini
Contributor
Contributor
Jump to solution

I am trying using root user, and VM is shutdown and so not in use.

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

Did you check the above conditions are met .?

~dGeorgey

Reply
0 Kudos
virtualtsm
Contributor
Contributor
Jump to solution


@Georgey

Looks like this is an issue with return port, if you check the log - the port number exceeds the maximum value of 65536 which should not be the case

Mukul_R
Contributor
Contributor
Jump to solution

Hello dGeorgey, 

2 Questions :

===========

1. Need help to understand the point "You can only mount disks that are in a powered off virtual machine,or disks that are not are not associated with a virtual machine."

- If currently the VM is pointing to <vm_name>-000003.vmdk then I can mount <vm_name>-000002.vmdk or <vm_name>-000001.vmdk right?

2. what is exactly meant by "If you specify a virtual disk with snapshots, this command locates and mounts the last snapshot. On

Windows you can mount previous snapshots read‐only." ? i can mount an intermediate snapshot or i cannot? do i require to specicy any parameter in the command to be able to do that?

Reply
0 Kudos
SatyS
Hot Shot
Hot Shot
Jump to solution

Check whether some firewall is blocking?

-SatyS

If you find this useful,please mark the answer as correct/helpful Regards, SatyS http://myvirtuallearning.wordpress.com/
Reply
0 Kudos
Mrunalini
Contributor
Contributor
Jump to solution

How can i restrict the port number to 65536?

Reply
0 Kudos
virtualtsm
Contributor
Contributor
Jump to solution

Looks like she was able to connect to default 902 and if you check 10.0.4.110:randomnumber - the port number is greater than 65535 🙂

Reply
0 Kudos
admin
Immortal
Immortal
Jump to solution

Mukul the same has been explained here in the doc page #7; http://www.vmware.com/pdf/VMwareDiskMount.pdf

~dGeorgey

Reply
0 Kudos
Mrunalini
Contributor
Contributor
Jump to solution

All the conditions you mentioned are satisfied. I have also made the Windows registry changes as mentioned in the link -

VMware KB: Port 8085 in VMware vCenter Server

However, it is still using some random port number which is too long. As mentioned by virtualtsm, it is able to communicate on 902 port but then some random return port causing an error?

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

which vddk version do you use ?

I had similar problems with one of the latest - if not the latest version - using a previous one fixed all problems


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Mrunalini
Contributor
Contributor
Jump to solution

I tried with previous versions VDDK 5.0 and VDDK 1.2.2. For both version, i got the error -

(vmware-mount.exe:3412): Glib-GObject-CRITICAL **: file ..\..\..\gobject\gparam.

c: line 1048: assertion `param_name != NULL' failed

(vmware-mount.exe:3412): Glib-GObject-WARNING **: ???: object class `VmodlVimAbo

utInfo' has no property named `(null)'

(vmware-mount.exe:3412): Glib-GObject-CRITICAL **: file ..\..\..\gobject\gparam.

c: line 1048: assertion `param_name != NULL' failed

(vmware-mount.exe:3412): Glib-GObject-WARNING **: ???: object class `VmodlVimAbo

utInfo' has no property named `(null)'

An unexpected error has occurred.

Reply
0 Kudos
Mrunalini
Contributor
Contributor
Jump to solution

Hey continuum, it worked with VDDK 5.0 version.

I reinstalled vddk 5.0 and this time it worked. thanks a lot for your suggestion

Reply
0 Kudos