hshoobe
VMware Employee
VMware Employee

VMDK Affinity Rule

Author : Ivanka Radkova

URL : http:////docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-251DE8B0-4529-41...

Topic Name : Add a VMDK Affinity Rule

Publication Name : vSphere Virtual Machine Administration

Product/Version : VMware vSphere/7.0

Question :

Does the VMDK Affinity rule impact just VMDK files or all VM files - specifically vmx.

0 Kudos
2 Replies
scott28tt
VMware Employee
VMware Employee

Every VM has a "home" directory which contains config files such as VMX.

The rules you're asking about are for when you have multiple sets of VMDK files for a single VM.

What are you actually looking to achieve?

0 Kudos
IRIX201110141
Virtuoso
Virtuoso

The "VMDK Affinity rule" is a feature of a Datastore Cluster. By default and the general rule of thumb is to hold all files together in one directory which is the $Home_Dir of the VM.  But if you have multiple vDisk or larger vDisk and run out of free space on a Datastore/LUN you can allow the sDRS to spread them on several Datastores within the Datastore Cluster.

To answer your Question... it works only for VMDKs and not *.vmx, *.log, swap or the other files of a VM.

Regards,
Joerg

0 Kudos