Solved

Virtual Machine Failure

Posted on 2013-11-27
15
1,614 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 119
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 119
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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

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

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

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.

Question has a verified solution.

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

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

820 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