Vmware backups may fail with error status code 13 on a Windows backup host with French locale

Vmware backups may fail with error status code 13 on a Windows backup host with French locale

Article: 100007949
Last Published: 2015-09-17
Ratings: 0 1
Product(s): NetBackup

Problem

Vmware backups may fail with error status code 13 on a Windows backup host with French locale.

Error Message

        01/06/2012 14:29:49.0656 : g_vdInterfaceLogger:.\libvix.cpp:1683 <INFO> : diskLibPlugin: [2012-01-06 14:29:49.656 02132 info 'transport'] Creating mount directory C:\Windows\TEMP\vmware-Système\42190e99-6e73-1701-e2c2-5476662a05df-vm-12435\hotadd.
        01/06/2012 14:29:49.0656 : g_vdInterfaceLogger:.\libvix.cpp:1683 <INFO> : diskLibPlugin: [2012-01-06 14:29:49.656 02132 trivia 'SOAP stub'] Sending soap request to [TCP:gpkvsphere1.uklab.veritas.com:443]: GetSummary {}
        01/06/2012 14:29:49.0656 : g_vdInterfaceLogger:.\libvix.cpp:1683 <INFO> : diskLibPlugin: [2012-01-06 14:29:49.656 02132 trivia 'SOAP stub'] Request started [class Vmacore::Http::UserAgentImpl::AsyncSendRequestHelper:0000000004DC2F48]
        01/06/2012 14:29:49.0656 : g_vdInterfaceLogger:.\libvix.cpp:1683 <INFO> : diskLibPlugin: [2012-01-06 14:29:49.656 00596 trivia 'SOAP stub'] Request completed [class Vmacore::Http::UserAgentImpl::AsyncSendRequestHelper:0000000004DC2F48]
        01/06/2012 14:29:49.0656 : g_vdInterfaceLogger:.\libvix.cpp:1683 <INFO> : diskLibPlugin: [2012-01-06 14:29:49.656 02132 trivia 'SOAP stub'] Received soap response from [TCP:gpkvsphere1.uklab.veritas.com:443]: GetSummary
        01/06/2012 14:29:49.0671 : g_vdInterfaceLogger:.\libvix.cpp:1683 <INFO> : diskLibPlugin: [2012-01-06 14:29:49.671 02132 info 'transport'] Starting to write unmount info.
        01/06/2012 14:29:49.0671 : g_vdInterfaceLogger:.\libvix.cpp:1683 <INFO> : diskLibPlugin: [2012-01-06 14:29:49.671 02132 verbose 'transport'] Mounting VM vim.VirtualMachine:vm-12435 using transport hotadd failed : Could not write unmount information.
        01/06/2012 14:29:49.0671 : g_vdInterfaceLogger:.\libvix.cpp:1683 <INFO> : diskLibPlugin: [2012-01-06 14:29:49.671 02132 verbose 'transport'] Cannot use mode hotadd to access [freenas] iscsi-winlab/iscsi-winlab.vmdk: Cannot mount using this method.
        01/06/2012 14:29:49.0671 : vdOpen:.\VixInterface.cpp:196 <ERROR> [Sys Error: No such file or directory] : VixDiskLib_Open() error. Exited
        01/06/2012 14:29:49.0671 : openLeafSnapshotDisks:.\VixGuest.cpp:452 <ERROR> [Sys Error: No such file or directory] : vdOpen() error = 13. Calling closeLeafSnapshotDisks()
        01/06/2012 14:29:49.0671 : openLeafSnapshotDisks:.\VixGuest.cpp:555 <ERROR> [Sys Error: No such file or directory] : Exited with failure
        01/06/2012 14:29:49.0671 : vixMapObjCtl:.\VixCoordinator.cpp:904 <ERROR> [Sys Error: No such file or directory] : Exited with 23
        01/06/2012 14:29:49.0671 : vix_map_objctl:.\libvix.cpp:1138 <ERROR> [Sys Error: No such file or directory] : Error 23

End:: result(23)

Cause

This issue could be caused by a VMware problem using UTF-16 characters in pathnames.
When VixDiskLib_Open() is given a pathname containing UTF-16 characters, the virtual disk library fails to find the file. On Windows 2008 for example, the pathname Temp\vmware-système\*vm* contains è as a UTF-16 character, whereas VixDiskLib expects UTF-8.  For details, see documentation for VixDiskLib_InitEx(). KB 1037379 discusses a similar issue.
( kb.vmware.com/kb/1037379 )

The root of the problem is in vmware - VDDK has a problem while opening a temporary directory on Windows French version because of the non-UTF8 characters in the path. With VDDK 5.0 this doesn't seem to be fixed by VMware as the issue is seen in Netbackup 7.1.0.3

For information the same problem is seen with French OS and vmware backups with Backup Exec - See TECH166842

Solution

Use either of the two workarounds:

  1. Override the Temp pathname in the configuration file by setting the tmpDirectory key, using a non-UTF-16 pathname. For this, create a file, or edit the existing file - : Prior to NetBackup 7.6:C:\Program Files\Common Files\VERITAS\VxMS\Shared\VDDK\vixDiskLib.iniIn NetBackup 7.6 and above: C:\Program Files\Common Files\VERITAS\VxMS\Shared\VDDK\bin\vixDiskLib.ini Add a single line to this file: tmpDirectory = "<temp path>" Replace temp path with a path to an existing empty directory with no UTF-16 characters.

    Note that upon upgrade to NetBackup 7.5 and onwards, this file will be overwritten, so the line may have to be re-added.
     
  2. Change the logon credentials for the Windows "Netbackup client service" to run as a user without French characters. e.g. "Administrateur". You might need to give this account local admin rights.

 

References

JIRA : null Etrack : 2656999

Was this content helpful?