• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1741
  • Last Modified:

Virtual Machine Failure

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
michael334
Asked:
michael334
  • 8
  • 7
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
michael334Author Commented:
Thanks for the response, image attached

VM Folder Contents
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
michael334Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you need to replace  lastsnapshot-00000n.vmdk with your disk name!
0
 
michael334Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
michael334Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
michael334Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
michael334Author Commented:
Thanks for your assistance, will look further into the recovery options.
Appreciate the prompt responses.
0
 
michael334Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If the Answers to this Question, have been helpful, please Assign Points.
0
 
michael334Author Commented:
Quick and concise responses, much appreciated
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 8
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now