Solved

relocate virtual disk from one VM to another in AHV


Badge
Hi,

Is it possible to relocate one of the virtual disks from one VM to another VM inside the AHV?
If it's possible, will I be able to perform the task inside the Prism or need to use command line to perform?

Also, will I be able to reuse the MAC address from a deleted VM to a new VM via Prism?

Thank you,
icon

Best answer by sandeepmp 14 March 2018, 04:15

@dinoh
* Get VM UUID
acli vm.list
* Get VM disk uuid
acli vm.get vmuuid
From the output find the "vmdisk_uuid" based on the index
* Find the complete disk path
nfs_ls -liaR [Run from any cvm, which will list out disk full path under container]
* Add an image with this disk [to be on safer side], copy from ADFS path
* Add this disk to VM

View original

5 replies

Userlevel 2
Badge +16
what is your purpose of moving VM data vmdisk to other location?
Badge
I got 2 vmdisks, and want to move 2nd vmdisk (none OS system disk) to another VM, is this possible done by AHV?
Userlevel 4
Badge +19
@dinoh
* Get VM UUID
acli vm.list
* Get VM disk uuid
acli vm.get vmuuid
From the output find the "vmdisk_uuid" based on the index
* Find the complete disk path
nfs_ls -liaR [Run from any cvm, which will list out disk full path under container]
* Add an image with this disk [to be on safer side], copy from ADFS path
* Add this disk to VM
Badge
@sandeepmp Where do you find the ADFS path?
Userlevel 7
Badge +35
Were you able to get it to work @dinoh

Reply