Storage DRS affinity or anti-affinity rules might prevent a datastore from entering maintenance mode. You can ignore these rules when you put a datastore in maintenance mode.
When you enable the Ignore Affinity Rules for Maintenance option for a datastore cluster, vCenter Server ignores Storage DRS affinity and anti-affinity rules that prevent a datastore from entering maintenance mode.
Storage DRS rules are ignored only for evacuation recommendations. vCenter Server does not violate the rules when making space and load balancing recommendations or initial placement recommendations.
Launch the vSphere Client and log in to a vCenter Server system.
- In the vSphere Client inventory, right-click a datastore cluster and select Edit Settings.
- In the right pane of the Edit Datastore Cluster dialog box, select SDRS Automation.
- Click Advanced Options.
- Select IgnoreAffinityRulesForMaintenance.
- In the Value column, type 1 to enable the option.
Type 0 to disable the option.
- Click OK.
The Ignore Affinity Rules for Maintenance Mode option is applied to the datastore cluster.