Solved

storage vmotion fails

Posted on 2013-05-21
14
3,600 Views
Last Modified: 2013-06-06
I have tried a few times to get a server moved to another storage device and it has failed three times giving me different errors

the first time two times i got:

Aneneral system error occurred:  The migration has exceeded the maximum sitchover time of 100 seconds.  ESX has preemptively failed the migration to allow the virtual machine to continue running on the source.  To avoid this failure, either increase the maximum allowable switchover time or wait until the virtual machine is performing a less intensive workload.

After reinsalling vmware tools i get

a general system error occurred: storage Vmotion failed to copy on or more of the VM's diskss.  Please consult the VM's log for more details looking for lines starting with "SVMotion".

The error above mentions the file "Servername-000001.vmdk" as the disk it could not copy.  This file has grown everytime i try to use vmotion (it may just be growing in general).

I need to move this server (worst case scenario shut it down and copy it i suppose), and i also need to deal with the vmdk file that is mentioned above.  Please, if any one has ideas or suggestions i am open to all.

I can't afford to make a mistake as this is a production server and rebuilding will take a too long to restore.  Thanks!!
0
Comment
Question by:IKtech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 6
14 Comments
 
LVL 120
ID: 39184948
Check ALSO, you do not have this server with ANY *SNAPSHOTS*

See my EE Article

HOW TO: VMware Snapshots :- Be Patient

It's either a very busy server, too many transaction occuring whilst the Storage vMotion is occuring, and the size of the snapshot is too large.

or, your storage system or network is too slow.

Have you tried, completing this our of hours, at a quiet time?

If you shut it down, you can perform a Cold Migration. (Right Click VM - Migrate)
0
 
LVL 3

Author Comment

by:IKtech
ID: 39184962
this happened in the middle of the night last night.  The vmdk file is rather large it is 450gb.  So maybe a cold migration is the way to go.

i also have the 175gb file named "servername-000001.vmdk"  i am assuming this is a snapshot used for storage vmotion and i would like to get rid of it.  If i do a cold migration will this get consolidated?  THanks!
0
 
LVL 3

Author Comment

by:IKtech
ID: 39185695
what if i just did a clone of the vm.  That should take care of the snapshot issue, right?
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 120
ID: 39185742
Yes, clone the VM, will "clone out the snapshot"
0
 
LVL 3

Author Comment

by:IKtech
ID: 39188100
i got the server to migrate without  turning it off but i still have the snapshot file.  If i use "consolidate" option under the snapshot menu (this appears when right clicking the virtual machine in vcenter), will this fix the problem?  I want all the changes merged to the parent disk and the snapshot gone.

Or is my best bet the cloning idea?
0
 
LVL 120
ID: 39188148
Delete the Snapshot, if it appears in Snapshot Manager.

See my EE Article

HOW TO: VMware Snapshots :- Be Patient
0
 
LVL 3

Author Comment

by:IKtech
ID: 39188178
it does not appear in snapshot manager.
0
 
LVL 120
ID: 39188221
1. Create a new snapshot
2. wait 60 seconds
3. Delete Snapshot (this could take seconds, minutes, hours or days to complete!)

Read me EE Article Whilst Waiting and Be Patient, it's likely to stick at 95%, Wait!

this process, will delete all linked snapshots, is the VM running on a snapshot?
0
 
LVL 3

Author Comment

by:IKtech
ID: 39188247
Yes it is running on a snapshot.  If i click edit settings then click on the hard drive the disk file in the right side of the screen references the "servername-000001.vmdk" file.

the size of this file is 180GB.  I am worried that if taking a snapshot and use the delete all button works it will take a long time to finish.  I can't afford to have this server down for days at a time.
0
 
LVL 120
ID: 39188292
that is possible, depend on transactions occuring in the VM, and datastore speed. The VM will still be up, but performance could be affected.

Once you start the deletion, you cannot stop it or cancel.

but remember, the longer you leave the issue, the worse it will get, and performance of the VM is currently suffering writing to a snapshot disk, and if you run out of storage, VM will stop!

It's quicker to Delete, if the VM is off, but VM will be down until finished.
0
 
LVL 3

Author Comment

by:IKtech
ID: 39188320
do you think the cloning idea would be less time consuming?
0
 
LVL 3

Author Comment

by:IKtech
ID: 39188355
BTW this server is running sql 2008.
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39199692
Personally, I would shutdown, and complete the snapshot merge.
0
 
LVL 3

Author Closing Comment

by:IKtech
ID: 39226039
Thanks!  that worked.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question