Link to home
Start Free TrialLog in
Avatar of smyers051972
smyers051972Flag for United States of America

asked on

VMWare ESXi vmdk file relocation question

I did a import of a physical the other day and noticed I put the 1st vmdk file on datastore01 mistakenly.

I have a 900 GB gueststorage01 raid 10 and want to relocate the vmdk from datastore01 to gueststorage01.

My understanding is, I shut the VM down, move the physical file and edit the .vmx file to point to the proper location.

Am I correct or is there anything else I have to do in order to complete this task?
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

you will need to shutdown the vm and the tell esx where the new drives is by editing the vm settings imho
You can use Storage VMotion to move it.
Avatar of smyers051972

ASKER

ESXi?  This one is running the bare metal version not enterprise.
so your running esxi which is the basre metal hypervisor

so is enterprise these days

the only difference in vsphere versions is the licence
Avatar of ragnarok89
ragnarok89

If you right click on a VM, do you have the option to "migrate" it? If yes, this will allow you to select a new folder for the VMDK files.
Yea but with bare metal you have to do it more manual, so in my question I asked the steps to confirm.

What I believe you do is move the VMDK file to the new location, edit the .vmx file to point to its new location and that _SHOULD_ be it.

I just want to confirm if thats all or am I missing something here?
You can still do a svMotion (or, you should be able to). Just uninstall your ESXi license. That way you have a 'trial' version. With the 'trial' version, you have full functionality. So, all you should need to do is uninstall your license, rt-click the VM, select 'migrate', then select the datastore you want it on.

Regards,
~coolsport00
@ragnarock, to confirm I have BAREMETAL version NOT enterprise! :)
No...you can do it with vSphere Client. No need to modify anything. Review my steps above.

~coolsport00
ASKER CERTIFIED SOLUTION
Avatar of bgoering
bgoering
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@coolsport00

I did that and migrate isnt available, even restarted the vsphere client too.
@coolsport00 - although I have reverted to evaluation license in the past, I was mistaken earlier (in another thread) where I thought that was always an option. Apparently you can't do that (in 4.1 anyway) after the original trial period has expired...
@bgoering

I am told the VM must be powered off to v2v migrate when I attempt to use it.
when the 60 days has expired and the free esxi licence is in effect a lot doesn''t work

hmm K£y63n
@bggoering - yeah, I think it did work like that in the past? Gosh, I haven't tried it in so long...
Im going to go with this answer. But the VM will need to be powered down to complete this task, either way I was expecting to power the VM down any ways :)

Thanks!
it has to be powered off full stop
Just a note - if you install the converter on the vm to be moved, and select as your source "A running system" - you can migrate it while powered up just like a physical box