Troubleshooting
Problem
BACKUP VM may fail with the following error when using Hotadd: ANS9365E VMware vStorage API error for virtual machine
Symptom
Virtual Machine backup fails with the following error in the dsmerror.log when VMVSTORTRANSPORT is set to HOTADD:
ANS9365E VMware vStorage API error for virtual machine '<vmname>'.
TSM function name : VixDiskLib_Open
TSM file : vmvddksdk.cpp (1764)
API return code : 13
API error message : You do not have access rights to this file
ANS5283E The operation was unsuccessful.
Note: VM backups are successful when VMVSTORTRANSPORT is set to NBD.
Cause
While the root cause for this error can vary, in this case IDE disks were being used during hotadd backups. Only SCSI disks are supported for hotadd transport method:
Best practices when using advanced transport for backup and restore
Diagnosing The Problem
Capture a trace during a recreate of the error per the following link:
Tracing instructions for Virtual Environments
The trace will show the following:
vmvddksdk.cpp (1291): [03256 verbose 'transport'] Mounting VM vim.VirtualMachine:vm-248 using transport hotadd failed : Cannot use hotadd to transport to mount Virtual Machines with non-SCSI disks..
vmvddksdk.cpp (1291): [03256 verbose 'transport'] Cannot use mode hotadd to access <datastore> '<vmdk name>': Cannot mount using this method.
vmvddksdk.cpp (1291): [03256 info 'ThreadPool'] Thread delisted
vmvddksdk.cpp (1142): vddksdkPrintVixError(): VM name '<vm name>'.
vmvddksdk.cpp (1162): ANS9365E VMware vStorage API error for virtual machine '<vm name>'.
- TSM function name : VixDiskLib_Open
TSM file : vmvddksdk.cpp (1764)
API return code : 13
API error message : You do not have access rights to this file
Resolving The Problem
Use SCSI disks if specifying VMVSTORTRANSPORT HOTADD. Or alternatively, run VM backups with VMVSTORTRANSPORT NBD if using IDE disks.
Product Synonym
TSM ADSM TSM4VE
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21673756