How to remove Dead or Error iscsi targets from ESXi | VMware

Issue:-

Sometime we may find an iscsi target associated to an iscsi adapter being greyed out and marked as Dead or Error. In VMkernel log you may receive an error as given below:


WARNING: NMP: nmpDeviceAttemptFailover:658:Retry world failover device "naa.6090a05850f3465b871325e61b6af905" - failed to issue command due to Not found (APD), try again...


This is a result of an improper deletion of a LUN/iscsi target from the storage adapter.


Resolution:-


Enter the host into maintenance mode (Just to be safe)


esxcfg-rescan -d vmhba3


Replace vmhba id with the id of your vmhba adpater.

Ensure that you are not receiving any errors by checking vmkernel log file

tail -f /var/log/vmkernel.log


Exit from maintenance mode


You may be required to refresh the storage adapters after the rescan.


Comments

Popular posts from this blog

VMware and Windows Interview Questions: Part 2

VMware and Windows Interview Questions: Part 3

VMware vMotion error at 14%