Link to home
Start Free TrialLog in
Avatar of asrvwiz
asrvwizFlag for United States of America

asked on

Virtual machine disks consolidation needed, file is locked

Virtual machine disks consolidation needed, file is locked.  I have shut down the vm and tried to consolidate.  I did a services.sh restart on the host.  I created a snapshot, deleted it and tried to consolidate.  Nothing has worked.  I have several vm's that now have this issue and I know it is from our third party backup solution that is causing it. (https://kb.vmware.com/s/article/57325?lang=en_US)    Does anyone have a solution to how to delete these files?   I have opened a case with our backup vendor to see what they can do to prevent this in the future.  Running vcenter appliance and esxi 6.5 update 2.
Avatar of Russ Suter
Russ Suter

It sounds like VMWare lock files are being created and left behind. What operating system is your host environment using? For Windows based VMWare hosts, you should be able to find and delete the lock files. I'm not certain about Linux environments. The following link might be of some help.

https://kb.vmware.com/s/article/2110152?CoveoV2.CoveoLightningApex.getInitializationData=1&r=4&other.KM_Utility.getArticleDetails=1&other.KM_Utility.getArticleMetadata=1&other.KM_Utility.getUrl=1&other.KM_Utility.getUser=1&other.KM_Utility.getAllTranslatedLanguages=1&ui-comm-runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1
Avatar of asrvwiz

ASKER

Russ,  Thanks for the comment.  I am not sure what this is?  -v 192.168.1.10  I am guessing the host the vm is on?
That's definitely an IP address but I'm not sure what it's supposed to point to. Unfortunately the documentation doesn't seem to clarify that point. I'm going with your guess on this.
ASKER CERTIFIED SOLUTION
Avatar of asrvwiz
asrvwiz
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
Okay, firstly have you checked that you have snapshots ?

please see my EE Article to check if you have snapshots

HOW TO: VMware Snapshots :- Be Patient

Do you use any THIRD Party backup products ?
Avatar of asrvwiz

ASKER

Andrew, NONE of the guests had snapshots, I checked.  We use Tivoli Storage Manager for Virtual Environments.  We have been wondering why we are backing up so much data, and now we know.  One of the servers only had one 100GB disk, it now has nine vmdk files.
how did you check for snapshots ? <---- did you read my EE Article ?

if you have a virtual machine with a single 100GB disk, and now it has nine VMDK files ? <------ Snapshots ????

can you screenshot and upload the screenshot here for Experts to review ?
Avatar of asrvwiz

ASKER

VMware fixed it.  It was from my third party vm doing the backups.
Yes, you need to check DAILY! that you have no snapshots!
Avatar of asrvwiz

ASKER

Cant wait to go to veeam!
It does not matter what technology you use, there are ALL the same!

and have been for 19 years!

Snapshots are EVIL!

I'm sorry you need to do more VMware Admin, and daily checks, write scripts, set alerts and emails etc...

MONITOR VM FOR SNAPSHOTS after BACKUPS!

Veeam is probably worse!!!