VMware Cloud Community
cykeak
Enthusiast
Enthusiast

VCENTER 6.7 : Snapshot on VM : too many files : consolidate failed

Hello,

I can't consolidate the snapshots.
"Because the files are locked".

What happen ?

How to fix it ?

Regards,

M. Kerrec

Reply
0 Kudos
13 Replies
Nawals
Expert
Expert

check with following command to find which host locked the vm. By MAC address you can know which host locked.

vmkfstools -D /vmfs/[path_to_the_file]

vmfsfilelockinfo -p /vmfs/[path_to_file]

Ref Article  VMware Knowledge Base

NKS Please Mark Helpful/correct if my answer resolve your query.
Reply
0 Kudos
continuum
Immortal
Immortal

We know how to fix consolidation problems, locked files and cases where more snapshots than allowed are created.

But to start with any of those roads we need more input ,,,

logs would help, error messages ....  file-lists ...


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
a_p_
Leadership
Leadership

To find out more about what may be causing this message, please run ls -lisa > filelist.txt from the ESXi host's command line to list the files in the VM's folder. Then download filelist.txt from the datastore, and attach it to your next reply.

André

Reply
0 Kudos
cykeak
Enthusiast
Enthusiast

Hello,

Why give you the list of files for the VM where the snapshots files are a lot and the consolidation is failed ?

Is there any VMWARE KB that explain step by step how to fix the issue ?

Regards,

Reply
0 Kudos
cykeak
Enthusiast
Enthusiast

The command :

vmfsfilelockinfo -p /vmfs/volumes/iscsi-lefthand-2/VM1/VM1_1-000001-delta.vmdk -v 192.168.1.10 -u administrator@vsphere.local

is running well.

But next step ?

Reply
0 Kudos
cykeak
Enthusiast
Enthusiast

I just find the "  **flat.vmdk" file with the command vmfsfilelockinfo

but how to fix the issue ?

Reply
0 Kudos
Nawals
Expert
Expert

Share output of vmfsfilelockinfo

NKS Please Mark Helpful/correct if my answer resolve your query.
Reply
0 Kudos
a_p_
Leadership
Leadership

Why give you the list of files for the VM where the snapshots files are a lot and the consolidation is failed ?

Is there any VMWARE KB that explain step by step how to fix the issue ?

There are several KB articles, and blog posts available that deal with fixing snapshot issues, but it's important to find out the exact issue prior to be able to recommend a solution.

Especially VMs with multiple snapshots need to be treated carefully to avoid possible data loss.

Btw. the file list - if you are willing to provide it - will only be the first step to get an overview.


André

Reply
0 Kudos
cykeak
Enthusiast
Enthusiast

Hello,

The issue seems to be on the VERITAS SUPPORT side.
In fact, Backup Exec create many snapshot files inside VMware filesystem

I 'll come back asap.

Regards,

Reply
0 Kudos
cykeak
Enthusiast
Enthusiast

Inside Veritas BackupExec 20.6 :

BackupExec menu :
« Configuration And Settings »
« Backup Exec Settings »
« Virtual Machine »

>> Click on "Use the standard processing method

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

Is that the solution?


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
cykeak
Enthusiast
Enthusiast

About Veritas BackupExec : the proposal come from the Veritas Support; and I plan to run it this week, first.

About Vmware : I plan to run this KB this week too, second : 

https://kb.vmware.com/s/article/10051

Reply
0 Kudos