Storage DRS datastore cluster default affinity rule

In vSphere 5.1 you can configure the default (anti) affinity rule of the datastore cluster via the user interface. Please note that this feature is only available via the web client. The vSphere client does not contain this option.

By default the Storage DRS applies an intra-VM vmdk affinity rule, forcing Storage DRS to place all the files and vmdk files of a virtual machine on a single datastore. By deselecting the option “Keep VMDKs together by default” the opposite becomes true and an Intra-VM anti-affinity rule is applied. This forces Storage DRS to place the VM files and each VDMK file on a separate datastore.

Please read the article: “Impact of intra-vm affinity rules on storage DRS” to understand the impact of both types of rules on load balancing.

Frank Denneman

Follow me on Twitter, visit the facebook fanpage of, or add me to your Linkedin network

You may also like...

2 Responses

  1. September 11, 2012

    [...] detector (Frank Denneman) vSphere 5.1 storage vMotion parallel disk migrations (Frank Denneman) Storage DRS datastore cluster default affinity rule (Frank Denneman) VCSA 5.1- Deployment and upgrade (Juanma’s Blog) vSphere 5.1 vCenter Virtual [...]

  2. January 2, 2013

    [...] Seems like a fair question to me, and it comes from the fact that when you create a thin provisioned VMs with multiple disks and they grow it can be difficult to move VMs around when the diskspace threshold is reached. Let me rephrase that, by default it can be difficult to move VMs around. The reason for this is that the default affinity rules for disk is: “Keep VMDKs together by default“. This is depicted in the screenshot below, which I stole from Frank’s article on this exact topic. [...]