VM from esxi failed to turn on

Hi All


            I have a esx4.1, and inside has a window server 2003 running, and suddently i,m getting below error messge, any idea how i can fix that ?



1
2
3
4
piaakitAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It's of no surprise that your VM has failed, and refuses to turn on, because it has exceeded the maximum number of snapshots.

It suggests you have a VM with at least 114 snapshots, this is whay beyond the maximum per VM.

Could you also check the free space on the datastore.

Can you check if the VM is running on a snapshot disk....

see my EE Article to confirm

HOW TO: VMware Snapshots :- Be Patient

and then I'll propose a solution as to how we can fix this mess.

In the meantime, DO NOTHING! DO NOT MESS OR DELETE THE FILES!
0
Zephyr ICTCloud ArchitectCommented:
This one is going to take days, if not weeks to complete, if it will work at all ... Damn
0
piaakitAuthor Commented:
i still have over 300GB free space left, will the snapshot will removed itself ? i have right click the problem vm and clicked on deleted all snapshot, will it be affected ?
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Alessandro ScafariaInfrastructure Premier Field AdministratorCommented:
Yeah, it will work!!! But as experts said, it will take time!!! A lot of time!!!

So...be patient :-)
0
piaakitAuthor Commented:
but at the bottom task bar, it doesnt show the snapshot is removing at all
0
Alessandro ScafariaInfrastructure Premier Field AdministratorCommented:
Try to log in via ESXi host IP address and not via Vcenter Server IP address instead....
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
i still have over 300GB free space left, will the snapshot will removed itself ? i have right click the problem vm and clicked on deleted all snapshot, will it be affected ?

NO, DO NOT DO THIS!

You are beyond the snapshot limit.....This will not work....

There is ONLY ONE solution to this issue, and this is the CLONE out the issue, and create a new parent disk, removing the snapshot will not function, it's also possible that some VM corruption has also occurred.

Do you have access to the console.....?

You will need to clone the parent virtual disk, which will merge all the snapshots into a single disk.

this is the command

vmkfstools -i <most recent snapshot file name> /vmfs/volumes/<temp folder name>/<newfilename.vmdk>

This merge if possible is going to take a while to complete.

Do you have another datastore?

and what are the sizes of the parent VMDK ?

Do you have vCenter Server or use vCenter Server, or just have ESXi and a single host ?
0
piaakitAuthor Commented:
i have only a single esxi, no vcenter, and i can not find the clone button from my vsphere client , and i will try that command, i have around 300GB storage available !
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you do not have vCenter Server, you will not have the clone option, you will need to perform the clone at the console.

vmkfstools -i <most recent snapshot file name> /vmfs/volumes/<temp folder name>/<newfilename.vmdk>

your command will be something like

vmkfstools -i DataServer-000114.vmdk /vmfs/volumes/<temp folder name>/<DataServer.vmdk>

you may not have file - DataServer-000114.vmdk, so you may need to use DataServer-000113.vmdk

also the snapshot chain needs to complete, so check you have 0001 - 000113 or 114 snapshot files.

and ensure you have enough storage space.

this command, may take many seconds, hours, minutes, days or weeks to complete, as you have many snapshots, which is a lot of data to merge into the parent disk.

also depends on the speed of datastore.


once you have the new parent vmdk, which does not have any snapshots, could can create a new VM, and add this disk.
0
piaakitAuthor Commented:
understood, thanks for your helpful answer, i have a concern why didnt remove the snapshot itself when the veeambackup completed each time ?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
All Backup Utilities have an issue with leaving VMs running on backups!

It happens, as a VMware Admin you must check daily to ensure this does not happen!

Or setup alerts, with vCenter Server, or scripts!

It could be your datastore is too slow.....but for 114 snapshots, this means, this VM has been on a snapshot for approx 114 days!

and you didn't notice! performance will be poor in this VM!

Check your snapshots, check your backups!

Welcome to Snapshot Hell!

Snapshots are evil things!
0
piaakitAuthor Commented:
am i allow to mount the vmdk to the new installed server, i want to copy some file back from the broken server,
0
Alessandro ScafariaInfrastructure Premier Field AdministratorCommented:
From your past comments I noticed that you use Veeam as backup software.....

Now you're telling us that you have another esxi host to "clean up the mess".....am I right? This is very good for you!!

Why don't you recover your VM into your new ESXi host from your last Veeam backup?

http://helpcenter.veeam.com/backup/80/vsphere/data_recovery.html

Tips for the future:

Install Veeam One in order to have a global look of your virtual infrastructure....it will save you from most troubles in day-to-day-managing....

http://www.veeam.com/virtualization-management-one-solution.html
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
am i allow to mount the vmdk to the new installed server, i want to copy some file back from the broken server,

Not quite sure I understand, did the clone operation complete ?

The only way to access the files on the broken server virtual machine disk, with the 114 snapshots, is to clone, e.g. use the command

vmkfstools -i DataServer-000114.vmdk /vmfs/volumes/<temp folder name>/<DataServer.vmdk>

otherwise, you will need to use your Backup application, to complete a VM Restore.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.