VMware: Start a rescan for new/dead devices and volumes on ESXi from command line

Hi,

the command for triggering a rescan for new or dead volumes, devices or pathes use

~# esxcli storage core adapter rescan --all

To scan on a specifc adapter determine the HBA name and start a rescan there

~# esxcli storage core adapter list
vmhba2    lpfc          link-up     fc.60000090be45e120:10000090be45e120
vmhba3    lpfc          link-up     fc.60000090be45e121:10000090be45e121
~#  esxcli storage core adapter rescan --adapter vmhba2

To scan for new or changed filesystems use

~#  esxcli storage filesystem rescan

Michael

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.