Live vDisk Migration across storage containers | Nutanix Community
Skip to main content

vDisk migration allows you to change the container of a vDisk. You can migrate vDisks across storage containers while they are attached to the guest VMs without the need to shutdown or delete VMs (live migration). You can either migrate all vDisks attached to a VM or migrate specific vdisks to another container.

 

In a Nutanix solution, you group vDisks into storage containers and attach vDisks to guest VMs. AOS applies storage policies such as replication factor, encryption, compression, deduplication and erasure coding at the storage container level. If you apply a storage policy to a storage container.

 

AOS enables that policy on all the vdisks of the container. If you want to change the policies of the vDisks, create another container with a different policy and move the vDisk to that container.

 

With live migration of vDisks across containers, you can migrate vdisk across containers even if those vdisks are attached to a live VM. Thus, live migration of vDisks across storage containers enables you to efficiently manage storage policies for guest VMs.

 

General Considerations:

 

Following operations cannot be performed during an ongoing vDisk migration:

  • Clone a VM

  • Take a snapshot

  • Resize, clone or take a snapshot of the vDisks that are being migrated

  • Migrate images

  • Migrate volume groups

 

Disaster Recovery Considerations

 

Consider the following points if you have a disaster recovery and backup setup: 

 

  • You cannot migrate vDisks of a VM that is protected by a protection domain or protection policy. When you start the migration, ensure that the VM is not protected by a protection domain or protection policy.

  • If you want to migrate vDisks of such a VM, do the following:

    • Remove the VM from the protection domain or protection policy.

    • Migrate the vDisks to the target container.

    • Add the VM back to the protection domain or protection policy.

    • Configure the remote site with the details of the new container.

  • vDisk migration fails if the VM is protected by a protection domain or protection policy.

  • If you are using a third-party backup solution, AOS temporarily blocks snapshot operations for a VM if vDisk migration is in progress for that VM.

 

For more information, please refer to   vdisk migration