{"id":160,"date":"2009-04-05T20:30:23","date_gmt":"2009-04-05T19:30:23","guid":{"rendered":"http:\/\/www.amikkelsen.com\/?p=160"},"modified":"2009-04-05T20:32:42","modified_gmt":"2009-04-05T19:32:42","slug":"error-encountered-trying-to-restore-cpu-state-from-file","status":"publish","type":"post","link":"https:\/\/www.amikkelsen.com\/?p=160","title":{"rendered":"Error encountered trying to restore cpu state from file&#8230;&#8230;"},"content":{"rendered":"<p>Today a one of my customers encountered an error when trying to revert to an snapshot.<br \/>\nThey recived the following error:<br \/>\n&#8220;error encountered trying to restore cpu state from file \/vmfs\/volumes\/&#8230;.\/xxxxx.vmsn&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"error encountered trying to restore cpu state from file \/vmfs\/volumes\/....\/xxxxx.vmsn\" src=\"http:\/\/www.amikkelsen.com\/images\/error_vmsn_01.jpg\" alt=\"\" width=\"416\" height=\"64\" \/><\/p>\n<p>After a bit of googleing if came up with the problem.<br \/>\nThe error occures when a VM with snapshots (taken when VM is PoweredOn) is migrated or moved to a host with another CPU stepping &#8211; and the VM is reverted to ine of theise snapshots.<\/p>\n<p>To correct the problem you have to complete the following steps:<\/p>\n<ul>\n<li>Revert to the snapshot you want to use.<\/li>\n<li>Make sure the VM is powered off.<\/li>\n<li>Edit the VM&#8217;s .vmx file and remove the line &#8220;checkpoint.vmstate&#8221;<\/li>\n<li>Power on the VM<\/li>\n<li>Delete the snapshot<\/li>\n<\/ul>\n<p>If you still want a snapshot of the VM in it&#8217;s current state<\/p>\n<ul>\n<li>Shutdown the VM<\/li>\n<li>When its powered off create a new snapshot<\/li>\n<li>Power on the VM again to start work with it<\/li>\n<\/ul>\n<p>This solution has to be applied to all VM&#8217;s with snapshots taken while the VM was powered on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today a one of my customers encountered an error when trying to revert to an snapshot. They recived the following error: &#8220;error encountered trying to restore cpu state from file \/vmfs\/volumes\/&#8230;.\/xxxxx.vmsn&#8221; After a bit of googleing if came up with the problem. The error occures when a VM with snapshots (taken when VM is PoweredOn)\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.amikkelsen.com\/?p=160\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89,90],"tags":[108,106,107,51,109],"class_list":["post-160","post","type-post","status-publish","format-standard","hentry","category-errors","category-troubleshooting","tag-cpu","tag-error","tag-restore","tag-snapshot","tag-state"],"_links":{"self":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=160"}],"version-history":[{"count":3,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions\/162"}],"wp:attachment":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}