Virtual machine disks consolidation needed, file is locked

asrvwiz
asrvwiz used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Russ SuterSenior Software Developer

Commented:
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

Author

Commented:
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?
Russ SuterSenior Software Developer

Commented:
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.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
I opened a case with vmware since the documentation is sketchy at best for this.  Thanks for you assistance Russ.
vmware-ticket.docx
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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 ?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
do you want to close this out ?

Author

Commented:
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.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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 ?

Author

Commented:
VMware fixed it.  It was from my third party vm doing the backups.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Yes, you need to check DAILY! that you have no snapshots!

Author

Commented:
Cant wait to go to veeam!
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
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!!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial