Link to home
Create AccountLog in
Avatar of NAZ1000
NAZ1000Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Connecting attached HyperV VHD to new VM

I have a 2016VM thats reached 50 checkpoints and Im unable to delete them - various errors. It has an attached VHD being used as a data drive. Plan on creating new VM and attaching the data drive VHD to it. When creating the VM and then attaching the data drive VHD I get the message that corruption may occur if the data drive VHD is already attached to another VM.

What would the best course of action be ?

Thank you.
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

are you attaching the disk with the snapshots ?
The warning is mainly meant that you shouldn't use the same VHD within more than one VM simultaneously. If you access one VHD at the same time, & both of them want to write to it, you can run into all sorts of problems.
ASKER CERTIFIED SOLUTION
Avatar of Member_2_231077
Member_2_231077

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of NAZ1000

ASKER

Both the VM and Data  HD have lots of checkpoints - im slowly merging all the ones in the main VM so i can get a decent version to export (exports fail with VHD file error when done from a checkpoint) - but reluctant to merge the data VHD AVHDX files in case i mess that up - so backing up the files manually first.

If I detach the data VHD and reattach to the new VM - I will still have a data VHD with lots of checkpoints ?
Avatar of Member_2_231077
Member_2_231077

The data virtual hard disk will be the same as before, it'll still have checkpoints. Thought it was just the OS VHD that had the problem.