As some of you, and I hope all of you, have noticed by now when you create / expand / extent / delete a datastore a rescan of your HBAs will automatically be initiated. This however can lead to a “rescan storm” when you are building a new environment.
You can imagine that it’s pointless to rescan your HBA 25 times in a row when you are adding more than 1 new datastore. I can even imagine you would like to be in control; when, which server and at what time. This behavior was introduced with vCenter 2.5 U2 I believe but as I just found out can be disabled. Now keep in mind that disabling is not a best practice. This should be avoided as a default setting but will come in handy when you are building a new site.
- Open up the vSphere Client
- Go to Administration -> vCenter Server
- Go to Settings -> Advanced Settings
- If the key “config.vpxd.filter.hostRescanFilter” is not available add it and set it to false
Make sure to set it to “true” as soon as you are done because you would like to make sure the environment is consistent in the future when you or your customer is adding/removing/expanding a datastore.