Unfortunately, I am so novice in using and managing Hyper-v
Recently , we faced a disconnection in our SAN link for a Hyper-v server and after reattaching the new drive letter was F:\
where
the old one was D:\ . Anyways, I've changed the default path for both
virtual machines and virtual hard drives in hyper-v settings. even
though the virtual machines did not work . Therefore, I've deleted them
all in hyper-v manager and recreated them each attached to its VHDX
file. all of them are working properly since , they do not have
snapshots . But one of them went wrong since it has 3 .avhdx files .
Then I've deleted the corresponding machine , and tried the following :
Note: fortunately, I've copied all the configuration , snapshots ,and virtual Hard drive files to a network shared folder
- merging them manually by using edit disk wizard did not work
- importing the machine from its original files keeps giving this error without starting up:
" Synthetic SCSI controller ( instance ID XXXXX ) Failed to power on with error 'The Chain of virtual hard disks is inaccessible . There was error opening virtual hard disk further up the chain. "
- after inspecting all the parents for each snapshot in the chain , they all go smooth ,but the VHDX gives this error:
Failed to get the disk information
failed to open attachment 'D\XXXXX.vhdx' Error: ' The device is not ready'
As I've noticed , that the last drive ( which is the base file spiceworks.vhdx) is giving the wrong path , even its path should be:
"F:\XXXXX.vhdx"
My question is there a powershell command ,a registry setting, or a third party to change this parent path to the right one.
Thanks so much.