This started when trying to power on a VM after a power failure on my ESXI host. Anyways one of my VM's will not power back one, give me the error 'Cannot open the disk '/vmfs/volumes/4a365b5d-eceda1-19-439b-000cfc0086f3/examplevm/examplevm-000001.vmdk' or one of the snapshot disks it depends on.'
So I've tried the following:
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1007969
Still no luck, I currenly have to delta files or snapshots, and for some reason I cannot get my VM to revert back to these. Not sure what to do know, anyone have any ideas?
Thanks.
Sorry, Yea I meant that I changed the file size within the vsphere client and NOT the actual vmdk files.
ok - then we go on with 101 Gb size from now on.
We can not revert the size change of the basedisk easily.
So we adjust the snapshots.
So please stop everything like copy for now and delete the 3 small vmdks - replace them with the ones I attached and try the
vmkfstool -i "ManagementServer-000002.vmdk" "mgmt-server.vmdk"
again.
Sorry - for the confusion
I copied over the files, still get the same error. Below is ouput and also the list of all files in the directory.
not good
so let me summarize for now
we tried to clone each snapshot in to a new vmdk using clean edited descriptor-vmdks from me - in both sizes 100Gb and 101 Gb
all clone attempts failed
in my experience this most probably means: the snapshots were not written completely to disk while your ESXi crashed.
This means they have holes.
ESXi does not have tools to fix this.
VMware Workstation has tools to fix this holes - if and only if the damage is not too serious.
It is midnight here and I have to rise early. So we call it a day for now.
Tomorrow I am on the road and can not look into this.
We can arrange something for thursday.
In the mean time you could do a few things.
1. try to copy the directory with datastorebrowser to a new location on the ESXi
- this maybe useful if the problem is with the VMFS filesystem itself
2. find a machine with XP 32 or 2003 32 and download the VM directory to the Windows machine.
A USB-disk with NTFS would be good enough to store the directory.
Also download VMwaorkstation 7.1.4 and install it.
3. if both fails download a Ubuntu 64bit LiveCD from here http://www.ubuntu.com/download/ubuntu/download select the 64bit version
4. install skype and teamviewer on the 32 bit Windows machine
Please decide wether this VM is important enough to go on ... we may need several hours to try the steps I have in mind
in case Andre has more ideas - trust him - you are in good hands.
I am running out of options - other than the ones that require that I work on the case myself
Well in trying to copy all of the files to my local workstation I run into errors. This only occurs for the flat file and the 000002 delta file. I've tried using the datastore browser, WinSCP, and PSCP. For some reason they just hang after a while, thinking it might be my pc I tried another one, still the same issue. The files timeout when transferring them and cant figure out why.
Looks like I'm at the point to just scrap the idea on trying to recover the server and just start over.
Unless you or anyone else has any ideas.
Thanks.
Hi
bad news - but somehow I expected this outcome - thats why I told you to download a Ubuntu LiveCD
with that LiveCD you can boot the ESXi with the LiveCD, attach a USB-drive and mount the VMFS-volumes.
Often vmdks that can not be copied using other tools or procedures can still be copied with the LiveCD.
To be able to do this you need:
You need internet-access as the Ubuntu-LiveCDs dont have the package vmfs-tools on board.
So you need to boot into Ubuntu Trial-mode - then establish a working internet connection.
Then you start Synaptic package manager and allow Ubuntu to use all preset sources. Needs two activated checkboxes in the source-selection screen that are now unchecked.
Then you do an upgrade of the system - when that is done you can install "vmfs-tools" with Synaptic.
vmfs-tools are a command line tool that is quite easy to use.
See this site for an explanation
http://planetvm.net/blog/?p=1592
If necessary I can talk you through the procedure on the phone or skype - but it is not too hard.
Well - this is a procedure for the desperate - even if you copy the files you still cant be sure they are readable or can be repaired.
I only use this for really IMPORTANT data ...
Hi Continuum,
As I would like to try and work the problem out and as much as I appriciate all of the help that you've provide I may just call it quits. Part of me want to try and see if its possible to get this VM working again but the other part just wants to move on. I've rebuilt a new VM and have got it setup to basically mimic the old one and is functioning properly. So if you're ok with not going forward, I'm fine with that.
Again, thanks for your help.
Jake
NO - that is not ok.
I already canceled my weekend trip to Paris just to fix your VM. You cant give up now !!!
Just kidding ...
The case has aroused my curiousity and I would have liked to see deeper into it.
But then I would do the same - if this VM has no mission-critical data that MUST be restored it is not really worth any more effort.
Ulli
Haha, yea part of me wants to try an get it fixed but its just not necessary. I'm just glad it happend to a non mission critical machine.
Thanks for the help Ulli!
Jake