Quantcast
Channel: VMware Communities : Unanswered Discussions - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 872

vmdk mount error within Win7 x64 (running on ESXi)

$
0
0

Hello,

 

I have a Windows 7 x64 which is running on a VMware ESXi 5. I tried to run virtual machine within this windows with a VMware Player. This is working. My problem is when I try to mount the virtual disk within this Win7 with the Virtual Disk Development Kit (VMware-vix-disklib-5.0.0-614080.i386.exe). This is the log:

 

Apr 17 13:24:14.691: Using system libcrypto, version 90811F

Apr 17 13:24:14.785: DISKLIB-DSCPTR: Failed to read descriptor: Invalid extentLine '"MS-DOS-s001.vmdk"' for encoding windows-1252.
Apr 17 13:24:14.785: DISKLIB-DSCPTR: Failed to parse descriptor file in normal mode:
Apr 17 13:24:14.785: DISKLIB-LINK  : "C:\VMware\MS-DOS.vmdk" : failed to open (Disk encoding error). 
Apr 17 13:24:14.785: DISKLIB-CHAIN : "C:\VMware\MS-DOS.vmdk" : failed to open (Disk encoding error).
Apr 17 13:24:14.785: DISKLIB-LIB   : Failed to open 'C:\VMware\MS-DOS.vmdk' with flags 0x11 Disk encoding error (61).
Apr 17 13:24:14.785: SNAPSHOT: IsDiskModifySafe: Scanning directory of file C:\VMware\MS-DOS.vmdk for vmx files.
Apr 17 13:24:14.785: baseDir = 'C:\VMware\', vmx file = 'DOS.vmx'
Apr 17 13:24:14.785: SNAPSHOT: FindDiskInConfig: Could not load the dictionary file 'C:\VMware\DOS.vmx'.
Apr 17 13:24:14.785: SNAPSHOT: AnalyzeSnapshotTree: Search start:      'C:\VMware\DOS.vmx', baseDiskOnly [ ]
Apr 17 13:24:14.785: SNAPSHOT: SnapshotConfigInfoRead: Unable to load dict from 'C:\VMware\DOS.vmx'.
Apr 17 13:24:14.785: SNAPSHOT: SnapshotConfigInfoRead failed for file 'C:\VMware\DOS.vmx': Dictionary problem (6)
Apr 17 13:24:14.785: Warning: Apr 17 13:24:14.785: Failed to analyze snapshot chain 'C:\VMware\DOS.vmx'.
Will not be able to make an informed decision based on partial information.
Apr 17 13:24:14.785: Error analyzing 'C:\VMware\DOS.vmx'. Snapshot error: 6, legacySuccess: 1, numStates: 0
Apr 17 13:24:14.785: VMware-mount cannot mount this virtual disk. Make sure it is the latest snapshot and does not belong to a suspended VM. Check the logfile for more details.

Errorcode = -2.
I tried to comment the ddb.encoding line in the vmdk file but than I got another error:
Apr 17 13:36:49.581: Using system libcrypto, version 90811F
Apr 17 13:36:49.675: SNAPSHOT: IsDiskModifySafe: Scanning directory of file C:\VMware\MS-DOS.vmdk for vmx files.
Apr 17 13:36:49.675: baseDir = 'C:\VMware\', vmx file = 'DOS.vmx'
Apr 17 13:36:49.675: SNAPSHOT: FindDiskInConfig: Could not load the dictionary file 'C:\VMware\DOS.vmx'.
Apr 17 13:36:49.675: SNAPSHOT: AnalyzeSnapshotTree: Search start:      'C:\VMware\DOS.vmx', baseDiskOnly [ ]
Apr 17 13:36:49.675: SNAPSHOT: SnapshotConfigInfoRead: Unable to load dict from 'C:\VMware\DOS.vmx'.
Apr 17 13:36:49.675: SNAPSHOT: SnapshotConfigInfoRead failed for file 'C:\VMware\DOS.vmx': Dictionary problem (6)
Apr 17 13:36:49.675: Warning: Apr 17 13:36:49.675: Failed to analyze snapshot chain 'C:\VMware\DOS.vmx'.
Will not be able to make an informed decision based on partial information.
Apr 17 13:36:49.675: Error analyzing 'C:\VMware\DOS.vmx'. Snapshot error: 6, legacySuccess: 1, numStates: 0
Apr 17 13:36:49.675: VMware-mount cannot mount this virtual disk. Make sure it is the latest snapshot and does not belong to a suspended VM. Check the logfile for more details.

Errorcode = -2.
As I mentioned earlier the I can run the virtual machine with the VMware Player with any error and I can mount the disk from the VMware Player GUI as well. The virtual machine stopped as Shutdown and not suspended.
Because I need a command line interface for this vmdk mounting I have to find a solution for this.
I tried to copy the vmdk into a real machine (which is not running on the ESXi) and I could mount that virtual disk file.
Any idea what can be the problem?

Viewing all articles
Browse latest Browse all 872

Trending Articles



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