Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

storage vmotion fails

Posted on 2013-05-21
14
Medium Priority
?
3,694 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 124
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 124
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 124
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 124
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 124
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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1500 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A look into Log Analysis and Effective Critical Alerting.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

610 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