Solved

Virtual Machine Failure

Posted on 2013-11-27
15
1,575 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
  • 8
  • 7
15 Comments
 
LVL 118
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 118
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
 

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 118
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 118
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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 118
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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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 118
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

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

11 Experts available now in Live!

Get 1:1 Help Now