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

Performing a rescan of the storage on an ESXi host (1003988)

Last Updated: 3/20/2024Categories: How toTotal Views: 106020Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

43 like this article

Subscribe to get an email
newsletter with new updates

43 people found this helpful Please provide article feedback:

Learn how VMware Skyline Advisor and Skyline Health Diagnostics work together to provide proactive intelligence and self-service log analysis.

Use Skyline Advisor to avoid issues before they occur across VCF, vSphere, vSAN, NSX, vROps & Horizon. Skyline Findings are based on top KBs, VMSAs/CVEs and design best practices.

Use Skyline Health Diagnostics to root cause vSphere & vSAN logs when an issue occurs. Skyline Health Diagnostic Findings are based on top KBs and VMSA/CVEs. You can use the Skyline Health Diagnostics tool in online or offline mode.

If you require additional help from technical support, please use Skyline Advisor to initiate a Log Assist to reduce time to upload logs. TSEs can also initiate logs to reduce effort.

Purpose

This article explains how to perform a rescan of storage devices. A rescan of storage devices is needed when a storage device has been added, removed, or changed from the array.

For information on troubleshooting LUN connectivity issues, see Troubleshooting LUN connectivity issues on ESXi hosts

Resolution

You can perform a rescan in these ways:

Using the VMware vSphere Web Client

Using the ESXi Command Line Interface

Note: Performing a rescan does not cause a service interruption.

Using the VMware vSphere Web Client

To rescan using the Webclient:

Log in to the vCenter web client GUI and select an ESXi host in your inventory.

Right Click on the host and navigate to Storage > Rescan Storage

You would be prompted to either Scan for new Storage Device or Scan for new VMFS Volumes

The first option, for rescanning for new storage devices, shall rescan all available adapters to look for any new devices that have been detected (or retire devices that are no longer in use - as part of a cleanup)

The second option, for recanning for an new VMFS volumes, all rescan all the detected devices for a VMFS backed volume (datastore).

You could select either both of the options at the same time or you could run these tasks individually.

Monitor the progress of the rescan task in the Work In Progress tab on the right or from the ESX/ESXi host console in the /var/log/vmkernel.log  and /var/log/vobd.log log files.

Note:
The Rescan in the VI Client, by default, combines the rescan for new LUNs (and removal of retired ones) with the detection of new VMFS data stores, depending on which check boxes are selected when the rescan is initiated. The rescan and datastore detection are asynchronous processes. As a result, the detection process for new data stores may complete before the detection process for new LUNs is complete. You may need to perform the rescan twice if the newly added LUN has a VMFS data store on it, or perform an HBA rescan and VMFS rescan in separate tasks. You may select either or both of the two to be performed, per a modal dialog box when initially beginning a rescan.

Using the ESXi Command Line Interface

To perform a rescan from the ESXi host command-line:

Log in to the ESXi host console.

To rescan, run one of these commands:

To rescan a specific HBA

esxcli storage core adapter rescan -A <vmkernel SCSI adapter name>

or

esxcli storage core adapter rescan --adapter=<vmkernel SCSI adapter name>

Where <vmkernel SCSI adapter name> is the vmhba# to be rescanned.

Example:

# esxcli storage core adapter rescan -A vmhba3 | --adapter=vmhba3

To rescan all HBA's

 esxcli storage core adapter rescan -a

or
esxcli storage core adapter rescan --all

Note:
To get a list of all adapters, run the either of the following commands :

esxcfg-scsidevs -a
or
esxcli storage core adapter list

To search for new VMFS datastores, run this command:

vmkfstools -V

Note: This command does not generate any output.

If a new datastore has been detected, it is mounted in /vmfs/volumes/

Related Information

VMware Skyline Health Diagnostics for vSphere - FAQ
Tech Support Mode for Emergency Support
Using Tech Support Mode in ESXi 4.1, ESXi 5.x, and ESXi 6.x
Fazer uma nova verificação do armazenamento
Nuevo análisis del almacenamiento en un host ESX/ESXi
iSCSI SAN ストレージアレイに接続している ESXi 5.0 ホストでホストプロファイルの作成ができない
一つ以上の RDM のディスクが接続された仮想マシンの移行が、次のエラーで失敗する：Target disc should be different than the source disc, unable to access file
对 ESX/ESXi 主机上的存储执行重新扫描
ESX/ESXi ホスト上のストレージの再スキャンの実行

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere

Related Versions:

VMware vSphere 7.0.x

VMware vSphere 6.x

VMware vSphere 6.7.x

VMware vSphere 6.5.x

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