{"id":886,"date":"2011-11-20T10:59:41","date_gmt":"2011-11-20T09:59:41","guid":{"rendered":"http:\/\/kudzia.eu\/b\/?p=886"},"modified":"2011-11-20T11:21:14","modified_gmt":"2011-11-20T10:21:14","slug":"ghettovcb-hangs-while-removing-the-snapshot","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2011\/11\/ghettovcb-hangs-while-removing-the-snapshot\/","title":{"rendered":"ghettovcb hangs while removing the snapshot"},"content":{"rendered":"<p>i&#8217;ve upgraded few vmware esxi 4.1 servers with the latest patches and&#8230; obviously something got broken. i use <a href=\"http:\/\/communities.vmware.com\/docs\/DOC-8760\">ghettoVCB<\/a> script to take weekly snapshots of the vms. scripts hanged last night on all servers.<br \/>\n<!--more--><br \/>\nfirst thing i decided to do was to upgrade to the newest release of ghettovcb. that did not help &#8211; backup script still hanged after performing actual backup with the message: &#8220;info: Removing snapshot from hostName&#8221;. after few minutes of frantic googling i found <a href=\"http:\/\/communities.vmware.com\/message\/1859469\">this<\/a> thread. solution provided there &#8211; changing<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n${VMWARE_CMD} vmsvc\/snapshot.remove ${VM_ID} &gt; \/dev\/null 2&gt;&amp;1\r\n<\/pre>\n<p>into<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n${VMWARE_CMD} vmsvc\/snapshot.removeall ${VM_ID} &gt; \/dev\/null 2&gt;&amp;1\r\n<\/pre>\n<p>resolved the problem. i just had to manually remove earlier created snapshots and backups went fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>i&#8217;ve upgraded few vmware esxi 4.1 servers with the latest patches and&#8230; obviously something got broken. i use ghettoVCB script to take weekly snapshots of the vms. scripts hanged last night on all servers.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[58,57],"class_list":["post-886","post","type-post","status-publish","format-standard","hentry","category-tech","tag-ghettovcb","tag-vsphere"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=886"}],"version-history":[{"count":4,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/886\/revisions"}],"predecessor-version":[{"id":890,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/886\/revisions\/890"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}