Link to home
Start Free TrialLog in
Avatar of vmich
vmichFlag for United States of America

asked on

Cant delete disk from vmware vms

The datastores that the disk came from were deleted but the disk were not removed from the vms first. So now the disk still show on the vms but when trying to delete them, it gives an error about invalid configuration for device 0..

How can I remove these disk from the vms?
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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vmich

ASKER

So there are other disk on these vms but your saying once I remove them from inventoryI should be able to delete the disk references?
I guess this is the only way to get rid of these disk?
the disks have already gone, they do not exist ?

what's left are pointers in the VMX file (configuration), and when you try and edit them, the config is checked, and because the disks are gone, you get an error.

BECAUSE usually, one deletes the entire VM or Disks first before removing a DATASTORE!

You have to manually EDIT the VMX file.
Avatar of vmich

ASKER

I know someone deleted the datastore before I could delete the disk and I am very angry about that..
Avatar of vmich

ASKER

solved