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
- Small update to the Reference Card
- Minor update to the vSphere 5 Reference Card
- 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
Recent Comments
- honglus on How to PXE boot from your trunked vmnic0
- Sunmeet on Understanding ESXi – stateless, diskless, feckless
- Forbes Guthrie on vSphere 5 Card
- Forbes Guthrie on vSphere 5 Card
- Jakk on vSphere 5 Card
- Purushothama S on vSphere 5 notes
- Bjorn on vSphere 5 Card
- Chris on Minor update to the vSphere 5 Reference Card
- Michael Webster on Auto Deploy design concern
- Ankur Maheshwari on vSphere 5 notes
Twitter
- As much as I've become an NFS supporter over the years, VMFS5 & ATS is really making me like iSCSI & its better multipathing. : 2 weeks ago
- @__wintertale__ Hi Iona (& Lesley). Welcome to the twitterverse from a cloudy and wet Vancouver. How's the coffee? : 3 weeks ago
- RT @jtroyer: ... Kaua'i http://t.co/s4Ovo4jD << Staying in same resort next month. Pls, no destroying it with wild parties ;) : 3 weeks ago
- RT @dobaer: @forbesguthrie How was the run in your shiny new shoes? << Nice, the trails around Vancouver are stunning. : 3 weeks ago
- @h0bbel I'm a Salomon addict, but I'm scared to get these ones muddy :) : 3 weeks ago
- Just took my pwutty new #salomon trail shoes for an hour's run in Pacific Spirit Park. http://t.co/7dAQDXgl : 3 weeks ago
- RT @alim__k: @forbesguthrie @keith_aasen look at you guys, figuring this out over social media ;-) < that's where I do all my best designs : 3 weeks ago
- @keith_aasen Great, just what I was after. And presumably one per controller to prevent performance degradation on failover (after refill) : 3 weeks ago
- @keith_aasen You're the VDI sizing TR author :) You're my Guru! : 3 weeks ago
- NetApp gurus: VDI on 3170 - where's FlashCache watershed for 2x 512GB to 4. When is it 2TB not 1TB? Don't say "it depends" /cc @keith_aasen : 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