{"id":15772,"date":"2013-12-02T13:21:00","date_gmt":"2013-12-02T13:21:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=15772"},"modified":"2013-12-02T13:21:00","modified_gmt":"2013-12-02T13:21:00","slug":"kb2894032-clustered-vm-cannot-access-fiber-channel-lun-after-performing-live-migration-on-ws2012-hyper-v","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=15772","title":{"rendered":"KB2894032 \u2013 Clustered VM Cannot Access Fiber Channel LUN After Performing Live Migration on WS2012 Hyper-V"},"content":{"rendered":"<p>FYI, Windows Server 2012 R2 allows VMs to have virtual fiber channel adapters that use the bandwidth of the hosts\u2019 physical HBAs.&#160; This means that VMs can have their own WWN (actually 2 WWNs per virtual HBA) and connect to zoned LUNs on an FC SAN.&#160; This supports both Live Migration of those VMs, and the ability to use the FC LUNs as the shared storage of a guest cluster.<\/p>\n<p>The first phase of Live Migration (that first 3% of the progress bar) is when Hyper-V attempts to build up a VM\u2019s spec &amp; dependencies on a destination host.&#160; This includes connecting to any FC LUNs using the alternative WWN (hence 2 WWNs per virtual HBA).<\/p>\n<p>Microsoft released a <a href=\"support.microsoft.com\/kb\/2894032\/\" target=\"_blank\">hotfix<\/a> to deal with an issue on WS2012 Hyper-V where one of those FC enabled VMs loses connectivity to an FC LUN.<\/p>\n<blockquote>\n<p><strong><u>Symptoms<\/u><\/strong><\/p>\n<p>Consider the following scenarios:<\/p>\n<ul>\n<li>You have two Windows Server 2012-based computers that have the Hyper-V role installed. <\/li>\n<li>You install a virtual machine on one of the Windows Server 2012 Hyper-V hosts. <\/li>\n<li>You set up a guest failover cluster, and then you make the virtual machine a cluster node. <\/li>\n<li>The virtual machine is configured to access logical unit numbers (LUNs) over a Synthetic Fibre Channel. <\/li>\n<li>You try to perform live migration to move the virtual machine to another Hyper-V host.<\/li>\n<\/ul>\n<p>In this situation, the virtual machine on the target Hyper-V host cannot access the LUNs over the Synthetic Fibre Channel.&#160; <\/p>\n<p><strong><u>Cause<\/u><\/strong><\/p>\n<p>This issue occurs because the target Hyper-V host cannot restore the Synthetic Fibre Channel LUN on behalf of the virtual machine during live migration.<\/p>\n<p><strong><u>More Information<\/u><\/strong><\/p>\n<p>You might receive the following error event and warning event when this issue occurs:<\/p>\n<ul>\n<li>On the target Hyper-V host:\n<p>Error event:         <br \/>Hyper-V SynthFC-Admin ID 32214 with description like          <br \/>Failed to reserve LUN with Instance Path &#8216;\\?SCSI#VMLUN&amp;Ven_HP&amp;Prod_HSV360#5&amp;17efa605&amp;0&amp;070002#{6f416619-9f29-42a5-b20b-37e219ca02b0}&#8217; to virtual machine &#8216;WS2012-1&#8217; with error: The data is invalid. (0x8007000D). (Virtual machine ID C799C113-B153-4E49-B0C5-F9E24774EB9A)          <br \/>Hyper-V SynthFC-Admin ID 32216 with description like          <br \/>Failed to register LUN with Instance Path &#8216;\\?SCSI#VMLUN&amp;Ven_DGC&amp;Prod_RAID_5#5&amp;378d83c&amp;0&amp;080200#{6f416619-9f29-42a5-b20b-37e219ca02b0}&#8217; to virtual machine &#8216;SERVER2012R2-STD-64-1&#8217; with error: The data is invalid. (0x8007000D). (Virtual machine ID 86FA60B1-8B40-45C5-A88F-1F024BECA8F0)<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>On the virtual machine:\n<p>Warning Event:         <br \/>Microsoft-Windows-Ntfs ID 140          <br \/>The system failed to flush data to the transaction log. Corruption may occur in VolumeId: F:, DeviceName: DeviceHarddiskVolume82.          <br \/>(A device which does not exist was specified.)          <br \/>Event ID:50          <br \/>{Delaled Write Failed} Windows was unable to save all the data for the file. The data has been lost. This erorr may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.<\/p>\n<\/li>\n<\/ul>\n<\/blockquote>\n<p>A hotfix has been <a href=\"http:\/\/support.microsoft.com\/hotfix\/KBHotfix.aspx?kbnum=2894032\" target=\"_blank\">released<\/a> to fix this problem.<\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9550993e-2628-40b8-a4da-5afa194703a2\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012\" rel=\"tag\">Windows Server 2012<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Storage\" rel=\"tag\">Storage<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Failover+Clustering\" rel=\"tag\">Failover Clustering<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>FYI, Windows Server 2012 R2 allows VMs to have virtual fiber channel adapters that use the bandwidth of the hosts\u2019 physical HBAs.&#160; This means that VMs can have their own WWN (actually 2 WWNs per virtual HBA) and connect to zoned LUNs on an FC SAN.&#160; This supports both Live Migration of those VMs, and &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=15772\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;KB2894032 \u2013 Clustered VM Cannot Access Fiber Channel LUN After Performing Live Migration on WS2012 Hyper-V&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[63,181,99,195,118],"class_list":["post-15772","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-failover-clustering","tag-hyper-v","tag-storage","tag-virtualisation","tag-windows-server-2012"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/15772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15772"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/15772\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}