Link to home
Create AccountLog in
Avatar of rburney
rburney

asked on

vm wont start becuase of snapshot files

I have a vm that i was needing to move to a different datastore. After the move was completed i edited the settings of the vm and removed the Hard Disk and added a new one selecting the new copied version. I did not look, which i now know i should have, if there were snapshots involved. So when i try to add the snapshot to the existing vm or create new one with the snapshot disk i get an error. The attached file "disk add error" show's the error message.

 
Error Message: An internal error occurred in the vSphere Client. Details: Object reference not set to an instance of an object.

 
I need to add the vm back with the snapshot or commit the changes to the parent disk via command line.
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

firstly, please see my EE Article

HOW TO: VMware Snapshots :- Be Patient

can you screenshot the datastore.

the following command when used can create a new virtual disk file, based on the snapshots and parent disk, if the snapshot chain is complete.

vmkfstools -i <most recent snapshot file name> /vmfs/volumes/<temp folder name>/<newfilename.vmdk>
Avatar of rburney
rburney

ASKER

here is the screenshot.
vmware-datastore.png
Avatar of rburney

ASKER

when i ran the above command i got the following message.

DiskLib_Check() failed for source disk The system cannot find the file specified (25).

So it looks like the chain is not complete. I know there is documentation somewhere on the internet on how to verify this chain and fix it but i cant find it. Any help on this one?
ASKER CERTIFIED SOLUTION
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

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account