Solved

VMWare - Operating System not found

Posted on 2016-09-30
8
81 Views
Last Modified: 2016-10-04
Hi,

One of our ESXi 5.5 hosts died last night and all the VMs moved to other hosts. I'm having issues with one of them though and it isn't booting into Windows Server 2003.

Operating-system-not-found.PNG
We have NetApp backups and have tried restoring the VM from earlier in the week but the problem still persists.

I've tried some of the online fixes eg. booting into BIOS and making sure the hard disk is primary boot device but no joy.

I don't know if this is relevant but the VM has a snapshot attached.

Any ideas?
0
Comment
Question by:niltd
  • 3
  • 3
  • 2
8 Comments
 
LVL 3

Expert Comment

by:Sean Fitzpatrick
ID: 41823639
Have you checked the datastore that your VMDKs are on to see if they have any -lck files associated to the drives? If they are locked the VM may not be able to access/read from them.

I'm also assuming that your using shared storage?
0
 

Author Comment

by:niltd
ID: 41823653
Hi Sean,

Thanks for the reply. Yes, we use shared storage. I've had a look at the datastore and the only file appended with .lck is the vmx file. I've attached a screenshot below:

datastore.PNG
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 41823655
The virtual machine disk, looks like it's corrupted, or does not exist.

The virtual machines, do exist, but you also have snapshots on both, it's possible that the virtual machine disk parent or snapshots has become corrupted.

Can you boot from a Windows Repair disk, to check if the contents of the virtual disks are correct and not corrupted, we might be able to recover the VM, by discarding the snapshot disk!

Do you have a backup to restore?
0
 

Author Comment

by:niltd
ID: 41823684
Hi Andrew,

Yes, we have backups but I've tried restoring from both of them (Monday and Wednesday) and the issue persists.This is weird because the issue only happened early this morning and users have confirmed the server was working midweek.

I also tried consolidating the snapshots to see if that helps but it didn't :(

I'll see if I can find a 2003 ISO...
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 3

Expert Comment

by:Sean Fitzpatrick
ID: 41823693
Edit the settings of the VM, look at the path of the primary (OS) vmdk, is it pointing at the correct VMDK?

for ex. if you have a snapshot on your OS Disk, it should be pointing at the snapshot vmdk not the primary vmdk.

If you have a backup, can you try deleting the snapshot?

Consolidate does not do a delete of a snapshot, it just consolidates the logs.
0
 
LVL 118
ID: 41823821
DO NOT DELETE THE SNAPSHOT!!!!

VERY BAD IDEA AT THIS STAGE TRYING TO RECOVER!!!

Can you check if the VM is actually writing to the snapshot?

see my EE Article how to check

HOW TO: VMware Snapshots :- Be Patient

Have you ever tested restores ?
0
 

Author Comment

by:niltd
ID: 41826558
Hi guys, sorry for the late reply. Luckily this has been sorted so panic over.

What I discovered is that the primary path of the VMDK was pointing to the snapshot delta as expected. I think that this delta had been corrupted which is what caused this.

Whoever created the snapshot hadn't put any further details like date etc. but i thought i'd try see if the base disk was corrupted so did the 'go to' in snapshot manager. This worked and luckily the date from that was only a week ago. This server is largely historical so we checked the data and it was ok.

Out of interest, is there a way to recover a corrupted snapshot disk?
0
 
LVL 118
ID: 41826770
Out of interest, is there a way to recover a corrupted snapshot disk?

Restore VM.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now