Has anyone else run into this issue? VM backup fails with a "Status 13" or "Status 156" or "Status 40" - I have several hundred VMs and only a few end up in this state during a backup window. No snapshots show up in Snapshot Manager on the VMs that have this error. When consolidation is attempted VMware throws a "Unable to access file <unspecified filename> since it is locked" error.
The "fix" for us has been to run "services.sh restart" on the ESXi server - this unlocks the file - then manually consolidating the VM.
Sounds a lot like this issue: https://www-secure.symantec.com/connect/forums/problem-backup-virtual-machine-when-vm-convert-status-consolidate
Master: 188.8.131.52 on Solaris 10
Media: 184.108.40.206 on 5220 Appliances
All backup appplication that use the VADP api's have orphaned/zombie snapshot issues at some time. We started using VADP backups early on and have found the orphaned snapshot problem is getting a lot less,
The lessons we learnt was to:
We decided against automated deletion as it was too risky. If you can't consolidate the snapshots try cloning the guest, cloning forces consildation. We successfully have done this when there were a very large number (hundrerds) of snapsots for a box.
RVTOOLS is a good & free software for VMware reporting it will list other stuff like datastores and C: drives that are low of space etc if your software versions permit. Only requires a read-only VM account.
I run into this same thing occasionally. I do hotadd vm backups and sometimes the snapshots are still "hung-up" on the media server. I edit the media server vm and remove the "extra" disks....I can then run disk consolidation on the problem VM.
Seeing the same problem with a 5230 220.127.116.11 master/media (already present in 18.104.22.168) and VMware 5.5. I've already a case opened for a long time now, without any progress.
Please contact NetBackup support for a full investigation. These issues are solvable.
Also review late breaking news, there is a patch that is needed at 22.214.171.124 and 126.96.36.199 that may help.
Beyond that, look out for running too many backups/snapshot operations at the same time. I/O contention is the major cause of consolidation failures.
Other issues I have found are:
1. Running multiple backups of the same VM at the same time.
2. Backups are hanging.
There are some methods which you may also do to fix it from vmware end http://aikitsupport.com/snapshot-consolidation-needed-fails-lock-message/
Let me know if any further need to lookup
SOLVED: with Information from the Website
1. migration to other Datastore
2. retry Consolidate
We continue to suffer from this on a somewhat limited basis. The "fix" at our site has been refined a bit - instead of restarting "services.sh" we simply restart hostd with the /etc/init.d/hostd script. This allows us to consolidate the VM in question.
Our VMware team has expressed some interest lately in getting to the bottom of this, but for now we simply fix these manually when they crop up.