To diagnose problems with Storage DRS, you can clear Storage DRS statistics before you manually run Storage DRS.
Important: When you enable the option to clear Storage DRS statistics, statistics are cleared every time Storage DRS runs until you disable the option. Always disable the option after you diagnose the Storage DRS problem.
Enable Storage DRS for the datastore cluster.
- Enable the ClearIoStatsOnSdrsRun option.
- Browse to the datastore cluster in the vSphere Client.
- Click the Configuration tab and click Services.
- Select vSphere DRS and click Edit.
- Expand Advanced Options and click Add.
- In the Option column, type ClearIoStatsOnSdrsRun.
- In the corresponding Value text box, type 1.
- Click OK.
- Run Storage DRS on the datastore cluster.
The current Storage DRS statistics for all datastores and virtual disks in all datastore clusters in the vSphere Client inventory are cleared, but no new statistics are collected.
- Change the ClearIoStatsOnSdrsRun flag value to 0 to disable it.
- Run Storage DRS again.
Storage DRS runs normally. Allow several hours for the new setting to take effect.