{"id":1534,"date":"2021-11-17T11:08:25","date_gmt":"2021-11-17T11:08:25","guid":{"rendered":"https:\/\/arzhost.com\/blogs\/?p=1534"},"modified":"2025-08-25T14:11:36","modified_gmt":"2025-08-25T09:11:36","slug":"unable-to-access-file-since-it-is-locked-consolidate","status":"publish","type":"post","link":"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/","title":{"rendered":"Unable to Access File Since It Is Locked: How to Consolidate"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Introduction_Consolidation_in_VMWare_and_Its_Issues\" >Introduction: Consolidation in VMWare and Its Issues<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#What_is_VMWare_Error\" >What is VMWare Error<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Take_Your_WordPress_Site_to_New_Heights%E2%80%94Sign_Up_and_Save_Big\" >Take Your WordPress Site to New Heights\u2014Sign Up and Save Big!<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#VMware_Snapshot_Consolidation_screw-up\" >VMware Snapshot Consolidation screw-up:&nbsp;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Unable_to_get_to_a_record_since_it_is_locked\" >Unable to get to a record since it is locked?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#The_log_will_contain_errors_like\" >The log will contain errors like:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Seamless_Remote_Access%E2%80%94Get_Amazing_Offers_on_RDP_Hosting_Today\" >Seamless Remote Access\u2014Get Amazing Offers on RDP Hosting Today!<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#People_Frequently_Ask\" >People Frequently Ask<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Question_1_Has_the_user_been_unable_to_access_the_file_since_it_is_locked\" >Question # 1: Has the user been unable to access the file since it is locked?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Question_2_How_do_I_manually_consolidate_virtual_machines\" >Question # 2: How do I manually consolidate virtual machines?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Question_3_How_do_I_release_a_locked_file_in_VMware\" >Question # 3: How do I release a locked file in VMware?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Question_4_How_do_I_unlock_a_VMware_virtual_machine\" >Question # 4: How do I unlock a VMware virtual machine?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/arzhost.com\/blogs\/unable-to-access-file-since-it-is-locked-consolidate\/#Question_5_What_isLCK_file_in_VMware\" >Question # 5: What is.LCK file in VMware?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Introduction_Consolidation_in_VMWare_and_Its_Issues\"><\/span>Introduction: Consolidation in VMWare and Its Issues<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Consistently while destroying reviews or cementing circles of virtual machines running on VMWare ESXi has. I see the &#8220;Unsuitable to get to a record since it is locked&#8221; error. This consistent issue is related to errors in <a href=\"https:\/\/en.wikipedia.org\/wiki\/Virtual_machine\" target=\"_blank\" rel=\"noopener\"><strong>VM<\/strong><\/a> support programming (I ran over the issue in Veeam, HPE\/Micro Focus Data Protector, and Veritas.) How to Consolidate Unable to Access File Since It Is Locked.<\/p>\n\n\n\n<p>If the review of the virtual plate is locked. \u201cUnable to Access File Since It Is Locked Consolidate\u201d, you won&#8217;t have the choice to harden circles (when you see the goof &#8216;Virtual machine circles association is required). Move a circle to one more data store using Storage vMotion to back up a VM or delete the current portrayal.<\/p>\n\n\n\n<p>Sometimes you can&#8217;t turn on a locked virtual machine. \u201cUnable to Access File Since It Is Locked Consolidate\u201d Removing portrayals or consolidating plates of the virtual machines often triggers the &#8220;Inadequate to get to an archive since it is locked&#8221;. Error on VMWare ESXi has. As a piece of our Server Running Services.<\/p>\n\n\n\n<p>Around here at <a href=\"https:\/\/arzhost.com\/\"><strong>ARZ Host<\/strong><\/a>, \u201cUnable to Access File Since It Is Locked Consolidate\u201d we help our Customers with fixing VMWare-related mistakes reliably. Permit us today to discuss the expected causes and fixes for this error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_VMWare_Error\"><\/span><strong>What is VMWare Error<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>While removing a review or consolidating plates of virtual machines running on VMWare ESXi has. It regularly triggers the misstep message &#8220;Inadequate to get to a record since it is locked&#8221;.<\/p>\n\n\n\n<p><u>\u201c<span style=\"color: #000000;\"><strong>Unable to Access File Since It Is Locked Consolidate<\/strong><\/span>\u201d A typical misstep message may look like this: <\/u><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ill-suited to get to the record since it is locked.<\/li>\n\n\n\n<li>An error occurred while setting plates: no less than one circle is involved.<\/li>\n<\/ul>\n\n\n\n<p><strong><u>Ordinary clarifications behind this error include: <\/u><\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The virtual machine contains a couple of records with names showing that they are being utilized by other ESXi has.<\/li>\n\n\n\n<li>The maintenance meeting bombs right after adding virtual plates to the maintenance mechanical assembly.<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-aaa58f13 wp-block-button uag-blocks-common-selector\" style=\"--z-index-desktop:479;;--z-index-tablet:undefined;;--z-index-mobile:undefined;\"><div class=\"uagb-cta__wrap\"><h2 class=\"uagb-cta__title\"><span class=\"ez-toc-section\" id=\"Take_Your_WordPress_Site_to_New_Heights%E2%80%94Sign_Up_and_Save_Big\"><\/span><a href=\"https:\/\/arzhost.com\/wordpress-hosting\/\" data-type=\"link\" data-id=\"https:\/\/arzhost.com\/wordpress-hosting\/\">Take Your WordPress Site to New Heights\u2014Sign Up and Save Big!<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2><p class=\"uagb-cta__desc\">Optimized for WordPress\u2014Get Your Hosting Plan at just <strong>$0.99\/month!<\/strong><\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/arzhost.com\/wordpress-hosting\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_self\" rel=\"noopener noreferrer\">Read More<\/a><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"VMware_Snapshot_Consolidation_screw-up\"><\/span><strong>VMware Snapshot Consolidation screw-up:&nbsp;<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Directly following removing representations on a VM either by deleting a particular review or picking &#8220;Delete All&#8221; sneak peeks. You may see the going with reprobation for the VM. \u201cUnable to Access File Since It Is Locked Consolidate\u201d, communicating that plate mix is required.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"536\" title=\"VMware snapshot consolidation screw up\" src=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/VMware-snapshot-consolidation-screw-up-1024x536.jpg\" alt=\"VMware snapshot consolidation screw up\" class=\"wp-image-12239\" srcset=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/VMware-snapshot-consolidation-screw-up-1024x536.jpg 1024w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/VMware-snapshot-consolidation-screw-up-300x157.jpg 300w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/VMware-snapshot-consolidation-screw-up-768x402.jpg 768w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/VMware-snapshot-consolidation-screw-up.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">VMware snapshot consolidation screw up<\/figcaption><\/figure><\/div>\n\n\n<p><strong>&#8220;Virtual machine plates mix is required&#8221; <\/strong><\/p>\n\n\n\n<p>This can happen when a see has been eradicated from the web console yet the principal circle reports in the VM coordinator exist. This issue can routinely happen when a virtual machine support course of action makes a lock on a VMDK and fails to adequately convey it.<\/p>\n\n\n\n<p>You can have a go at joining the Virtual Machine plate archives from Consolidate decision under Snapshot Menu. Exactly when I started the Consolidate communication. It got back with an Unable to get to the record since it is locked screw up. See our <strong>Step-by-Step <\/strong><a href=\"https:\/\/arzhost.com\/blogs\/virtual-machine-consolidation\/\"><strong>Guide to Virtual Machine Consolidation<\/strong><\/a>.<\/p>\n\n\n\n<p><strong><u>During this stage \u2013<\/u><\/strong> SSH into the ESXi have and on the off chance that you don&#8217;t realize which circle might be secured you can follow it from the hostd.log report (tail &#8211; f\/var\/log\/hostd.log)<\/p>\n\n\n\n<p>\u201cUnable to Access File Since It Is Locked Consolidate\u201d, Then again you can run the under request against all the virtual machine circle records.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>vmkfstools - D\/vmfs\/volumes\/your volume\/your\/yourlockedVM.vmdk<\/code><\/li>\n<\/ul>\n\n\n\n<p>Directly following running the request we could see a single area for &#8220;RO Owner&#8221; which had the lock and the MAC address of the ESXi which has the lock on the VMDK record.<\/p>\n\n\n\n<p>\u201cUnable to Access File Since It Is Locked Consolidate\u201d, the Ensuing stage is to notice the ESXi have in your gathering which is holding up the virtual machine plate.<\/p>\n\n\n\n<p>At the point when we attest the ESXi have we can place the host in upkeep mode, DRS will vMotion all VMs to another host in the pack and restart the host organization on the host using the underneath request.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\/, etc\/init.d\/hostd restart<\/code><\/li>\n<\/ul>\n\n\n\n<p>\u201cUnable to Access File Since It Is Locked Consolidate\u201d, Once the hosted organization has been restarted play out a Snapshot &#8211; &gt; Consolidate on the VM and it should complete adequately.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Unable_to_get_to_a_record_since_it_is_locked\"><\/span><strong>Unable to get to a record since it is locked?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"536\" title=\"unable to get to a record since it is locked\" src=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/unable-to-get-to-a-record-since-it-is-locked-1024x536.jpg\" alt=\"unable to get to a record since it is locked\" class=\"wp-image-12240\" srcset=\"https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/unable-to-get-to-a-record-since-it-is-locked-1024x536.jpg 1024w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/unable-to-get-to-a-record-since-it-is-locked-300x157.jpg 300w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/unable-to-get-to-a-record-since-it-is-locked-768x402.jpg 768w, https:\/\/arzhost.com\/blogs\/wp-content\/uploads\/2025\/08\/unable-to-get-to-a-record-since-it-is-locked.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">unable to get to a record since it is locked<\/figcaption><\/figure><\/div>\n\n\n<p>To fix this mistake, we truly need to track down the wellspring of a lock and transport it. For this, \u201cUnable to Access File Since It Is Locked Consolidate\u201d, the fundamental development is to perceive the locked records.<\/p>\n\n\n\n<p><strong>1:<\/strong> In any case, using an SSH client, partner with the ESXi for the issue VM.<\/p>\n\n\n\n<p><strong>2:<\/strong> By and by, go to the list with the virtual machine records:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>collection\/vmfs\/volumes\/VMFS_DATASTORE_NAME\/LOCKED_VM<\/code><\/li>\n<\/ul>\n\n\n\n<p><strong>3:<\/strong> Quest for hardening and record getting errors vmware.log:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>cat vmware.log | grep lock<\/code><\/li>\n<\/ul>\n\n\n\n<p><strong>Related Article: <a href=\"https:\/\/arzhost.com\/blogs\/install-windows-11-on-vmware-virtual-machine\/\">Install Windows 11 on VMware Virtual Machine<\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_log_will_contain_errors_like\"><\/span><strong><u>The log will contain errors like: <\/u><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>VigorSnapshotManagerConsolidateCallback: snapshot Err = Failed to lock the record (5:4008)<\/code><\/li>\n\n\n\n<li><code>2020-09-09T05:07:11.432Z| vmx| I125: DISK: Cannot open circle \"\/vmfs\/volumes\/5121c3ff-2303a3a-33bb-12345678221\/mun-web01\/mun-web01_1-000002.vmdk\": Failed to lock the record (16392).<\/code><\/li>\n\n\n\n<li><code>2020-09-09T05:07:11.432Z| Worker#1| I125: DISKLIB-LIB: Failed to open '\/vmfs\/volumes\/5121c3ff-2303a3a-33bb-12345678221\/mun-web01\/mun-web01-000002.vmdk' with standards 0xa Failed to lock the record (16392).<\/code><\/li>\n\n\n\n<li><code>2020-09-09T05:07:11.432Z| Worker#1| I125: DISK: Cannot open plate \"\/vmfs\/volumes\/5121c3ff-2303a3a-33bb-12345678221\/mun-web01\/mun-web01-000002.vmdk\": Failed to lock the record (16392).<\/code><\/li>\n<\/ul>\n\n\n\n<p><strong>4:<\/strong> 2020-09-09T05:07:11.432Z| vmx| I125: [msg. fileio. lock] Failed to lock the report<\/p>\n\n\n\n<p><strong>5:<\/strong> Here, the report mun-web01_1-000002.vmdk is locked. \u201cUnable to Access File Since It Is Locked Consolidate\u201d Use the request under to show the current portrayal chain starting with the foreordained one to a level circle:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>vmkfstools - qv10 mun-web01_1-000002.vmdk<\/code><\/li>\n\n\n\n<li><code>Then, get the information about the review and its owner (RO owner):<\/code><\/li>\n\n\n\n<li><code>vmkfstools - D mun-web01-000001-delta. vmdk<\/code><\/li>\n\n\n\n<li><code>Lock [type 10c000021 offset 242835456 v 856, hb offset 3153920<\/code><\/li>\n\n\n\n<li><code>gen 3, mode 1, owner 5cbac61a-4b6e32b7-0480-d06726ae7900 mtime 5199410<\/code><\/li>\n\n\n\n<li><code>num 0 gblnum 0 gblgen 0 gblbrk 0]<\/code><\/li>\n\n\n\n<li><code>RO Owner [0] HB Offset 3153920 5cbac61a-4b6e32b7-0480-d06726ae7900<\/code><\/li>\n<\/ul>\n\n\n\n<p><strong>6:<\/strong> Add &lt;4, 532, 83&gt;, gen 859, joins 1, type reg, standards 0, uid 0, gid 0, mode 600<\/p>\n\n\n\n<p>The RO Owner line shows the MAC address of the ESXi network connector that locked the review report. \u201cUnable to Access File Since It Is Locked Consolidate\u201d Moreover, note the Mode regard:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>mode 1 \u2013 a read\/make lock (for example, of a turned-on VM)<\/code><\/li>\n\n\n\n<li><code>mode 2 \u2013 virtual circle locked by the support application.<\/code><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-af73b687 wp-block-button uag-blocks-common-selector\" style=\"--z-index-desktop:479;;--z-index-tablet:undefined;;--z-index-mobile:undefined;\"><div class=\"uagb-cta__wrap\"><h2 class=\"uagb-cta__title\"><span class=\"ez-toc-section\" id=\"Seamless_Remote_Access%E2%80%94Get_Amazing_Offers_on_RDP_Hosting_Today\"><\/span><a href=\"https:\/\/arzhost.com\/rdps\/\" data-type=\"link\" data-id=\"https:\/\/arzhost.com\/rdps\/\">Seamless Remote Access\u2014Get Amazing Offers on RDP Hosting Today!<\/a><span class=\"ez-toc-section-end\"><\/span><\/h2><p class=\"uagb-cta__desc\">Secure &amp; Fast Window VPS by <strong><a href=\"https:\/\/arzhost.com\/\" data-type=\"link\" data-id=\"https:\/\/arzhost.com\/\">ARZ Host<\/a><\/strong>\u2013 Start for Just $18\/month with Our Limited-Time Offer!<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/arzhost.com\/rdps\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_self\" rel=\"noopener noreferrer\">Read More<\/a><\/div><\/div>\n\n\n\n<p>As of now, to find an ESXi server from the MAC address obtained. \u201cUnable to Access File Since It Is Locked Consolidate\u201d we can use the going with Powerlift orders:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Import-Module VMware.VimAutomation. Core &#8211; Error Action Silently Continue<\/li>\n\n\n\n<li>partner server mun-center<\/li>\n\n\n\n<li>Get-Vmhosts | Get-VMHostNetworkAdapter | Where-Object {$_. Mac-like &#8220;d0:67:26:ae: 79:00&#8221;} | Format-List &#8211; Property *<\/li>\n<\/ul>\n\n\n\n<p>\u201cUnable to Access File Since It Is Locked Consolidate\u201d will show the ESXi hostname in the Vmhosts field. Further, we can show the ARP table clearly from the ESXi have and get IP and MAC areas of any leftover ESXi servers in the Kernel association:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>excel network IP neighbor list<\/code><\/li>\n<\/ul>\n\n\n\n<p>To open a VM report, just restart the ESXi we found. In case we can&#8217;t restart the host, we can restart the Management Agent (hosted) in the Maintenance Mode from the host&#8217;s SSH console:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>sh restart<\/code><\/li>\n<\/ul>\n\n\n\n<p>Then, the \u201cUnable to Access File Since It Is Locked Consolidate\u201d effort to join plates or delete a VM picture again. VirtualBox Extension Pack Failed to Install? <a href=\"https:\/\/arzhost.com\/blogs\/virtualbox-extension-pack-failed-to-install\/\"><strong>Click here to fix it<\/strong><\/a><a href=\"https:\/\/arzhost.com\/blogs\/virtualbox-extension-pack-failed-to-install\/\" target=\"_blank\" rel=\"noopener\"><strong>!<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this way, restarting the ESXi host or Management Agent can help with fixing this. &#8220;Unable to get to a record since it is locked&#8221; error. Today, \u201cUnable to Access File Since It Is Locked Consolidate\u201d. We saw how our Hosting Expert Planners fixed this error.<\/p>\n\n\n\n<p>For More articles like this, Visit our <a href=\"https:\/\/arzhost.com\/blogs\/\"><strong>Blog at ARZ Host<\/strong><\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"People_Frequently_Ask\"><\/span><strong>People Frequently Ask<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Question_1_Has_the_user_been_unable_to_access_the_file_since_it_is_locked\"><\/span><strong>Question # 1: Has the user been unable to access the file since it is locked?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Answer: Most often the \u201cUnable to access file since it is locked\u201d error appears when:&nbsp;Some files of a powered-on virtual machine contain tags indicating that they are locked by other&nbsp;ESXi hosts; When virtual disks are added to the backup appliance and the backup session fails.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Question_2_How_do_I_manually_consolidate_virtual_machines\"><\/span><strong>Question # 2: How do I manually consolidate virtual machines?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Answer: Right-click any of the virtual machines and click Snapshot Manager\/Manage snapshots, it would show &#8220;Needs Consolidation\/Delete Snapshots&#8221;. Note: A Configuration Issue warning is also displayed in the Summary tab of the virtual machine indicating that virtual machine disk consolidation is needed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Question_3_How_do_I_release_a_locked_file_in_VMware\"><\/span><strong>Question # 3: How do I release a locked file in VMware?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Answer: To delete the .lck-xxxx file:<\/p>\n\n\n\n<p>Ensure the virtual machine is powered off<\/p>\n\n\n\n<p>Connect to the ESXi\/ESX host using Secure Shell (SSH)<\/p>\n\n\n\n<p>Go to the virtual machine folder, run the command<\/p>\n\n\n\n<p>List all files including the hidden files, and run the command<\/p>\n\n\n\n<p>Remove the lock file, run the command<\/p>\n\n\n\n<p>Power on the virtual machine<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Question_4_How_do_I_unlock_a_VMware_virtual_machine\"><\/span><strong>Question # 4: How do I unlock a VMware virtual machine?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Answer: On a physical computer using the VMware View access, if the screen says \u201cPress CTRL + ALT + DELETE to unlock this computer,\u201d and the virtual desktop toolbar is visible at the top of the screen, click \u201cSend Ctrl-Alt-Delete\u201d on the virtual desktop toolbar instead of pressing those keys.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Question_5_What_isLCK_file_in_VMware\"><\/span><strong>Question # 5: What is.LCK file in VMware?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Answer: The lck-xxx file located in the virtual machine folder holds a lock on the vmdk file. When an ESXi\/ESX host accesses a virtual machine disk file on an NFS-based datastore a . lck-xxx lock file is generated in the same directory as the disk file. This file prevents other ESXi\/ESX hosts from accessing the virtual disk file.<\/p>\n\n\n\n<p><strong>Latest Posts:<\/strong><\/p>\n\n\n<ul class=\"wp-block-latest-posts__list wp-block-latest-posts\"><li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/how-to-fix-403-forbidden-error-wordpress\/\">How To Fix 403 Forbidden Error WordPress<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/how-to-get-the-most-out-of-claude-ai\/\">How To Get The Most Out Of Claude Ai<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/bad-gateway-error-502-the-ultimate-guide-to-quick-fixes\/\">Bad Gateway Error (502): The Ultimate Guide to Quick Fixes<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/a-deep-dive-into-todays-best-linux-distros\/\">A Deep Dive Into Today\u2019s Best Linux Distros<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/domain-investor-terms-powerful-strategy\/\">Domain Investor Terms: Expert Insight on Powerful Strategy<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Introduction: Consolidation in VMWare and Its Issues Consistently while destroying reviews or cementing circles of virtual machines running on VMWare ESXi has. I see the &#8220;Unsuitable to get to a record since it is locked&#8221; error. This consistent issue is related to errors in VM support programming (I ran over the issue in Veeam, HPE\/Micro [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7167,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,25,14,26,16],"tags":[],"table_tags":[],"class_list":["post-1534","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting","category-knowledge","category-news","category-server","category-tutorial"],"_links":{"self":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/1534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/comments?post=1534"}],"version-history":[{"count":6,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/1534\/revisions"}],"predecessor-version":[{"id":12242,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/1534\/revisions\/12242"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media\/7167"}],"wp:attachment":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media?parent=1534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/categories?post=1534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/tags?post=1534"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/table_tags?post=1534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}