darcotech
Contributor
Contributor

need to move vm files to new storage on the same host

Jump to solution

Hi,

on our pilot ESX server I have several machines in prod that are running on SATA SAN disks. Recently we added 3Tb of FC disks and I wanted to simply move those machines on this storage(that is of course attached to the same host). So in VC,I choose migrate and then I choose the same host. However I do not get option to choose datastore and therefore unable to move this VMs(10 of them). Do you know some other way? For some machine I can not have a downtime at the moment,but I need to finish this ASAP. Thanks.

0 Kudos
1 Solution

Accepted Solutions
Brahmzy
Enthusiast
Enthusiast

I just shutdown all of my VMs during a planned maintenance window and moved all of them (40 or so) to new fat LUNs. Just pick a time to take it down if possible.

View solution in original post

0 Kudos
7 Replies
waynegrow
Expert
Expert

I believe if you schedule it as a Task, you get the option to move it to another datastore.

0 Kudos
esiebert7625
Immortal
Immortal

If you shutdown the VM (cold migrate) you will have a option to select a datastore, you cannot hot migrate a VM to another datastore. You can hot clone to different storage with Vmware Converter, also I have another method listed below.

http://www.vmware-land.com/Vmware_Tips.html#VM14

Also check this script out...

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

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

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

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

Thanks, Eric

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

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

0 Kudos
darcotech
Contributor
Contributor

No , it still doesn't asks for a destination datastore. I thought this would be a piece of cake !!!What a nightmare.

0 Kudos
server_team
Enthusiast
Enthusiast

Can the Esx server see the datastore? assuming so:

Shut the guest down

Migrate to new host

select new host (or the same) next

select resource pool (if using) next

move virtual machine configuration files and virtual disks - radio button (this is the important one)

you can click advanced if you want different disks on different datastores

Then click finish

darcotech
Contributor
Contributor

Yes, I know for cold move. I can not shutdown guest.

0 Kudos
Texiwill
Leadership
Leadership

Hello,

If you can not shutdown the guest then it is not possible to move the VM to another datastore.

You could make a backup using vcbMounter from the SC while the VM is running and then restore it to a new location. Boot the new VM and shutdown the old VM, but somewhere in there you WILL have to shutdown the VM.

Best regards,

Edward

--
Edward L. Haletky
vExpert XIII: 2009-2021,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Brahmzy
Enthusiast
Enthusiast

I just shutdown all of my VMs during a planned maintenance window and moved all of them (40 or so) to new fat LUNs. Just pick a time to take it down if possible.

View solution in original post

0 Kudos