Search the VMware Knowledge Base (KB)
View by Article ID

Repairing a virtual disk in Workstation (2019259)

  • 158 Ratings
Language Editions

Symptoms

  • The virtual machine fails to start after a forced host shutdown.
  • The virtual machine does not start after a failure.
  • When starting the virtual machine, you see an error similar to:

    Cannot open the disk 'path_to_virtual machine/virtual_disk.vmdk' or one of the snapshot disks it depends on. Reason: The specified virtual disk needs repair.

  • When trying to mount the virtual disk with VMDKMounter, you see the error:

    There is a problem trying to mount the virtual disk.

Purpose

This article provides steps to repair a virtual disk of a VMware Workstation virtual machine in Linux and Windows hosts.

Resolution

Linux Host

To repair a virtual disk of a Workstation virtual machine in a Linux host, use the vmware-vdiskmanager utility that is installed by the Workstation installer in the /usr/bin folder on a Linux host.

To use the virtual disk repair utility on a Linux host:
  1. Open a terminal window in the Linux host.
  2. Run this command:

    /usr/bin/vmware-vdiskmanager -R <path of the vmdk(virtual disk)>

    Note: Where <path of the vmdk(virtual disk)> is the folder path to the virtual disk that appeared in the error.

Windows Host

To repair a virtual disk of a Workstation virtual machine in a Windows host, use the vmware-vdiskmanager utility that is installed by the Workstation installer in the installation folder on a Windows host.
 
To use the virtual disk repair utility on a Windows host:
  1. Open a command prompt. For more information, see Opening a command or shell prompt (1003892).
  2. Navigate to the directory where Workstation is installed. By default, this directory is located at:

    • Windows XP – C:\Program Files\VMware\VMware Workstation
    • Windows Vista/Windows 7/Windows 8 32bit – C:\Program Files\VMware\VMware Workstation
    • Windows Vista/Windows 7/Windows 8 64bit – C:\Program Files (x86)\VMware\VMware Workstation
    • Windows Server 2008 R2 – C:\Program Files (x86)\VMware\VMware Workstation
    • Windows Vista/Windows 7/Windows 8 64bit/Windows 10 – C:\Program Files (x86)\VMware\VMware Workstation

  3. Run the command:

    vmware-vdiskmanager -R "<path of the vmdk(virtual disk>"

    Note: Where < path of the vmdk(virtual disk> is the complete path to the virtual disk that requires repair as reported in the error.

    Example: vmware-vdiskmanager -R "D:\Virtual Machine\Windows 7\virtualdisk.vmdk"

Additional Information

For more information, see the Virtual Disk Manager User's Guide.

See Also

Update History

09/05/2013 -Added workstation 10.x to the Product Versions.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 158 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 158 Ratings
Actions
KB: