Avatar of asrvwiz
asrvwiz
Flag 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.
VirtualizationVMware

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
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
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?
Russ Suter

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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
asrvwiz

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

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 PRO / EE Fellow/British Beekeeper)

do you want to close this out ?
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.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

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 ?
asrvwiz

ASKER
VMware fixed it.  It was from my third party vm doing the backups.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Yes, you need to check DAILY! that you have no snapshots!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
asrvwiz

ASKER
Cant wait to go to veeam!
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

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