To diagnose problems with Storage DRS, you can clear Storage DRS statistics before you manually run Storage DRS.
Before you begin
Enable Storage DRS for the datastore cluster.
About this task
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 the ClearIoStatsOnSdrsRun option.
- Browse to the datastore cluster in the vSphere Web Client navigator.
- Click the Manage tab and click Settings.
- Under Services, select 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 Web 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.