{"id":1116,"date":"2012-09-27T11:00:21","date_gmt":"2012-09-27T10:00:21","guid":{"rendered":"http:\/\/stevenwhiting.com\/blog\/?p=1116"},"modified":"2012-09-27T11:01:12","modified_gmt":"2012-09-27T10:01:12","slug":"cant-rdp-to-vm-while-removing-snapshot","status":"publish","type":"post","link":"https:\/\/stevenwhiting.com\/blog\/?p=1116","title":{"rendered":"Can&#8217;t RDP to VM while removing snapshot"},"content":{"rendered":"<p>Appears this is a known issue due to CBT\u00a0 (Changed Block Tracking)<\/p>\n<p><a href=\"http:\/\/xtravirt.co.uk\/vsphere-vm-%E2%80%9Cfreezes%E2%80%9D-during-removal-snapshot\" target=\"_blank\">http:\/\/xtravirt.co.uk\/vsphere-vm-%E2%80%9Cfreezes%E2%80%9D-during-removal-snapshot<\/a><\/p>\n<blockquote>\n<h1>vSphere: VM \u201cfreezes\u201d during the removal of a snapshot<\/h1>\n<div>\n<div id=\"author_id\">Author(s): (ICT-Freak.nl) Arne Fokkema<\/div>\n<div id=\"first_published_id\">First Published: 26 April 2011<\/div>\n<div id=\"uid_id\">UID: XD10406<\/div>\n<\/div>\n<div>\n<p><em>By Arne Fokkema &#8211; <a href=\"http:\/\/ict-freak.nl\/\" target=\"_blank\">ICT-Freak.nl<\/a><\/em><\/p>\n<hr width=\"100%\" \/>\n<p>If your VM is running on a NFS datastore and Changed Block Tracking (CBT) is enabled, you might experience the following symptoms:<\/p>\n<p>When removing the snapshot of the virtual machine residing on the NFS storage in an ESX\/ESXi 4.1 host, you may experience these symptoms:<\/p>\n<ul>\n<li>The virtual machine appears to be in a hung state within the console view<\/li>\n<li>The virtual machine stops responding to ping requests<\/li>\n<li>The virtual machine is inaccessible via remote desktop<\/li>\n<\/ul>\n<p>But why is this VM freezing? The explanation is the locking mechanism which NFS uses:<\/p>\n<p>This issue may occur if you are using a backup application that utilizes Changed Block Tracking (CBT) and the ctkEnabled option for the virtual machine is set to true. The virtual machine becomes unresponsive for up to 30 seconds as NFS locks on the .ctk file are changed.<\/p>\n<p>The workaround is to disable CBT:<\/p>\n<ol>\n<li>Wait for the virtual machine to become responsive and for the snapshot operation to complete.<\/li>\n<li>Schedule an outage window for the affected virtual machine.<\/li>\n<li>Shut down the virtual machine.<\/li>\n<li>In the Inventory pane, right-click the virtual machine and click <strong>Edit Settings<\/strong>.<\/li>\n<li>Click the <strong>Options<\/strong> tab and click <strong>General<\/strong>.<\/li>\n<li>Click <strong>Configuration Parameters<\/strong>.<\/li>\n<li>If the ctkEnabled\u00a0 parameter is not listed, click <strong>Add Row<\/strong>, add ctkEnabled, and set it to false.<\/li>\n<li>Power on the virtual machine.<\/li>\n<\/ol>\n<p>This workaround can impact the backup performance because you can\u2019t use CBT. To Disable CBT in a <a href=\"http:\/\/www.veeam.com\/\" target=\"_blank\">Veeam<\/a> job, you have to edit the job and disable CBT in the Advanced Settings under the vSphere tab<\/p>\n<p>Or if you\u2019re using <a href=\"http:\/\/www.phdvirtual.com\/\" target=\"_blank\">PHD Virtual Backup<\/a> you can change the CBT settings in the Options tab on the properties page of a Backup Job<\/p>\n<\/div>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Appears this is a known issue due to CBT\u00a0 (Changed Block Tracking) http:\/\/xtravirt.co.uk\/vsphere-vm-%E2%80%9Cfreezes%E2%80%9D-during-removal-snapshot vSphere: VM \u201cfreezes\u201d during the removal of a snapshot Author(s): (ICT-Freak.nl) Arne Fokkema First Published: 26 April 2011 UID: XD10406 By Arne Fokkema &#8211; ICT-Freak.nl If your &hellip; <a href=\"https:\/\/stevenwhiting.com\/blog\/?p=1116\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[233,232],"class_list":["post-1116","post","type-post","status-publish","format-standard","hentry","category-it-notes","tag-snapshot","tag-vm"],"_links":{"self":[{"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1116"}],"version-history":[{"count":3,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1116\/revisions"}],"predecessor-version":[{"id":1119,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1116\/revisions\/1119"}],"wp:attachment":[{"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevenwhiting.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}