I recently had a network issue causing an iSCSI LUN containing my Server 2012 R2 Hyper-V VHDX files to drop for a split second. Unfortunately for me, this was enough to cause the entire data drive VHDX file for my file server to become corrupt. The VM wouldn’t even start, giving the error: “The application encountered an error while attempting to change the state of ‘VMNAME’. ‘VMNAME’ failed to change state.” Additionally, if I tried to inspect the disk within Hyper-V Manager, it gave the error: “An error occurred when attempting to retrieve the virtual hard disk ‘F:Hyper-VVirtual Hard DisksVMNAMEdisk-1.vhdx’ on server HVSERVER.corp.local. Failed to get the disk information. An unexpected error occurred: The file or directory is corrupted and unreadable. (0x80070570).”
Everything I came across online in my feverish searching seemed to apply only to VHD files and older versions of Hyper-V. Nothing would read it. I then came across this article which dashed all of my hopes of recovering it: ://blog/s.msdn.com/b/virtual_pc_guy/archive/2009/01/07/how-do-i-fix-a-corrupted-virtual-hard-disk.aspx. Towards the bottom of it reads this line: “If Virtual PC / Virtual Server / Hyper-V report that the virtual hard disk is corrupt – then one of the header / footer sections has been corrupted – and there is nothing that you can do.”
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.