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.

1

Browse to the datastore cluster in the vSphere Web Client navigator.

2

Click the Manage tab and click Settings.

3

Under Services, select DRS and click Edit.

4

Expand Advanced Options and click Add.

5

In the Option column, type IgnoreAffinityRulesForMaintenance.

6

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

Type 0 to disable the option.

7

Click OK.

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