Solved

VMWare - Operating System not found

Posted on 2016-09-30
8
134 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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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
 
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 119
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 119
ID: 41826770
Out of interest, is there a way to recover a corrupted snapshot disk?

Restore VM.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

808 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