You must perform a rescan operation each time you reconfigure your storage setup.
You can scan by using the vSphere Web Client, the vicfg-rescan vCLI command, or the esxcli storage core adapter rescan command.
- esxcli storage core adapter rescan supports the following additional options.
-a|--all or -A|--adapter=<string>
– Scan all adapters or a specified adapter.-S|--skip-claim
– Skip claiming of new devices by the appropriate multipath plug-in.-F|--skip-fs-scan
– Skip filesystem scan.-t|--type
– Specify the type of scan to perform. The command either scans for all changes (all
) or for added, deleted, or updated adapters (add, delete, update
).
- vicfg-rescan supports only a simple rescan operation on a specified adapter.
Rescanning a storage adapter with ESXCLI
The following command scans a specific adapter and skips the filesystem scan that is performed by default.
esxcli <conn_options> storage core adapter rescan --adapter=vmhba33 --skip-claim
The command returns an indication of success or failure, but no detailed information.
Rescanning a storage adapter with vicfg-rescan
Run vicfg-rescan, specifying the adapter name.
vicfg-rescan <conn_options> vmhba1
The command returns an indication of success or failure, but no detailed information.