Article number
000003426
Affected Versions
All
Source Hypervisor
VMware
Target Hypervisor
VMware

Error: “Failed to delete file [datastore] zagentid/{path}/zdriver_ESX_XX.o” When Installing a VRA

Viewed 82 times

Summary

An administrator may receive an error during VRA installation regarding the zagentid file cannot be deleted.

Root Cause

The "zdriver_ESX_XX.o" file is locked by another process and further investigation is required.

Symptoms

When installing or uninstalling a VRA, there might be a error similar to the following:

Failed to delete file [datastore] zagentid/{path}/zdriver_ESX_XX.o

When removing the file as per the this KB, there might be an error "Device/Service Busy" in the ESXi shell.

Solution

As the "zdriver_ESX_XX.o" file is locked by some process, admins can refer to the following VMware KBs for finding out the process which locked the file and permanently resolve:

https://kb.vmware.com/s/article/1008728

https://kb.vmware.com/s/article/1003397

A workaround would be to rename the folder containing the zdriver file and then try to install or uninstall the VRA once more.