Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 192300

Re: How to dismount the volumes if the application crashes.

$
0
0

Hi Manickam,

 

In response to your post here (please do not cross post between different discussions)

 

Finally :-)))

 

I think chances are good that there is some light at the end of the tunnel - at least regarding your dismount problem.

 

In the above scenario.,If i will try to mount the vmdk file after the above crash,I am getting the following error message

 

Read error : The specified virtual disk needs repair

 

I was hoping that you would report this error. Unfortunately I am currently not behind my development machine which means I do not have the VDDK header files available right now but if I remember correctly there must be a function named VixDiskLib_CheckRepair(...) in vixDiskLib.h. Take a look at it and its docs. This should be the function you are looking for. The thing is that this function clears the unclean shutdown flag set in the uncleanly shutdown .vmdk file. The unclean shutdown results from the crash.

 

As soon as I am back behind my development machine I will send you a snippet of my mount test routine which exactly addresses the unclean shutdonw flag via VixDiskLib_CheckRepair(...).

 

Hold on I will get back to you in about 10 hours ;-)

--

Thomas G.


Viewing all articles
Browse latest Browse all 192300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>