You place a datastore in maintenance mode when you must take it out of usage to service it. A datastore enters or leaves maintenance mode only as a result of a user request.
Problem
A datastore in a datastore cluster cannot enter maintenance mode. The Entering Maintenance Mode status remains at 1%.
Cause
- Storage DRS is disabled on the disk.
- Storage DRS rules prevent Storage DRS from making migration recommendations for the disk.
Solution
- If Storage DRS is disabled, enable it or determine why it is disabled. See Storage DRS is Disabled on a Virtual Disk for reasons why Storage DRS might be disabled.
- If Storage DRS rules are preventing Storage DRS from making migration recommendations, you can remove or disable particular rules.
- Browse to the datastore cluster in the vSphere Web Client object navigator.
- Click the Manage tab and click Settings.
- Under Configuration, select Rules and click the rule.
- Click Remove.
- Alternatively, if Storage DRS rules are preventing Storage DRS from making migration recommendations, you can set the Storage DRS advanced option IgnoreAffinityRulesForMaintenance to 1.
- Browse to the datastore cluster in the vSphere Web Client object navigator.
- Click the Manage tab and click Settings.
- Select SDRS and click Edit.
- In Add. , click
- In the Option column, enter IgnoreAffinityRulesForMaintenance.
- In the Value column, enter 1 to enable the option.
- Click OK.