{"id":29,"date":"2021-06-28T07:11:10","date_gmt":"2021-06-28T07:11:10","guid":{"rendered":"http:\/\/geekmungus.co.uk\/?p=29"},"modified":"2022-11-05T10:53:18","modified_gmt":"2022-11-05T10:53:18","slug":"cant-vmotion-powered-off-virtual-machine","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=29","title":{"rendered":"Can&#8217;t vMOTION Powered Off Virtual Machine"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I had an issue where I could not vMOTION a powered off Virtual Machine. This virtual machine was quite large 1.2TB in total of disks attached. The VM was powered off and needed to be moved to some archive storage all on VMFS. When attempting to move it would start moving and after around 50 minutes to an hour the move would stop with the following error within vCenter:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>\u201cOperation timed out\u201d<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Checking in the vpxd.log you&#8217;ll see something like:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Get exception while executing action vpx.vmprov.CopyVmFiles: N3Vim5Fault8Timedout9ExceptionE(Fault cause: vim.fault.Timedout--&gt; )<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The resolution is detailed in this VMware KB article <a href=\"https:\/\/kb.vmware.com\/s\/article\/79520\">https:\/\/kb.vmware.com\/s\/article\/79520<\/a> which involves making changes to the configuration of your vCenter, in my case I didn&#8217;t want to do this at the time. <br><br>Instead the article says that it affects Powered-Off virtual machines only, so I disconnected the NIC of the VM, powered it on, then attempted a move, it worked fine; once moved, power off the VM again. <br><br>The issue appears to be caused by VMware ESXi using the NFC copy method for powered off VMs, while a powered on VM uses a different method. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/unsplash.com\/@kowalikus\" data-type=\"URL\" data-id=\"https:\/\/unsplash.com\/@kowalikus\" target=\"_blank\" rel=\"noreferrer noopener\">Image Attribution<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had an issue where I could not vMOTION a powered off Virtual Machine. This virtual machine was quite large 1.2TB in total of disks attached. The VM was powered off and needed to be moved to some archive storage all on VMFS. When attempting to move it would start moving and after around 50 &#8230; <a title=\"Can&#8217;t vMOTION Powered Off Virtual Machine\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=29\" aria-label=\"Read more about Can&#8217;t vMOTION Powered Off Virtual Machine\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":138,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":1374,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions\/1374"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}