{"id":5978,"date":"2024-11-18T12:07:34","date_gmt":"2024-11-18T20:07:34","guid":{"rendered":"https:\/\/jetstreamsoft.com\/portal\/?post_type=ht_kb&#038;p=5978"},"modified":"2025-02-24T18:13:57","modified_gmt":"2025-02-25T02:13:57","slug":"vm-protection-fails-virtual-disks-already-has-a-storage-policy-attached","status":"publish","type":"ht_kb","link":"https:\/\/jetstreamsoft.com\/portal\/jetstream-knowledge-base\/vm-protection-fails-virtual-disks-already-has-a-storage-policy-attached\/","title":{"rendered":"VM Protection Fails: &#8220;Virtual Disk(s) already has a Storage Policy attached&#8221;"},"content":{"rendered":"\n<p class=\"is-style-info wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">This article applies to all JSDR software versions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Problem<\/h2>\n\n\n\n<p class=\"\">Attempting to start VM protection with JetStream DR is unsuccessful and the following error message is reported: <em>\u201cVirtual Disk(s) already has a Storage Policy attached. Cleanup the Virtual Disk state and try again\u201d<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"844\" height=\"784\" src=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/startprotection.png\" alt=\"\" class=\"wp-image-5979\" style=\"width:602px;height:auto\" srcset=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/startprotection.png 844w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/startprotection-300x279.png 300w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/startprotection-768x713.png 768w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/startprotection-50x46.png 50w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><figcaption class=\"wp-element-caption\">Storage policy attached error message.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li class=\"\">Validate the status of the VM to ensure there are no underlying issues related to its virtual disks.<br><br><\/li>\n\n\n\n<li class=\"\">Ensure the VM intended for protection has no snapshots or pending snapshot consolidation, and that it is not using any snapshot disks.<br><br><\/li>\n\n\n\n<li class=\"\">From <em>vCenter<\/em> select the problematic VM than navigate to: <strong>Configure \u2192 Policies<\/strong>\n<ul class=\"wp-block-list\">\n<li class=\"\">Validate any assigned storage policies.<\/li>\n\n\n\n<li class=\"\">If no storage policy is currently assigned, the <em>default <\/em>storage policy should be manually assigned to the VM.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"1000\" height=\"579\" src=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/assigned-storage-policy.png\" alt=\"\" class=\"wp-image-5980\" srcset=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/assigned-storage-policy.png 1000w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/assigned-storage-policy-300x174.png 300w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/assigned-storage-policy-768x445.png 768w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/assigned-storage-policy-50x29.png 50w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Check assigned storage policies.<\/figcaption><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li class=\"\">The VM storage policy can also be validated and set from the VM\u2019s <em>Virtual Hardware<\/em> settings screen.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" width=\"1000\" height=\"565\" src=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy3.png\" alt=\"\" class=\"wp-image-5981\" srcset=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy3.png 1000w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy3-300x170.png 300w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy3-768x434.png 768w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy3-50x28.png 50w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Check\/set storage policy from the Virtual Hardware screen.<\/figcaption><\/figure>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li class=\"\">If the VM is part of an AVS environment, validate the storage policy using the Run command: <strong>set-VMStoragepolicy<\/strong><em>.<\/em><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"799\" src=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy4.png\" alt=\"\" class=\"wp-image-5982\" style=\"width:469px;height:auto\" srcset=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy4.png 800w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy4-300x300.png 300w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy4-150x150.png 150w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy4-768x767.png 768w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy4-50x50.png 50w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Azure Run command <em>set-VMStoragepolicy<\/em>.<\/figcaption><\/figure>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li class=\"\">Properly assigned storage polic(ies) should display a \u201cCompliant\u201d status.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"308\" src=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy5.png\" alt=\"\" class=\"wp-image-5983\" srcset=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy5.png 1000w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy5-300x92.png 300w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy5-768x237.png 768w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2024\/11\/stroragepolicy5-50x15.png 50w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">All storage policies of the VM are compliant.<\/figcaption><\/figure>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li class=\"\">After the VM\u2019s storage polic(ies) have been reset to \u201cdefault\u201d try re-protecting the VM.\n<ul class=\"wp-block-list\">\n<li class=\"\">No error should be triggered when default storage policies are used.<br><br><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"is-style-info wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">This problem typically occurs for VMs that have been restored from a backup or migrated, or for VM\u2019s that were manually unregistered and then re-registered (to address other issues).<br><br>JetStream DR protection should be disabled for virtual machines before initiating <em>migration <strong>across<\/strong> clusters or datacenters<\/em>. However, <em>JetStream DR protection can remain enabled while using vMotion <strong>within<\/strong> the cluster<\/em>.<\/p>\n\n\n\n<p class=\"is-style-alert wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">If VM protection is initiated while a VM is concurrently undergoing migration, the JetStream DR protection task will likely fail and report the error &#8220;<em>Failed to apply the Storage Policy change.<\/em>&#8220;<br>VM protection should not be operated while VMs are undergoing any migration tasks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem Attempting to start VM protection with JetStream DR is unsuccessful and the following error message is reported: \u201cVirtual Disk(s) already has a Storage Policy attached. Cleanup the Virtual Disk state and try again\u201d. Troubleshooting<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"ht-kb-category":[92],"ht-kb-tag":[214],"class_list":["post-5978","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-troubleshooting","ht_kb_tag-vmprotection"],"_links":{"self":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/5978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/comments?post=5978"}],"version-history":[{"count":3,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/5978\/revisions"}],"predecessor-version":[{"id":6685,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/5978\/revisions\/6685"}],"wp:attachment":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/media?parent=5978"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb-category?post=5978"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb-tag?post=5978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}