Hello.
I have an ESX 3 server that I have added more local storage to as well as space via NFS to a spedy linux server (GB Enet attached). I would like to move several VMDK files from the primary storage to the newwer storage that has more capacity as well as to the NFS storage. The VMS I am putting on NFS are app servers and do not write alot to local disk (did some testing and it works fine).
How do I copy/Move the VMDK files? I am planning on leaving the VM definitions in same place.
Thanks.
Hi,
I'm sometimes a bit "old skool" as I like using a bash script for that which works fine if all your hosts can see the same storage.
Here's a link to the script I use. Script for moving a VM to another storage
Nothing fancy, but it works, also on the 3.0.x version, not only for a ESX 3.5.
It will move the VM to the other storage, but keeps it registered on the same host.
You still have to manually unregister it on Host A) and then register it again on Host B)
--
Wil
Hey
Welcome to the forums.
If you dont mind downtime, then the easiest way is to just power off the vm.
Right click the vm and select migrate. Through the wizard you can move the vm configuration files.
If you cant afford downtime, then you can download the Remote CLI or use powershell to initiate a storage vmotion.
Providing you have all of the ESX pre-reqs configured.
~y
Thanks for the tip and speedy response, but I do not have the option to Migrate when I rt-click on a powered down VM. I tried on my 3.02 and 3.5 servers.
-Lou
Hi,
I'm sometimes a bit "old skool" as I like using a bash script for that which works fine if all your hosts can see the same storage.
Here's a link to the script I use. Script for moving a VM to another storage
Nothing fancy, but it works, also on the 3.0.x version, not only for a ESX 3.5.
It will move the VM to the other storage, but keeps it registered on the same host.
You still have to manually unregister it on Host A) and then register it again on Host B)
--
Wil
Storage Vmotion is a 3.5 feature not 3.0.x.
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
Tom Howarth
VMware Communities User Moderator
Nice,
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
Tom Howarth
VMware Communities User Moderator
THanks so muchB-) . I will definitely use this.
Lou