{"id":16571,"date":"2014-05-28T15:58:54","date_gmt":"2014-05-28T15:58:54","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=16571"},"modified":"2014-05-28T15:58:54","modified_gmt":"2014-05-28T15:58:54","slug":"cannot-delete-a-storage-pool-because-it-is-read-only","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=16571","title":{"rendered":"Cannot Delete A Storage Pool Because It Is Read Only"},"content":{"rendered":"<p>I do a lot of messing around with Storage Spaces. This can involve reusing disks that have been used in other pools \u2013 I want to erase the disks but I encounter an error:<\/p>\n<blockquote>\n<p>Error deleting virtual disk: The storage pool could not complete the operation because its configuration is read-only.<\/p>\n<\/blockquote>\n<p><font style=\"background-color: #181818\" color=\"#999999\">This is easy to fix \u2026 with PowerShell. Get the name of the Storage Pool, also known as the friendly name \u2013 for example Pool1. Then run:<\/font><\/p>\n<p><font style=\"background-color: #181818\" color=\"#999999\">Get-StoragePool \u2013FriendlyName \u201cPool1\u201d | Set-StoragePool \u2013IsReadOnly $false<\/font><\/p>\n<p><font style=\"background-color: #181818\" color=\"#999999\">Then if you are sure, you can delete the storage pool, thus cleaning the disks for reuse:<\/font><\/p>\n<p><font style=\"background-color: #181818\" color=\"#999999\">Get-StoragePool \u2013FriendlyName \u201cPool1\u201d | Remove-StoragePool<\/font><\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:04a2a774-20c4-4e10-b1b7-ae01cf90a26c\" 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\/Windows+Server+2012+R2\" rel=\"tag\">Windows Server 2012 R2<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Storage\" rel=\"tag\">Storage<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Storage+Spaces\" rel=\"tag\">Storage Spaces<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I do a lot of messing around with Storage Spaces. This can involve reusing disks that have been used in other pools \u2013 I want to erase the disks but I encounter an error: Error deleting virtual disk: The storage pool could not complete the operation because its configuration is read-only. This is easy to &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=16571\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Cannot Delete A Storage Pool Because It Is Read Only&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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":[52],"tags":[99,100,120],"class_list":["post-16571","post","type-post","status-publish","format-standard","hentry","category-windows-server","tag-storage","tag-storage-spaces","tag-windows-server-2012-r2"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/16571","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=16571"}],"version-history":[{"count":1,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/16571\/revisions"}],"predecessor-version":[{"id":16572,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/16571\/revisions\/16572"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}