How to enable Ignore Storage DRS Affinity Rules for Maintenance Mode

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.


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.(Default option as shown in figure below)

6 Click OK.