{"id":240,"date":"2009-07-01T23:46:13","date_gmt":"2009-07-01T13:46:13","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=240"},"modified":"2009-07-01T11:47:35","modified_gmt":"2009-07-01T01:47:35","slug":"svmotion-with-snapshot-bad","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/svmotion-with-snapshot-bad\/","title":{"rendered":"sVMotion with snapshot bad"},"content":{"rendered":"<p>You know when it says in the release notes, and pretty much every forum on the internet, that doing sVMotion migrations with snapshots attached to a vmdk is bad? Turns out they were right, and you might just end up munting your vmdk file in the process. So you might just need this <a href=\"http:\/\/www.itexperience.net\/2008\/03\/03\/howto-recreate-vmdk-files\/\" target=\"_blank\">link<\/a> to recreate the vmdk. You may find yourself in need of <a href=\"http:\/\/malaysiavm.com\/blog\/manual-commit-snapshots-delta-file-to-vmdk-flat-file\/\" target=\"_blank\">this process<\/a> to commit the snapshot as well. Or, if you&#8217;re really lucky, you&#8217;ll find yourself with a vmsn file that references a missing vmdk file. Wow, how rad! To work around this, I renamed the vmsn to .old, ran another snapshot, and then committed the snapshots. I reiterate that I think snapshots are good when you&#8217;re in a tight spot, in the same way that having a baseball bat can be good when you&#8217;re attacked in your home. But if you just go around swinging randomly, something&#8217;s going to get broken. Bad analogy? Maybe, but I think you get what I&#8217;m saying here.<\/p>\n<p>To recap, when using svmotion.pl with <a href=\"http:\/\/www.vmware.com\/appliances\/directory\/178973\" target=\"_blank\">VIMA<\/a>, here&#8217;s the syntax:<\/p>\n<p><strong><code>svmotion.pl &#45;&#45datacenter=network.internal &#45;&#45url=https:\/\/virtualcenter.network.internal\/sdk &#45;&#45username=vcadmin &#45;&#45vm=\"[VMFS_02] host01\/host01.vmx:VMFS_01\"<\/code><\/strong><\/p>\n<p>Of course, my preferred method is here:<\/p>\n<p><strong><code>svmotion &#45;&#45interactive<\/code><\/strong><\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You know when it says in the release notes, and pretty much every forum on the internet, that doing sVMotion migrations with snapshots attached to a vmdk is bad? Turns out they were right, and you might just end up munting your vmdk file in the process. So you might just need this link to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[9,153,13,42,91,786],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-esx","tag-svmotion","tag-vi3","tag-vmdk","tag-vmotion","tag-vmware"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":7,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":248,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/240\/revisions\/248"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}