vSphere 5.1 storage vMotion parallel disk migrations

Where previous versions of vSphere copied disks serially, vSphere 5.1 allows up to 4 parallel disk copies per Storage vMotion operation When you migrate a virtual machine with five VMDK files, Storage vMotion copies of the first four disks in parallel, then starts the next disk copy as soon as one of the first four finishes.

To reduce performance impact on other virtual machines sharing the datastores, parallel disk copies only apply to disk copies between distinct datastores. This means that if a virtual machine has multiple VMDK files on Datastore1 and Datastore2, parallel disk copies will only happen if destination datastores are Datastore3 and Datastore4.

Let’s use an example to clarify the process. Virtual machine VM1 has four vmdk files. VMDK1 and VMDK2 are on Datastore1, VMDK3 and VMDK4 are on Datastore2. The VMDK files are moved from Datastore1 to Datastore4 and from Datastore2 to Datastore3. VMDK1 and VMDK3 are migrated in parallel, while VMDK2 and VMDK4 are queued. The migration process of VMDK2 is started the moment the migration of VMDK1 is complete, similar for VMDK4 as it will be started when the migration of VMDK3 is complete.

A fan out disk copy, in other words copying two VMDK files on datastore A to datastores B and C, will not have parallel disk copies. The common use case of parallel disk copies is the migration of a virtual machine configured with an anti-affinity rule inside a datastore cluster.

Frank Denneman

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

7 Responses

  1. Tim Jabaut says:

    Frank so this means that pSVMotion will never work on a VM with all its VMDKs in the same Datastore? Also, how do VAAI primitives come into play, or do they?

  2. Ben says:

    Hey Frank,

    Is there still a 2 concurrent SVmotion's per host?

  3. Hey Ben,
    Yes there is

  1. September 11, 2012

    [...] and enhancements (ESX Virtualization) Storage DRS datastore correlation 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- [...]

  2. October 10, 2012

    [...] 5.1 Storage Enhancements - Part 7: Storage vMotion (CormacHogan.com) vSphere 5.1 storage vMotion parallel disk migrations (Frank Denneman) Video: vSphere4 Unleashed: 06 - Storage vMotion (Hypervisor) The Design and [...]

  3. January 8, 2013

    [...] file is migrated between two distinct datastores, this scenario leverages the new functionality of parallel disk migration introduced in vSphere [...]

  4. January 10, 2013

    [...] Another slightly older article (from September 2012) is this one from Frank Denneman on how vSphere 5.1 handles parallel Storage vMotion operations. [...]