Cannot browse the datastore and the errors seen in the logs are "failed on path "vmhba##:C#:T#:L#" H:0x0 D:0x2 P:0x0 Valid sense data: 0x2 0x4 0xc."
search cancel

Cannot browse the datastore and the errors seen in the logs are "failed on path "vmhba##:C#:T#:L#" H:0x0 D:0x2 P:0x0 Valid sense data: 0x2 0x4 0xc."

book

Article ID: 375946

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • VM's Power On and migrations tasks are failing.
  • You may see an error message similar to "A general system error occurred: Launch failure ####-##-##T##:##:##.996679Z Out of resources Cannot open file "/vmfs/volumes/661714b9-63####7c-###-00620b2421f0/VM-NAME/VM-NAME.vmx": 5 (Input/output error). Unable to load configuration file '/vmfs/volumes/661714b9-63####7c-###-00620b2421f0/VM-NAME/VM-NAME.vmx'."
  • You may have problems browsing the datastore with the impacted VM(s).
  • You see in the vmkernel logs messages similar to the ones below:

####-##-##T##:##:##.964Z cpu20:2098273)WARNING: NMP: nmpCompleteRetryForPath:364: Retry cmd 0x28 (0x45d961f57c48) to dev "naa.600144##################159d0001" failed on path "vmhba64:C0:T1:L23" H:0x0 D:0x2 P:0x0 Valid sense data: 0x2 0x4 0xc.
####-##-##T##:##:##.964Z.965Z cpu23:2098276)WARNING: NMP: nmpCompleteRetryForPath:364: Retry cmd 0x28 (0x45d961f45f48) to dev "naa.600144##################159d0001" failed on path "vmhba64:C0:T1:L23" H:0x0 D:0x2 P:0x0 Valid sense data: 0x2 0x4 0xc.
####-##-##T##:##:##.964Z.965Z cpu23:2098276)WARNING: NMP: nmpCompleteRetryForPath:364: Retry cmd 0x28 (0x45d9643e9c88) to dev "naa.600144##################159d0001" failed on path "vmhba64:C0:T1:L23" H:0x0 D:0x2 P:0x0 Valid sense data: 0x2 0x4 0xc.

Cause

The errors show that the LUN is not accessible at the storage array level, due to a target port issue.

The error code "H:0x0 D:0x2 P:0x0 Valid sense data: 0x2 0x4 0xc" translates as:

Type Code Name Description
Host Status [0x0] OK This status is returned when there is no error on the host side. This is when you will see if there is a status for a Device or Plugin. It is also when you will see Valid sense data instead of Possible sense Data.
Device Status [0x2] CHECK_CONDITION This status is returned when a command fails for a specific reason. When a CHECK CONDITION is received, the ESX storage stack will send out a SCSI command 0x3 (REQUEST SENSE) in order to get the SCSI sense data (Sense Key, Additional Sense Code, ASC Qualifier, and other bits). The sense data is listed after Valid sense data in the order of Sense Key, Additional Sense Code, and ASC Qualifier.
Plugin Status [0x0] GOOD No error. (ESXi 5.x / 6.x only)
Sense Key [0x2] NOT READY
Additional Sense Data 04/0C LOGICAL UNIT NOT ACCESSIBLE, TARGET PORT IN UNAVAILABLE STATE

Resolution

Please engage with your storage vendor to investigate why the LUN is not accessible and remediate the issue.