Link to home
Start Free TrialLog in
Avatar of townsma
townsmaFlag for Indonesia

asked on

ESXi files locked and Snapshot corrupt. How to fix it?

On our ESXi server, we have a problem that two of the files are on one volume and the remainder on another.  I am unable to copy them all to a single volume as they report as being locked when I try.

I have tried restarting the host, and the files are still locked. I am guessing it is a flag somewhere rather than a usual file lock where a restart would clear the locks.

I am not an expert with VMWare, although I have been using it for several years.  I have always managed to do everything I need via the GUI.  But this time, I cannot move forwards or backwards.  Can anyone suggest a way to unlock these files?  

Many thanks
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

Usually all file locks are released when the host has been restarted.

Moving virtual machines around with snapshots attached, could potentially corrupt the VM, also a VM running on a snapshot disk, most certainly will cause performance problems.

I would merge (delete) the snapshots with the parent disk before moving virtual machines.

Can you screenshot the VM folders, for me to have a look at the files.
ASKER CERTIFIED SOLUTION
Avatar of townsma
townsma
Flag of Indonesia 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
Not sure, what is going on here, cannot comment, without further information.
Avatar of townsma

ASKER

Many thanks for you input.  The VM is functioning normally again.  I do not know why, I am just happy that it is.  I took the steps described above, and it worked.

Thanks again for your assistance.
Avatar of townsma

ASKER

I found the solution alone, and the advice given whilst good, was not relevant.