VMware {code} Community
zero_cc
Contributor
Contributor

Can't open disk with advanced transport mode(SAN)!

Hi, i'am developing backup software, It works correctly whith ndb transpot mode, But when i used san transport mode, it back to ndb, and had some log below:

I set vmxSpec whith "VRTS-LINUX/VRTS-LINUX.vmx?dcPath=THXH-Datacenter&dsName=Backup".

SDK Version is VDDK5.5

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

OBJLIB-LIB: Objlib initialized.

VixDiskLib: Attempting to locate advanced transport module in "C:\Program Files\XXXXXX\agents\VMwareAgentDir\VDDK".

VixDiskLib: Advanced transport plugin C:\Program Files\THEVRTS\agents\VMwareAgentDir\VDDK\bin\disklibplugin.dll was successfully loaded into vixDiskLib.

VixDiskLib: Enabling advanced transport modes.

OBJLIB-LIB: Objlib initialized.

2019-12-20T21:28:44.734+08:00 info -[06828] [Originator@6876 sub=ThreadPool] Thread enlisted

VixDiskLib: Initialize transport modes.

2019-12-20T21:28:44.734+08:00 info -[06828] [Originator@6876 sub=ThreadPool] Entering worker thread loop

2019-12-20T21:28:44.734+08:00 info -[00964] [Originator@6876 sub=ThreadPool] Thread enlisted

DictionaryLoad: Cannot open file "%SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg": The system cannot find the path specified.

2019-12-20T21:28:44.734+08:00 info -[00964] [Originator@6876 sub=ThreadPool] Entering worker thread loop

[msg.dictionary.load.openFailed] Cannot open file "%SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg": The system cannot find the path specified.

2019-12-20T21:28:44.734+08:00 info -[09104] [Originator@6876 sub=ThreadPool] Thread enlisted

FeatureStateLib: Error while loading feature config file: %SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg, using default feature state values.

2019-12-20T21:28:44.734+08:00 info -[09104] [Originator@6876 sub=ThreadPool] Entering IO thread loop

2019-12-20T21:28:44.734+08:00 info -[10036] [Originator@6876 sub=ThreadPool] Thread enlisted

2019-12-20T21:28:44.734+08:00 info -[10036] [Originator@6876 sub=ThreadPool] Entering worker thread loop

2019-12-20T21:28:44.734+08:00 info -[09812] [Originator@6876 sub=ThreadPool] Thread enlisted

2019-12-20T21:28:44.734+08:00 info -[09812] [Originator@6876 sub=ThreadPool] Entering fair thread loop

2019-12-20T21:28:44.734+08:00 info -[07648] [Originator@6876 sub=ThreadPool] Thread enlisted

2019-12-20T21:28:44.734+08:00 info -[07648] [Originator@6876 sub=ThreadPool] Entering IO thread loop

VixDiskLib: Available transport modes: file:san:hotadd:nbdssl:nbd.

VMware VixDiskLib (6.5) Release build-4604867

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini. Using default values.

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini. Using default values.

UUID: SMBIOS UUID is reported as '00 00 00 00 00 00 00 00-00 00 ac 1f 6b 36 ac 5a'.

FILE: FileLockDynaLink: Further process validation tools are: available

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini. Using default values.

lib/ssl: OpenSSL using FIPS_drbg for RAND

lib/ssl: protocol list tls1.2

lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

PREF early PreferenceGet(poll.forceSelect), using default

POLL Using the WSAPoll API Implementation for PollDefault

VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.

VixDiskLib: VixDiskLib_ConnectEx: Establish connection using file:san:hotadd:nbdssl:nbd.

VixDiskLib: VixDiskLib_Connect: Establish connection.

VixDiskLib: Resolve host.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini. Using default values.

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini. Using default values.

UUID: SMBIOS UUID is reported as '00 00 00 00 00 00 00 00-00 00 ac 1f 6b 36 ac 5a'.

FILE: FileLockDynaLink: Further process validation tools are: available

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini. Using default values.

lib/ssl: OpenSSL using FIPS_drbg for RAND

lib/ssl: protocol list tls1.2

lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

2019-12-20T21:28:44.984+08:00 error -[00604] [Originator@6876 sub=Default] Cannot use advanced transport modes

for 192.168.1.118/VRTS-LINUX/VRTS-LINUX.vmx?dcPath=THXH-Datacenter&dsName=Backup/snapshot-2084:

Invalid search specifier: VRTS-LINUX/VRTS-LINUX.vmx?dcPath:THXH-Datacenter&dsName=Backup.

VixDiskLib: VixDiskLib_ConnectEx: Advanced transport modes not available for opening VRTS-LINUX/VRTS-LINUX.vmx?dcPath=THXH-Datacenter&dsName=Backup. (Cannot use advanced transport modes for 192.168.1.118/VRTS-LINUX/VRTS-LINUX.vmx?dcPath=THXH-Datacenter&dsName=Backup/snapshot-2084: Invalid search specifier: VRTS-LINUX/VRTS-LINUX.vmx?dcPath:THXH-Datacenter&dsName=Backup.)

VixDiskLib: VixDiskLib_OpenEx: Open a disk.

VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for [Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183)

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\settings.ini. Using default values.

DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini. Using default values.

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\config.ini. Using default values.

UUID: SMBIOS UUID is reported as '00 00 00 00 00 00 00 00-00 00 ac 1f 6b 36 ac 5a'.

FILE: FileLockDynaLink: Further process validation tools are: available

DictionaryLoad: Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": The system cannot find the file specified.

[msg.dictionary.load.openFailed] Cannot open file "C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini": Cannot create a file when that file already exists.

PREF Optional preferences file not found at C:\Windows\system32\config\systemprofile\AppData\Roaming\VMware\preferences.ini. Using default values.

lib/ssl: OpenSSL using FIPS_drbg for RAND

lib/ssl: protocol list tls1.2

lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

VixDiskLibVim: Request RandomAccessRO diskKey = 2000, readOnly = 1, openSnapshot = 0.

VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.

NBD_ClientOpen: attempting to create connection to vpxa-nfcssl://[Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk@192.168.1.98:902

Started up WSA

CnxOpenTCPSocket: Couldn't set early TCP timeout connecting to server 192.168.1.98:902: 19

DictionaryLoad: Cannot open file "%SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg": The system cannot find the path specified.

[msg.dictionary.load.openFailed] Cannot open file "%SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg": The system cannot find the path specified.

FeatureStateLib: Error while loading feature config file: %SystemDrive%\%ProgramData%\VMware\vCenterServer\cfg\vsphereFeatures\vsphereFeatures.cfg, using default feature state values.

Opening file [Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk (vpxa-nfcssl://[Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk@192.168.1.98:902)

DISKLIB-LINK  : Opened 'vpxa-nfcssl://[Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk@192.168.1.98:902' (0x1e): custom, 146800640 sectors / 70 GB.

DISKLIB-LIB   : Opened "vpxa-nfcssl://[Backup] VRTS-LINUX/VRTS-LINUX_1.vmdk@192.168.1.98:902" (flags 0x1e, type custom).

Is the vmsSpec's syntax correct,  The sdk document describe that preferred syntax for vmxSpec is "moRef=<moref-of-vm>", How can i retrieve the moref.

Reply
0 Kudos
1 Reply
zero_cc
Contributor
Contributor

I have solved this issue, I set vmxspec="moref=vm-469".

Reply
0 Kudos