VMware Cloud Community
geob
Enthusiast
Enthusiast

Storage Migrate Large VMs spanning multiple datastores?

I have several large VMs that are 2+ TB in size, and span multiple 500GB Datastores.  I need to storage migrate these VMs to a different storage array.  I don't have a problem moving smaller VMs, but not sure how I would move the large VMs.  Does anyone know how would I go about using powercli to move these large VMs?

This is the command line I use for moving the small VMs that are contained within a single datastore.

Get-VM $vmName |Move-VM -datastore (Get-datastore $newLun)

Thanks in advance,

geob

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

I assume the destination also has multiple 500GB datastores ?

So you would need to move the VM to multiple datastores ?

How should the VMs be moved ? Configuration files (vmx,vswp..) and multiple vmdk files ?

Have a look at Storage VMotion to multiple datastores for a sample script that uses the RelocateVM_Task method


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos