NetVault Vmware Plugin image backup in SAN transport mode does not work. File level backup will also fail. In NBD mode the job will work.
VDDK fails to open the Vmware Disk
0 VDDK :10540 36 0 104209.763732 Failed to open vmdk
0 VDDK :10540 138 0 104209.763732 VDDK error encountered: code 13
The error "You do not have access rights to this file" is reported in the VDDK log and in netvault trace.
VDDK also generates the following error.
:\Windows\TEMP\vmware-Système
W32Util_IsDirectorySafe: Failed DACL inherit check
The above messages indicates that there are some sort of permissions issue despite the user (specified in the plugin) having all the right privileges.
Note that the VDDK uses c:\windows\temp\ and creates a vmware-systeme directory. In French OS (and possibly other languages) the created vmware-systeme directory is converted in UTF16 and therefore names the directory vmware-système with the "è".
This is the source of the probem as reported in the release note of VDDK 5.0 (but the problem exist in previous VDDK too)
http://www.vmware.com/support/developer/vddk/VDDK-500-ReleaseNotes.html
Here is an extract from the release note:
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. One workaround is to override the Temp pathname in the configuration file by setting the tmpDirectory key, using a non-UTF-16 pathname. For details, see documentation for VixDiskLib_InitEx(). KB 1037379 discusses a similar issue.
If the VMware plugin is installed on a non-English OS, there may be issues reading path containing UTF16 characters.
Example in French Windows OS the VMware temporary directory is: C:\Windows\TEMP\vmware-Système
To workaround the issue the VDDK temporary directory must be redirected to an alternate directory with UTF8 character.
- Create a folder with UTF8 name. Example: c:\tempdir
- In the /NV_HOME/config directory create a text file called "config.vddk"
- Edit the content of the file and insert the following:
tmpDirectory = "c:\tempdir"
- Save the file.
- Restart the NetVault service
- Run the job in SAN transport mode.