You can relocate a virtual machine's storage including the disks.
Procedure
- Determine the path to the virtual machine configuration file.
- Run svmotion by using the following syntax.
svmotion
--url=https://myvc.mycorp.com/sdk --datacenter=DC1
--vm="[storage1] myvm/myvm.vmx:new_datastore"
Note: The example is for Windows. Use single quotes on Linux.