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

My Subscriptions

Loading

Knowledge Base

Understanding SCSI Check Conditions in VMkernel logs during rescan operations (1010244)

Last Updated: 3/31/2021Categories: InformationalTotal Views: 102927Language:
Chinese (Simplified)JapaneseEnglish

7 like this article

Subscribe to get an email
newsletter with new updates

7 people found this helpful Please provide article feedback:

Details

During boot, a rescan operation, or a storage multi-pathing or topology change, the VMware ESX/ESXi VMkernel enumerates storage targets to determine what LUNs are presented. Commands are sent to each target to retrieve a list of LUNs, and to each LUN to retrieve vital product data (VPD) information.

The VMkernel logs at /var/log/vmkernel or /var/log/messages may report, during these storage device enumerations, messages similar to:

StorageMonitor: nnn: vmhba C: T: L:0 status = 2/0 0x5 0x24 0x0
StorageMonitor: nnn: vmhba C: T: L:0 status = 2/0 0x5 0x20 0x0
Command 0x12 to XX device "naa.NNN" failed on physical path "vmhba C: T: L:0" H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0
Command 0x12 to XX device "naa.NNN" failed on physical path "vmhba C: T: L:0" H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x20 0x0

For more information, see Location of log files for VMware products (1021806) and Identifying disks when working with VMware ESX (1014953).

Solution

During a re-enumeration of storage devices, the VMware ESX/ESXi VMkernel sends SCSI Report LUNs command (0xa0) to the target to retrieve a list of LUNs, and SCSI Inquiry commands (0x12) to each LUN to determine the type of device (disk, CD-ROM, USB, etc), the make and model of the device, and the features the device supports.

A SCSI Inquiry requests Vital Product Data (VPD) page information from the LUN, including the unit serial number (page 0x80), a device identification number (page 0x83), and the management network address (page 0x85).

If a SCSI device does not support a particular VPD page, it may respond to such a request with an error. Specifically, it may return SCSI Status 2 (Check Condition), with sense key 5 (Illegal Request) and additional sense code (ASC) and additional sense code qualifier (ASCQ) set to 0x20/0x0 or 0x24/0x0.

ASQ/ASCQ 0x20/0x0 is Invalid Command Operation Code

ASQ/ASCQ 0x24/0x0 is Invalid Field in CDB (Command Descriptor Block)

For more information, see Interpreting SCSI sense codes (289902) and SCSI Additional Sense Data at T10.org.

Note: The preceding link was correct as of May 28, 2012. If you find the link is broken, provide feedback and a VMware employee will update the link.

The two additional sense codes described here are distinct, but are used interchangeably by different storage device vendors to mean the same thing: the request is not supported. Usually this indicates that the target cannot provide one of the requested VPD pages, or cannot respond to the Report LUNs command. The VMkernel treats the two sense codes as the same, and thus knows that the device or target does not support the given request.

This is not necessarily a problem. Some devices do not and cannot provide the requested information. This may be configurable, or a limitation of the device. For example:

Local storage devices often do not support VPD page 0x83, and thus cannot be used for Raw Device Mappings (RDMs). The content of page 0x83 is used as a unique identifier for the device. For more information, see Creating Raw Device Mapping (RDM) is not supported for local storage (1017530).

CD or DVD-ROM devices often do not support VPD pages 0x80, 0x83 or 0x85. This can be ignored.

Some device controllers do not support Report LUNs. If there is no LUN 0, or the SCSI version reported is 2 or lower, the ESX/ESXi host iteratively scans for LUNs on this controller.

If the storage device is otherwise working correctly, the log messages can be ignored. If the device is experiencing issues, engage the hardware storage device vendor and VMware Support to investigate further.

Additional Information

For translated versions of this article, see:

日本語: リスキャン操作中の VMkernel ログ内の SCSI Check Condition について (2094327)

简体中文: 了解重新扫描操作期间 VMkernel 日志中的 SCSI 检查状况 (2101897)

Related Information

Raw Device Mapping for local storage

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

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

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

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