Problems with Storage VMotion
I’ve been using the new Storage VMotion functionality fairly heavily over the last couple of months. I have encountered a couple of significant bugs whilst using it, which have resulted in corrupted VMDK files. Here are my two tips when using Storage VMotion, to avoid the problems I have seen:
- Ensure that you have sufficient space in the source datastore as Storage VMotion uses snapshots to transfer the VMDKs over. This is a particular problem with large frequently changing VMs, e.g. database servers. Large disks mean that the whole transfer can take several hours, and frequently changing data means large snapshot files. If sufficient space is not available, the datastore can fill up, preventing any more data being written to the disks and causing the Storage VMotion to fail. I would recommend you have empty space equivalent to the size of the VM’s disk files before you start. VMFS extents are an excellent solution to this short term problem.
- The other problem I have encountered occurs when the VM has its VMDK disk files spread across more than one datastore. The operation begins successfully, but during the transfer the host gets confused and the process fails. The disks have snapshots applied, but are corrupt. Unfortunately, the only way to avoid this situation is to cold migrate all the VM’s files onto one datastore first.
Great care has to be taken to recover disks after a Storage VMotion failure, to avoid total data loss.
One Response to Problems with Storage VMotion
Leave a Reply Cancel reply
Forbes Guthrie
Recent Posts
- vSphere 5 vReference Card released
- Cisco UCS boot from iSCSI SAN – ESXi design consideration
- vSphere 5 vReference card – Storage section
- Does 2008 R2 Failover Clustering require a change to the Notify Switches policy?
- vSphere 5 vReference card – Host section
- vSphere 5 vReference card – Install section
- Auto Deploy design concern
- vSphere 5 vReference card – vCenter section
- vSphere 5 vReference card – VM section
- vSphere 5 vReference card – availability section
Recent Comments
- escorts service on VMworld: Host Profiles
- free antivirus software download on Firewall port connection diagram
- Tim Sommer on vSphere 5 Card
- vJohnnyF on vSphere 5 Card
- Forbes Guthrie on Cisco UCS boot from iSCSI SAN – ESXi design consideration
- Chris on Cisco UCS boot from iSCSI SAN – ESXi design consideration
- Forbes Guthrie on vSphere 5 Card
- Forbes Guthrie on vSphere 5 Card
- harold on Auto Deploy design concern
- MarcelVanOs on vSphere 5 Card
Twitter
- Eek! This is big >> RT @DuncanYB: New Article: No Jumbo frames on your Management Network - http://t.co/VjoCtOqz : 2 weeks ago
- RT @ryanbirk: @forbesguthrie ...owe you a beer! Read all 50 pgs of your notes and passed the VCI-5 exam this morning << Congrats, great news : 2 weeks ago
- Working with Host Profiles today. Clunky, but a great tool. : 2 weeks ago
- @csilvertooth Frustrating yeah, they maybe need a popup warning message check when you start it without correct permissions. #VMware : 2 weeks ago
- RT @joshcoen: Passed VCP5 this morning. Big shout out to @jaslanger and @forbesguthrie #invaluableresources. << Congrats! : 2 weeks ago
- RT @cwjking: @forbesguthrie Someone commented on my blog to link to your site for VCP5 related stuff. http://t.co/7KqZsNuv << thx : 2 weeks ago
- @sanchezhutz Nice, I hear lots of good things about those. David is nice chap. : 3 weeks ago
- .RT @cxi: I'll be in Vancouver the week of the 23rd ;) << Great. Anyone else in Vancouver up for vBeers? I'm free 23,25,27 /cc @astorrs : 3 weeks ago
- @sanchezhutz Best of luck Sanchez! When are you planning to take it mate, work paying for it? : 3 weeks ago
- New blog post: vSphere 5 vReference Card released - http://t.co/4rYEPsM9 : 3 weeks ago






But, then how do you recover corrupted vmdk file? Is there any software with you can do it? Our company does not have Storage VMotion option, but they are thinking about upgrading to entreprise edition of ESX.
Thanks
Vladan SEGET