Came across an issue upgrading/running my newly installed VMWare 6 install. Error was along the lines of:
"Cannot open the disk '$FILENAME' or one of the snapshot disks it depends on. Reason: Failed to lock the file."
(obviously where $FILENAME is the VMWare disk - *.vmdk - file!) My Logfile output:
May 10 20:43:31.593: vmx| ----------------------------------------
May 10 20:43:31.593: vmx| Opened paging file G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\564d377a-cb50-1a6d-04c3-660d09fdb44e.vmem
May 10 20:43:31.609: vmx| Mapped mainmem as pageable
May 10 20:43:31.609: vmx| MStat: Creating Stat vm.uptime
May 10 20:43:31.609: vmx| MStat: Creating Stat vm.suspendTime
May 10 20:43:31.609: vmx| MStat: Creating Stat vm.powerOnTimeStamp
May 10 20:43:31.625: vmx| VMXVmdb_LoadRawConfig: Loading raw config
May 10 20:43:31.625: vmx| DISK: OPEN scsi0:0 'G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk' persistent R[(null)]
May 10 20:43:31.625: vmx| FILE: CreateEntryDirectory: 'G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk.lck' exists; an old style lock file?
May 10 20:43:31.625: vmx| FILE: FileIO_Lock Failed to get a lock for file 'G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk': Lock timed out.
May 10 20:43:31.625: vmx| DISKLIB-DSCPTR: Couldn't lock descriptor file G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk: 4.
May 10 20:43:31.625: vmx| DISKLIB-DSCPTR: Failed to open extents for descriptor file in normal mode
May 10 20:43:31.625: vmx| DISKLIB-LINK : "G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk" : failed to open (Failed to lock the file).
May 10 20:43:31.625: vmx| DISKLIB-CHAIN : "G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk" : failed to open (Failed to lock the file).
May 10 20:43:31.625: vmx| DISKLIB-LIB : Failed to open 'G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk' with flags 0xa (Failed to lock the file).
May 10 20:43:31.625: vmx| DISK: Cannot open disk "G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk": Failed to lock the file (16392).
May 10 20:43:31.625: vmx| Msg_Post: Error
May 10 20:43:31.625: vmx| [msg.disk.noBackEnd] Cannot open the disk 'G:\Virtual Machines\Windows 2003 Server\Enterprise - Default\Windows Server 2003 Enterprise Edition.vmdk' or one of the snapshot disks it depends on.
May 10 20:43:31.625: vmx| [msg.disk.configureDiskError] Reason: Failed to lock the file.----------------------------------------
May 10 20:43:37.250: vmx| Module DiskEarly power on failed.
May 10 20:43:37.250: vmx| VMX_PowerOn: ModuleTable_PowerOn = 0
May 10 20:43:37.250: vmx| AIOWIN32: asyncOps=0 syncOps=0 bufSize=0Kb delayed=0 fixed=0 sgOp=0 sgOn=1
May 10 20:43:37.265: vmx| WORKER: asyncOps=0 maxActiveOps=0 maxPending=0 maxCompleted=0
May 10 20:43:37.343: vmx| vmdbPipe_Streams: Couldn't read
May 10 20:43:37.343: vmx| VMX idle exit
May 10 20:43:37.343: vmx| Flushing VMX VMDB connections
May 10 20:43:37.343: vmx| IPC_exit: disconnecting all threads
May 10 20:43:37.343: vmx| VMX exit (0).
It may be possibly because i shutdown VMWare improperly that a lock file was left in the folder(lck), removing the LCK file in the folder fixed the issue for the above Windows 2003 image. However, another VMWare image still didnt work even after erasing the lock files, I had to remove the last created snapshot and "upgrade" the VMWare image to the new v6.x format (it was previously in VMWare 5 format) for it to properly boot. This is with VMWare Workstation v6.0 45731.