VMware Cloud Community
Jacques_Schenk
Contributor
Contributor

How do I move a VM from one disk to another on the same server

I have a ESX VI server with a VM machine defined on a local disk.

Now i want to move this VM to a SAN based disk on the same server.

How do I do this ? I can not find anything like "move VM" in the menu, also my course manual does not help.

How do I do this and where can i find this kind of information ?

Jacques

Reply
0 Kudos
2 Replies
esiebert7625
Immortal
Immortal

If you have VirtualCenter, you can shut down the VM and cold migrate it. If not you can shutdown the VM, un-register it. copy the vmdk file using vmkfstools -i then either create a new VM and tell it to use an existing drive or copy the other VM files with SCP and re-register the VM with the ESX host.

Also here's a script to do it...

Script for moving a VM to different storage - http://www.vmware.com/community/thread.jspa?threadID=89885

Fyi…if you find this post helpful, please award points using the Helpful/Correct buttons.

-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

Thanks, Eric

Visit my website: http://vmware-land.com

-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

Texiwill
Leadership
Leadership

Hello,

You can also use the VIC to do this. Select Migrate then when it comes time to select the host, select the same host, and then check where it says to use a different VMFS. Select the alternative VMFS and finish the wizard.

Best regards,

Edward

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos