Link to home
Start Free TrialLog in
Avatar of plug1
plug1Flag for United Kingdom of Great Britain and Northern Ireland

asked on

How do i verify which VDMK files are not in use for deletion on VMware esxi 4.1?

Over the christmas holidays I reconfigured a VM and removed to virtual hard disks from it. At the time I didnt completely delete them from the SAN in case I needed them. I now definaqtely don t need them and want to delete the files from the array to reclaim the disk space. Problem I have is I think I know which files it is but I dont want to delete them unitl I've verified that they are not being used by the VM.

How do I go about this?
Avatar of coolsport00
coolsport00
Flag of United States of America image

Well, typically, the virtual disk you created is associated with the VM. So, though you removed it from the VM, it is still going to be in the VM's folder. If you recall the size of the virtual disk (.vmdk) you removed, just look inside the VM folder on the datastore the VM is on and delete the .vmdk. Typically, if a .vmdk is in use by a VM, you're not able to delete it (you'll get an error).

Hope that helps.

Regards,
~coolsport00
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
check inside the VMX file which VMDKs for certain you are using.
ASKER CERTIFIED SOLUTION
Avatar of bgoering
bgoering
Flag of United States of America 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 plug1

ASKER

Cheers mate!