Solved

Virtual Machine Failure

Posted on 2013-11-27
15
1,648 Views
Last Modified: 2013-11-28
Hi

After a dirty shutdown am getting the following error;

Power On virtual machine:File [NAS10 ESX] TTS-DRW-SP10/TTS-DRW-SP10-000002.vmdk was not found

See the error stack for details on the cause of this problem.
Time: 28/11/2013 2:52:48 PM
Target: TTS-DRW-SP10
vCenter Server: TTS-DRW-VCSA
Error Stack
An error was received from the ESX host while powering on VM TTS-DRW-SP10.
Cannot open the disk '/vmfs/volumes/bf892fac-32f639fa/TTS-DRW-SP10/TTS-DRW-SP10-000002.vmdk' or one of the snapshot disks it depends on.
The system cannot find the file specified
VMware ESX cannot find the virtual disk "/vmfs/volumes/bf892fac-32f639fa/TTS-DRW-SP10/TTS-DRW-SP10.vmdk". Verify the path is valid and try again.

Have added a listing of the directory off the vm host, seems to be missing the *-flat.vmdk file.

vmware machine settings show the hard drive at 0Mb.

Environment is ESXi 5.1 with NFS Storage.

Any help would be greatly appreciated.

Regadrs
0
Comment
Question by:michael334
[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
  • 7
15 Comments
 
LVL 120
ID: 39682938
okay,it looks like a Snapshot attach to this virtual machine may have become corrupted.

could you please upload a screenshot of the files available in the VM folder of the datastore

and I can advise what to do next?

see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO: VMware Snapshots :- Be Patient
0
 

Author Comment

by:michael334
ID: 39682957
Thanks for the response, image attached

VM Folder Contents
0
 
LVL 120
ID: 39683057
okay, it's possible that the snapshots have become corrupted.

The VM has two snapshots 0001 and 0002.

can you run the following command to check snapshot consistency.

Vmkfstools –t0 –v10 lastsnapshot-00000n.vmdk
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:michael334
ID: 39683069
It does not like the syntax of the command.

/vmfs/volumes/bf892fac-32f639fa/TTS-DRW-SP10 # vmkfstools .t0 .v10 lastsnapshot-00000n.vmdk

Extra arguments at the end of the command line.
0
 
LVL 120
ID: 39683177
you need to replace  lastsnapshot-00000n.vmdk with your disk name!
0
 

Author Comment

by:michael334
ID: 39683217
Sorry, very long day.

have tried vmkfstools -t0 -v10 TTS-DRW-SP10-000001-delta.vmdk

/vmfs/volumes/bf892fac-32f639fa/TTS-DRW-SP10 # vmkfstools -t0 -v10 TTS-DRW-SP10-000001-delta.vmdk
DISKLIB-DSCPTR: descriptor above max size: 67522560
DISKLIB-LINK  : "TTS-DRW-SP10-000001-delta.vmdk" : failed to open (The file specified is not a virtual disk).
DISKLIB-CHAIN : "TTS-DRW-SP10-000001-delta.vmdk" : failed to open (The file specified is not a virtual disk).
DISKLIB-LIB   : Failed to open 'TTS-DRW-SP10-000001-delta.vmdk' with flags 0xe The file specified is not a virtual disk (15).
Failed to open virtual disk: The file specified is not a virtual disk 15
AIOMGR-S : stat o=1 r=8 w=0 i=0 br=37952 bw=0
OBJLIB-LIB : ObjLib cleanup done.

I assume this is not a good response.
0
 
LVL 120
ID: 39683231
It would appear that the chain of snapshots are corrupt.

You could forcibly remove the snapshots, but this could result in a corrupted virtual machines that does not start, and the files are corrupted.

Do you have any backup, you can restore?
0
 

Author Comment

by:michael334
ID: 39683244
Unfortunately there has been an issue with the backup, i have made a copy of the VM, do you think it possible to build a VM of the same name and disk size then replace the .vmdk file ?
0
 
LVL 120
ID: 39683260
Unfortunately, the snapshots deltas, are linked to the parent disk. If the snapshots are corrupt, the parent VMDK without the snapshots, could also be corrupted.

You could try removing all the snapshots, and try starting the VM.
0
 

Author Comment

by:michael334
ID: 39683267
looking at the files the only ones with any data are the two -delta.vmdk files, i assume deleting them will kill the VM.

File List
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39683285
I've just noticed, your missing the parent flat disk. The parent is called name-flat.vmdk.

without the parent disk, the virtual machine disks, I'm afraid are beyond repair.

It might be worth using a Recovery tool, to see if it can recover the name-flat.vmdk.

see here

http://www.diskinternals.com/vmfs-recovery/

check the parent disks are not in any other folder?
0
 

Author Comment

by:michael334
ID: 39683290
Thanks for your assistance, will look further into the recovery options.
Appreciate the prompt responses.
0
 

Author Comment

by:michael334
ID: 39683306
I've requested that this question be closed as follows:

Accepted answer: 0 points for michael334's comment #a39683290

for the following reason:

Prompt and concise answers
0
 
LVL 120
ID: 39683307
If the Answers to this Question, have been helpful, please Assign Points.
0
 

Author Closing Comment

by:michael334
ID: 39683339
Quick and concise responses, much appreciated
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

752 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