{"id":446,"date":"2010-02-17T15:42:38","date_gmt":"2010-02-17T05:42:38","guid":{"rendered":"https:\/\/www.penguinpunk.net\/blog\/?p=446"},"modified":"2010-02-18T10:20:38","modified_gmt":"2010-02-18T00:20:38","slug":"broken-svmotion","status":"publish","type":"post","link":"https:\/\/www.penguinpunk.net\/blog\/broken-svmotion\/","title":{"rendered":"Broken sVMotion"},"content":{"rendered":"<p>It&#8217;s been a very long few weeks, and I&#8217;m looking forward to taking a few weeks off. I&#8217;ve been having a lot of fun doing a data migration from a CLARiiON CX3-40f and CX700 to a shiny, new CX4-960. To give you some background, instead of doing an EMC-supported data in place upgrade in August last year, we decided to buy another 4-960 (on top of the already purchased 4-960 upgrade kit) and migrate the data manually to the new array. The only minor probelm with this is that there&#8217;s about 100TB of data in various forms that I need to get on to the new array. Sucks to be me, but I am paid by the hour.<\/p>\n<p>I started off by moving VMs from one cluster to the new array using sVMotion, as there was a requirement to be a bit non-disruptive where possible. Unfortunately, on the larger volumes attached to fileservers, I had a few problems. I&#8217;ll list them, just for giggles:<\/p>\n<p>There were 3 800GB volumes and 5 500GB volumes and 1 300GB volume that had 0% free space on the VMFS. And I mean 0%, not 5MB or 50MB, 0%. So that&#8217;s not cool for a few reasons. ESX likes to update journaling data on VMFS, because it&#8217;s a journaling filesystem. If you don&#8217;t give it space to do this, it can&#8217;t do it, and you&#8217;ll find volumes start to get remounted with very limited writeability. If you try to storage VMotion these volumes, you&#8217;ll again be out of luck, as it wants to keep a dmotion file on the filesystem to track any changes to the vmdk file while the migration is happening. I found my old colleague <a title=\"Core IT\" href=\"http:\/\/blog.core-it.com.au\/?p=441\" target=\"_blank\">Leo&#8217;s post<\/a> to be helpful when a few migrations fail, but unfortunately the symptoms he described were not the same as mine, in my case the VMs fell over entirely. More info from VMware can be had <a title=\"VMware KB\" href=\"http:\/\/kb.vmware.com\/kb\/1009113\" target=\"_blank\">here<\/a>.<\/p>\n<p>If you want to move just a single volume, you try your luck with <a title=\"Moving a single disk with sVMotion\" href=\"http:\/\/kb.vmware.com\/selfservice\/microsites\/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1004040\" target=\"_blank\">this method<\/a>, which I&#8217;ve used successfully before. But I was tired, and wanted to use vmkfstools since I already had an unexpected outage and had to get something sorted.<\/p>\n<p>The problem with vmkfstools is that there&#8217;s no restartable copy option &#8211; as far as I know. So when you get 80% through a 500GB file and it fails, well, that&#8217;s 400GB of pointless copying and time you&#8217;ll never get back. Multiply that out over 3 800GB volumes and a few ornery 500GB vmdks and you&#8217;ll start to get a picture of what kind of week I had.<\/p>\n<p>After suffering through a number of failures, I ended up taking one node out of the 16-node cluster and placing it and its associated datastores (the ones I needed to migrate) in their own Navisphere storage group. That way, there&#8217;d be no &#8220;busy-ness&#8221; affecting the migration process (we had provisioned about 160 LUNs to the cluster at this stage and we were, obviously, getting a few &#8220;SCSI reservation conflicts&#8221; and &#8220;resource temporarily unavailable&#8221; issues). This did the trick, and I was able to get some more stuff done. now there&#8217;s only about 80TB to go before the end of April. Fun times.<\/p>\n<p>And before you ask why didn&#8217;t I use SAN Copy? I don&#8217;t know, I suppose I&#8217;ve never had the opportunity to test it with ESX, and while I know that underlying technology is the same as MirrorView, I just really didn&#8217;t feel I was in a position to make that call. I probably should have just done it, but I didn&#8217;t really expect that I&#8217;d have as much trouble as I did with sVMotion and \/ or vmkfstools. So there you go.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s been a very long few weeks, and I&#8217;m looking forward to taking a few weeks off. I&#8217;ve been having a lot of fun doing a data migration from a CLARiiON CX3-40f and CX700 to a shiny, new CX4-960. To give you some background, instead of doing an EMC-supported data in place upgrade in August [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,4],"tags":[24,231,170,228,232,9,172,40,95,153,34],"class_list":["post-446","post","type-post","status-publish","format-standard","hentry","category-esx-vmware","category-vmware","tag-clariion","tag-cx3-40f","tag-cx4","tag-cx700","tag-data-migration","tag-esx","tag-munted","tag-san","tag-sancopy","tag-svmotion","tag-vmkfstools"],"_links":{"self":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/446","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=446"}],"version-history":[{"count":4,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/446\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/posts\/446\/revisions\/451"}],"wp:attachment":[{"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/media?parent=446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/categories?post=446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.penguinpunk.net\/blog\/wp-json\/wp\/v2\/tags?post=446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}