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.

1

In the vSphere Client inventory, right-click a datastore cluster and select Edit Settings.

2

In the right pane of the Edit Datastore Cluster dialog box, select SDRS Automation.

3

Click Advanced Options.

4

Select IgnoreAffinityRulesForMaintenance.

5

In the Value column, type 1 to enable the option.

Type 0 to disable the option.

6

Click OK.

The Ignore Affinity Rules for Maintenance Mode option is applied to the datastore cluster.