VMWare ESXi 5 Move VM to Different Datastore

In this tutorial I will demonstrate how you can move your virtual machine from one datastore on another using VMWare ESX 5 using the Vsphere client. Before you start make sure that the virtual machine that you want to move has been powered off.

In my example I have two datastores, one of 300 GB and the other one is 600 GB. I want to move a VM from the 600 GB drive to the 300 GB drive.

Click on your ESXi host and select Configuration > Datastore where your VM is located and click on Browse Datastore.

ESXi 5 vsphere client configuration storage

You will see an overview of everything in the datastore. I want to move a virtual machine called “MMOBSERVIUM01”. Select the virtual machine and click on the Move button in the toolbar.

ESXi 5 vsphere client datastore browser

You will see a confirmation screen, just click Yes to continue.

ESXi 5 vsphere client confirm move

Now we select the datastore where we want to move the VM to. In my example I select the 300 GB datastore. Optionally you can select a folder where you want to move the virtual machine to…Click Move to continue.

ESXi 5 vsphere client move items

Your virtual machine will be moved and depending on the size of its partitions and whether it has been thick or thin provisioned this might take awhile…

ESXi 5 vsphere client moving

Once the virtual machine has been moved to the other datastore we still have to remove it from the inventory because the ESXi host thinks it’s still on the old datastore. Select your virtual machine from the main screen, do a right mouse click and select Remove from Inventory.

ESXi 5 vsphere client remove from inventory

Now you should go back to the datastore browser, select the virtual machine on the new datastore, do a right mouse click on the vmx file and select Add to Inventory.

ESXi 5 vsphere client add to inventory

The wizard will ask you if you want to give it a new name. Click Next to continue.

ESXi 5 vsphere client add to inventory name

I am only running a single ESXi host so there’s just 1 resource pool. Click Next to continue.

ESXi 5 vsphere client add to inventory resource pool

And finally click Finish to continue.

ESXi 5 vsphere client add to inventory complete

Hit the power button of the virtual machine to start it. You will probably receive a notification that the virtual machine has been moved. Select I moved it and click on OK.

ESXi 5 vsphere client virtual machine message

Your virtual machine is now running from the new datastore. That’s all there is to it! If you have any questions feel free to leave a comment!

Tags: ,


Forum Replies

  1. Excellent How-to!
    Great pictures, explanations, etc…

  2. Professional, detailed, the screenshots are perfect. Great job.

  3. Hi Dylan,

    Good to hear it was helpful to you. I can’t think of any other changes you’ll have to make…

    Rene

  4. Great Article. I have a question though. When I browse my datastore for my virtual machine, there are a few files in there that look like VirtualMachine_1.vmdk and VirtualMachine_2.vmdk. I know these are likely due to snapshots but my goal is to move this vm to a smaller datastore and need to get rid of these files before I do so.
    any ideas?

  5. nice pictorial article!

    Just one question? What will happen if computer/internet got disconnected from the machine where we initiate the move? Does ESXi got the required command to move or that computer needs to stay awake?

    Thanks in advance.
    Sal

6 more replies! Ask a question or join the discussion by visiting our Community Forum