lock disk in NFS volme

I have a vm and unable to consolidate the disk.
This vm is in the NFS volume.
Ls -la shows as below
How do i find which esxi host or backup device lock the disk?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shiju JacobInfo Security ManagerCommented:
if you find the full path of the .lck file it would be located into the same vm name which is been used or started
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
do you have more than a single host using the NFS Export ?
sara2000Author Commented:
this lck files are in the folder of vm which has consolidation issue.
The storage is shared by more than one esxi hosts.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

sara2000Author Commented:
I am trying to consolidate the disk and was not able to do so.
The snap manager does not list the snapshots.
The vm folder has -0001.vmdk file.
When i issue ls-la
I see few .lck.******* files,
What this lack files? if they the lock files then how do i find the locking source?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay, another host or hosts has a lock on the file, and a process is still running.
Was the VM vmotioned recently? If so move it back to the original host and try to remove the snap shot again.
sara2000Author Commented:
I am trying to find which esxi host has lock,
HA and DRS were enabled . to vmotion to original host, I need to know the original host.
How do I find that ?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I would check for lock files on each host. In my experience the process is transfered to other hosts which has the local process attached.

do you know how to search for locked files.
sara2000Author Commented:
Do not know how to teach lock file in NFS data store.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.