I got into the snapshot manager window and pressed the "Delete All" button and after a few minutes a new error message appeared. So I logged into vCenter web client, connected to Data Protection appliance and re-runned the failed job for the outdated VMs. This may not solve my issue although it's exactly what is happening. P.S – Do share your views and comments, thanks in advance.
Next I found the host the guest was running on and using the hosts console restarted the Management Agents. Reply KpuCko on October 3, 2015 at 8:20 am Thanks for the post. Specifically:RemoveSnapshot failed, snapshotRef "snapshot-xxx", timeout "3600000"Unable to access file
Login to ESX / ESXi Server from ssh console to run the below command From the ESX/ESXi terminal: vmkfstools -i input output -d format -a adaptertype From the ESX/ESXi terminal: vmkfstools As a backup software was running there are a couple of snapshot files there but not all show up as the base disk is pretending to be locked so many broken This time: success! Restart The Management Agents On That Host So the backup solution of Netbackup was trying to backup a Virtual Machine.
In this case the snapshot which had been deleted, was left over from an automated backup snapshot which had not been removed by the backup solution once it had completed. Share this blog post on I used the second method (moving the vm to another datastore). Resources from VMware Use vmkfstools to clone disk: http://kb.vmware.com/kb/1028042 Hope these above methods will help you to resolve issue of Snapshot consolidation needed fails with a lock message. I wiped it out by right clicking the vmdk file on the datastore browsing window.
Unfortunately the job failed again! An Error Occurred While Consolidating Disks: Could Not Open/create Change Tracking File. SUBSCRIBE! Related PostsFind the ESXi that owns the VMDK lock or other file lock on a VMFS datastore Find the ESXi that owns the VMDK lock or other file lock on a Unfortunately this does not work always smoothly, as I would like to. One day I came across the "Unable to access file since it is locked" error.
Daco says: September 15, 2014 at 09:31 Hi, In my case vSphereDataProtection was holding the disk. However the consolidate operation may fail again, if the issue which caused the snapshot deletion operation to fail disk consolidation previously has not been cleared. It has been a good Unable To Access File Since It Is Locked Consolidate Then the backup was made. Disk Consolidation Needed - Unable To Access File Since It Is Locked It seemed that the backup job did not delete the backup snapshot, let's wipe it out manually.
Don’t have an account? navigate here All's well that ends well! Request unsuccessful. These issues also get into the picture when we have multiple snapshots for a single Virtual Machine – sometimes it does not get cleared during the snapshot deletion. Virtual Machine Disks Consolidation Is Needed No Snapshots
You will see a warning message on virtual machine summary Snapshot consolidation needed fails with a lock message Now your task is to clear this message for that you need to Get a IT Job - Windows Server 2012 Training Videos – Day to Day Task Windows Server 2016 Technical Preview Comparison Guide – Download PDF Archive Archive Select Month October 2016 After the successful datastore relocation the snapshots can be easily consilidated and the VM snapshot has just been fixed. Check This Out I restarted the VM to check that everything is ok.
Method – 3 (Good Option to fix – but you need extra space on datastore) For this option you need to power off you virtual machine and then we will clone Vmware Kb Investigating Virtual Machine File Locks On Esxi/esx Setting Microsoft SCCM Report on Local Printers Home Certifications Cisco CCNA Retro Bits Amstrad CPC Atari ST Reviews Scripts Active Directory Citrix XenApp Lotus Notes \ Domino Office365 PHP SQL VMware The base disk was simply still connected to the backup proxy VM, and for that reason the base disk was locked aka the snapshot could not be consolidated (as the base
Yes, when my Veeam was a VM appliance mode system I could go to this server and see disks mounted from the VMs being backed up but not any more. A little history: As I was testing a third party solution of "Brand X", this error occured. add the virtual disks back to the VM 5. Detected An Invalid Snapshot Configuration Related Posted by Nikos Chrissostomidis in Troubleshooting Tagged: vCenter, VMware, vmware data protection, VMware vSphere Post navigation ← Upgrade VMware's vSphere Data Protection Appliance6.0 VMware Annual Event 2015 at Athens,Greece →
opvizor provides a solution called Snapwatcher that can be downloaded on the opvizor website here at http://try.opvizor.com/snapwatcher/ opvizor owns ten different rules for detecting different VM snapshot-related errors and problems. The only 100% solution was to restore from my Veeam backup but I can't do this easily on every server especially DB servers under frequent changes. My internet searches were not fruitful. http://webinweb.net/unable-to/vmware-unable-to-access-file-because-it-is-locked.html This might happen under the hood but it doesn't work the same way when it is a physical server.
When checking the VM and creating new snapshots, all works well. ok, I said. But bugs come typically with weird situations. Note: We could not see the snapshots in the snapshot manager.
Related Posts After resetting a local profile on Windows Vista or 7 the user is always logged on with a temporary profile August 29, 2010 Windows has detected that Offline Caching A VMware-level snapshot was made; the base disk was hot-added to the VM that handles the backup. Conclusion Definitely a VMware vSphere bug that can end up nasty when you don´t have any space left on a datastore to move the VM to get the file unlocked and But the investigation is before the fix, so let´s start with that first.
Otherwise you will get an Error message as below Snapshot consolidation needed fails with a lock message Ok Now – we will move into the options which we can do to remove virtual disks temporarily (which removes the lock I assume) 3. Subscribe To Our NewsletterJoin our mailing list to receive the latest news and updates from our team.