When experiencing any of the following symptoms on an ESXi host, SCSI reservation conflicts may be preventing access to storage devices:
vdf never complete or fail with timeout errorsRESERVATION CONFLICT or Error status H:0x0 D:0x18 P:0x0Failure reading partition table from device [naa.xxxxx]: I/O error
These issues can occur even when the LUN is properly zoned, presented, and configured.
SCSI reservation conflicts occur when one host in a cluster has placed a SCSI reservation on a LUN and has not released it. This can happen due to:
1. To identify and resolve SCSI reservation conflicts, perform the following steps:
Device UID Device Type Console Device Size Plugin Display Name
eui.################ Direct-Access /dev/sda 70007MB NMP Local FUJITSU Disk (eui.################)
mpx.vmhba#:C#:T#:L# CD-ROM /dev/sr0 0MB NMP Local HL-DT-ST CD-ROM (mpx.vmhba#:C#:T#:L#)
mpx.vmhba#:C#:T#:L# Direct-Access /dev/cciss/c0d0 34727MB NMP Local VMware Disk (mpx.vmhba#:C#:T#:L#)
2. To check for SCSI Reservation Conflict errors, examine the vmkernel log by running the following command:
cat /var/log/vmkernel.log | grep 'H:0x0 D:0x18 P:0x0'
scsi0 (0,0,52) : RESERVATION CONFLICT
NMP: nmp_ResetDeviceLogThrottling:3778: Error status H:0x0 D:0x18 P:0x0 Sense Data: 0x0 0x0 0x0 from dev "eui.############################"
The Device Status code 0x18 indicates a RESERVATION CONFLICT
3. To determine which host holds a reservation on the LUN, execute the following command on every host within the cluster:
esxcfg-info -s | grep -E 'Console Device|Is Reserved|Pending Reservations' | grep -B2 -E 'Pending Reservations.*[0-9]'
|----Console Device....................../vmfs/devices/disks/eui.########################################|----Is Pseudo...........................false|----Is Reserved.........................true|----Pending Reservations................ 1
The host showing "Pending Reservations" with a value greater than 0 is holding the lock.
4. Clear the reservation by performing a LUN reset on the affected device:vmkfstools --lock lunreset /vmfs/devices/disks/eui.######################################################
5. Clear the reservation by performing a LUN reset on the affected device:
vmkfstools --lock lunreset /vmfs/devices/disks/eui.######################################################
Note: Replace the device path with the actual path to your device. For NAA IDs, use:
vmkfstools --lock lunreset /vmfs/devices/disks/naa.############################
7. Verify the lock was cleared by running the command again
esxcfg-info -s | grep -E 'Console Device|Is Reserved|Pending Reservations' | grep -B2 -E 'Pending Reservations.*[0-9]'
|----Console Device....................../vmfs/devices/disks/eui.########################################|----Is Pseudo...........................false|----Is Reserved.........................false|----Pending Reservations................ 0
8. Rescan storage on all hosts in the cluster
If the datastore is unmounted, the backing LUN can be unpresented and represented to the hosts with a cluster rescan in between.
If the error persists after following these steps, contact Broadcom Support for further assistance.
|----Console Device....................../vmfs/devices/disks/eui.########################################|----Is Pseudo...........................false|----Is Reserved.........................true|----Pending Reservations................ 0|----Console Device....................../vmfs/devices/disks/eui.########################################|----Is Pseudo...........................false|----Is Reserved.........................false|----Pending Reservations................ 0
Monitor reservation conflicts using ESXTOP.