คลังเก็บป้ายกำกับ: vmware

VMWare Unable to open file : One of the disk in this virtual machine is already in use

วันนี้เปิด VMWare ที่ย้ายมาจาก Server ของ BitLover กลับพบ Message ว่า

“Unable to open file : One of the disk in this virtual machine is already in use by a virtual machine or by a snapshot”

ดังรูป

ผมก็ตกใจสิครับ แต่คุ้นๆ เคยแก้แล้ว แต่ไม่ได้จดเอาไว้ (ในเว็บ) ลองนั่งๆ คิดดูแล้ว เริ่มจำได้ว่า คราวที่แล้ว มีการ Add Disk ลงใน vmware พอเปิดมามันขึ้น Error อย่างนี้เลย

ทางแก้ของผมคือทำการ ลบ Disk ที่ Add เอาไว้ทั้งหมด แล้ว Add Disk ใหม่ครับ

เท่านี้ก็สามารถใช้ได้ตามปกติแล้วครับ

VMWare Error “Failed to lock the file.”

วันนี้พี่มอร์ Restart Server หลักของ Bitlover แล้วเปิด VMWare แล้วเจอ Error แบบนี้

“Cannot open the disk ‘D:vmwareWindows Server 2003 Standard Edition.vmdk’ or
one of the snapshot disks it depends on. Reason: Failed to lock the file.”

คิดในใจว่า วัีนนี้ซวยแล้ว Vmware เปิด ไฟล์ Windows เราไม่ได้ เลยลองไป แก้ ชื่อ Folder

Windows Server 2003 Standard Edition.vmdk.lck
เป็น
Windows Server 2003 Standard Edition.vmdk.lck- (เติมเครื่องหมายลบเข้าไปแทน)

ปรากฏรันได้ปกติ รอดตายแล้วเรา T-T

ปล.
บังเอิญ Server หลักมัน Hang อาจจะทำให้ Lockfile มันเสียน่ะครับ

ลองดูนะครับ เผื่อบางคนเป็นเหมือนกันครับ