{"id":37,"date":"2018-10-25T14:28:43","date_gmt":"2018-10-25T22:28:43","guid":{"rendered":"https:\/\/angrysysadmins.tech\/?p=37"},"modified":"2019-10-24T19:51:31","modified_gmt":"2019-10-25T03:51:31","slug":"ovirt-unlock-virtual-disks","status":"publish","type":"post","link":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/","title":{"rendered":"oVirt: Unlock Virtual Disks"},"content":{"rendered":"\r\n<p>So every now and then, a clone operation will break on oVirt. However, it will often leave the source machine in a locked state, unable to be used. Luckily, the solution is pretty simple. All you need to do is ssh into the oVirt-engine machine and run the following.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">Unlock all disks <br \/>\/usr\/share\/ovirt-engine\/setup\/dbutils\/unlock_entity.sh -t all<br \/><br \/>Unlock specific VM disk <br \/>\/usr\/share\/ovirt-engine\/setup\/dbutils\/unlock_entity.sh -t vm UUID_OF_VM<\/pre>\r\n\r\n\r\n\r\n<p>Just wait a little bit and the disks should be unlocked.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>So every now and then, a clone operation will break on oVirt. However, it will often leave the source machine in a locked state, unable to be used. Luckily, the solution is pretty simple. All you need to do is ssh into the oVirt-engine machine and run the following. Unlock all disks \/usr\/share\/ovirt-engine\/setup\/dbutils\/unlock_entity.sh -t allUnlock <br \/><a class=\"read-more-button\" href=\"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,21,22],"tags":[17,18],"coauthors":[39],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-linux","category-ovirt","category-virtualization","tag-ovirt","tag-virtualization"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>oVirt: Unlock Virtual Disks - Angry Sysadmins<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"oVirt: Unlock Virtual Disks - Angry Sysadmins\" \/>\n<meta property=\"og:description\" content=\"So every now and then, a clone operation will break on oVirt. However, it will often leave the source machine in a locked state, unable to be used. Luckily, the solution is pretty simple. All you need to do is ssh into the oVirt-engine machine and run the following. Unlock all disks \/usr\/share\/ovirt-engine\/setup\/dbutils\/unlock_entity.sh -t allUnlock Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/\" \/>\n<meta property=\"og:site_name\" content=\"Angry Sysadmins\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-25T22:28:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-10-25T03:51:31+00:00\" \/>\n<meta name=\"author\" content=\"Ryan Parker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ryan Parker\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/\"},\"author\":{\"name\":\"Ryan Parker\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/651321cd35645fb6a4d8a75b7bc7c199\"},\"headline\":\"oVirt: Unlock Virtual Disks\",\"datePublished\":\"2018-10-25T22:28:43+00:00\",\"dateModified\":\"2019-10-25T03:51:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/\"},\"wordCount\":64,\"commentCount\":0,\"keywords\":[\"Ovirt\",\"Virtualization\"],\"articleSection\":[\"Linux\",\"oVirt\",\"Virtualization\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/\",\"name\":\"oVirt: Unlock Virtual Disks - Angry Sysadmins\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#website\"},\"datePublished\":\"2018-10-25T22:28:43+00:00\",\"dateModified\":\"2019-10-25T03:51:31+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/651321cd35645fb6a4d8a75b7bc7c199\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/2018\\\/10\\\/grassyloki\\\/ovirt-unlock-virtual-disks\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/angrysysadmins.tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"oVirt: Unlock Virtual Disks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#website\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/\",\"name\":\"Angry Sysadmins\",\"description\":\"A site full of angry sysadmins here to vent and help\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/angrysysadmins.tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/angrysysadmins.tech\\\/#\\\/schema\\\/person\\\/651321cd35645fb6a4d8a75b7bc7c199\",\"name\":\"Ryan Parker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g664d0e05248e51cb1d71b3f66c6f929d\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g\",\"caption\":\"Ryan Parker\"},\"description\":\"Professionally im a Infrastructure Security Specialist. I current maintain a homelab with about 3TB of RAM, 240+ TB of storage, tons of CPU cores, and 100gbit networking backbone in the garage running up my electricity bill.\",\"url\":\"https:\\\/\\\/angrysysadmins.tech\\\/index.php\\\/author\\\/grassyloki\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"oVirt: Unlock Virtual Disks - Angry Sysadmins","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/","og_locale":"en_US","og_type":"article","og_title":"oVirt: Unlock Virtual Disks - Angry Sysadmins","og_description":"So every now and then, a clone operation will break on oVirt. However, it will often leave the source machine in a locked state, unable to be used. Luckily, the solution is pretty simple. All you need to do is ssh into the oVirt-engine machine and run the following. Unlock all disks \/usr\/share\/ovirt-engine\/setup\/dbutils\/unlock_entity.sh -t allUnlock Read More &raquo;","og_url":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/","og_site_name":"Angry Sysadmins","article_published_time":"2018-10-25T22:28:43+00:00","article_modified_time":"2019-10-25T03:51:31+00:00","author":"Ryan Parker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ryan Parker"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/#article","isPartOf":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/"},"author":{"name":"Ryan Parker","@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/651321cd35645fb6a4d8a75b7bc7c199"},"headline":"oVirt: Unlock Virtual Disks","datePublished":"2018-10-25T22:28:43+00:00","dateModified":"2019-10-25T03:51:31+00:00","mainEntityOfPage":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/"},"wordCount":64,"commentCount":0,"keywords":["Ovirt","Virtualization"],"articleSection":["Linux","oVirt","Virtualization"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/","url":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/","name":"oVirt: Unlock Virtual Disks - Angry Sysadmins","isPartOf":{"@id":"https:\/\/angrysysadmins.tech\/#website"},"datePublished":"2018-10-25T22:28:43+00:00","dateModified":"2019-10-25T03:51:31+00:00","author":{"@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/651321cd35645fb6a4d8a75b7bc7c199"},"breadcrumb":{"@id":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/angrysysadmins.tech\/index.php\/2018\/10\/grassyloki\/ovirt-unlock-virtual-disks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/angrysysadmins.tech\/"},{"@type":"ListItem","position":2,"name":"oVirt: Unlock Virtual Disks"}]},{"@type":"WebSite","@id":"https:\/\/angrysysadmins.tech\/#website","url":"https:\/\/angrysysadmins.tech\/","name":"Angry Sysadmins","description":"A site full of angry sysadmins here to vent and help","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/angrysysadmins.tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/angrysysadmins.tech\/#\/schema\/person\/651321cd35645fb6a4d8a75b7bc7c199","name":"Ryan Parker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g664d0e05248e51cb1d71b3f66c6f929d","url":"https:\/\/secure.gravatar.com\/avatar\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fc12b1a02765c8017062ee6f41eb34a7b14575bcd8acd7da40e176fe8f12b10f?s=96&d=mm&r=g","caption":"Ryan Parker"},"description":"Professionally im a Infrastructure Security Specialist. I current maintain a homelab with about 3TB of RAM, 240+ TB of storage, tons of CPU cores, and 100gbit networking backbone in the garage running up my electricity bill.","url":"https:\/\/angrysysadmins.tech\/index.php\/author\/grassyloki\/"}]}},"_links":{"self":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":5,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":700,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/posts\/37\/revisions\/700"}],"wp:attachment":[{"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/tags?post=37"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/angrysysadmins.tech\/index.php\/wp-json\/wp\/v2\/coauthors?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}