Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

Products and Accounts

Support

Knowledge

Communities

Success

Learning

My Subscriptions

Loading

Knowledge Base

Resolving SCSI reservation conflicts (1002293)

Last Updated: 7/4/2023Categories: TroubleshootingTotal Views: 16520Language:
Chinese (Simplified)JapaneseSpanishEnglish

4 like this article

Subscribe to get an email
newsletter with new updates

4 people found this helpful Please provide article feedback:

Details

You cannot access a LUN.

The LUN is zoned, presented and configured properly.

A vdf command never completes.

You see the error:

Failure reading partition table from device [naa.xxxxx]: I/O error

Solution

Note: For more information about the causes of SCSI reservations, see Analyzing SCSI Reservation conflicts on VMware Infrastructure 3.x and vSphere 4.x, vSphere 5.x, and vSphere 6.x  (1005009).

To identify if SCSI reservation conflicts are preventing a LUN from being accessed:

Verify that the LUN is detected by the ESX host at boot time by running the command:

# esxcfg-scsidevs -c

You see output similar to:

Device UID Device Type Console Device Size Plugin Display Name
eui.00000e1100b81bfc Direct-Access /dev/sda 70007MB NMP Local FUJITSU Disk (eui.00000e1100b81bfc)
mpx.vmhba0:C0:T0:L0 CD-ROM /dev/sr0 0MB NMP Local HL-DT-ST CD-ROM (mpx.vmhba0:C0:T0:L0)
mpx.vmhba3:C0:T0:L0 Direct-Access /dev/cciss/c0d0 34727MB NMP Local VMware Disk (mpx.vmhba3:C0:T0:L0)

If the LUN is not listed, rescan the storage. For more information, see Performing a rescan of the storage on an ESX/ESXi host (1003988).

Check the system logs for signs of SCSI Reservation Conflict errors. Look for lines that indicate if the LUN is having an issue:

cat /var/log/vmkernel.log

Vendor: EMC Model: SYMMETRIX Rev: 5771
Type: Direct-Access ANSI SCSI revision: 03
scsi0 (0,0,52) : RESERVATION CONFLICT
scsi0 (0,0,52) : RESERVATION CONFLICT
scsi0 (0,0,52) : RESERVATION CONFLICT
scsi0 (0,0,52) : RESERVATION CONFLICT
scsi0 (0,0,52) : RESERVATION CONFLICT
scsi0 (0,0,52) : RESERVATION CONFLICT
sdh : READ CAPACITY failed.
status = c, message = 00, host = 0, driver = 00
scsi0 (0,0,52) : RESERVATION CONFLICT
scsi0 (0,0,52) : RESERVATION CONFLICT
scsi0 (0,0,52) : RESERVATION CONFLICT
VMWARE: Device that would have been attached as scsi disk sdh at scsi0,
channel 0, id 0, lun 52
Has not been attached because this path could not complete a READ
command eventhough a TUR worked.
result = 0x18 key = 0x0, asc = 0x0, ascq = 0x0
VMWARE: Device that would have been attached as scsi disk sdh at scsi0,
channel 0, id 0, lun 52
Has not been attached because it is a duplicate path or on a passive
path
scan_scsis starting finish
scan_scsis done with finish

Note: In this example, LUN 52 is inaccessible in the host cluster. Since it is listed in the output of step 1, it was accessible at some point (a host reserved the LUN and never released it, possibly due to a SAN switch reboot in the middle of the reservation operation).

To resolve this:

Examine all hosts (also applies to hosts for any pending reservations) by running the command:

# esxcfg-info | egrep -B5 "s Reserved|Pending"

You see output similar to:

Note: Not all of the output is shown.

----Console Device....................../dev/sdd
|----DevfsPath.......................... /vmfs/devices/disks/vml.
02000000006001c230d8abfe000ff76c51486715db504552432035
|----SCSI Level..........................6
|----Queue Depth.........................128
|----Is Pseudo...........................false
|----Is Reserved.........................false
|----Pending Reservations................0
--
|----Console Device....................../dev/sda
|----DevfsPath........................../vmfs/devices/disks/vml.
02000000006001c230d8abfe000ff76c198ddbc13e504552432035
|----SCSI Level..........................6
|----Queue Depth.........................128
|----Is Pseudo...........................false
|----Is Reserved.........................false
|----Pending Reservations................ 1

Note: The host that has Pending Reserves with a value that is larger than 0 is holding the lock.

Perform a LUN reset to clear the lock by running the command:

# vmkfstools --lock lunreset /vmfs/devices/disks/vml.02000000006001c230d8abfe000ff76c198ddbc13e504552432035

Verify that the LUN no longer has any Pending Reserves by running the command:

# esxcfg-info -s | egrep -B16 "s Reserved|Pending"

Note: If the Pending Reserves is not 0 or Is Reserved is not false, the LUN reset did not succeed.

Do a refresh of the storage window on each ESXi/ESX host.

If the datastore is not mounted, perform a rescan. For more information, see Performing a rescan of the storage on an ESX/ESXi host (1003988).

Note: Virtual machines housed on a LUN should observe no interruption in service when a LUN reset occurs.

Additional Information

Troubleshooting LUN connectivity issues on ESXi hosts
For translated versions of this article, see:

日本語：SCSI 予約競合の解決 （1033360）

Español: Resolución de conflictos de reserva de SCSI (2055241)

Português:

简体中文: 解决 SCSI 预留冲突 (2075632)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

Related Versions:

VMware vSphere ESXi 8.0

VMware vSphere ESXi 7.0

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant