Solved

Virtual Machine Failure

Posted on 2013-11-27
15
1,588 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
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.
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 tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

920 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