To repair a virtual disk:
Note: If you are using Fusion 3.1.0, you must obtain the correct version of the utility before proceeding with the repair. For more information, see Repairing a virtual disk in Fusion 3.1 and Workstation 7.1 (1023856).
- Ensure that your virtual machine is shut down and not suspended. If your virtual machine is suspended, see Fixing an unexpected signal 10 error in Fusion (1018757).
- Open Finder, navigate to
/Applications/Utilities
, and open Terminal. - Copy and paste this line into the Terminal window:
- If you are using Fusion 4.x or above:
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -R
- If you are using Fusion 3 or below:
sudo /Library/Application\ Support/VMware\ Fusion/vmware-vdiskmanager -R
Note: If there is no space at the end of the command, press now. Also, do not press Enter now because the command is not yet complete.
- In a new Finder window, locate your virtual machine bundle. For more information, see Locating the virtual machine bundle in VMware Fusion (1007599).
- Right-click the virtual machine bundle and select Show Package Contents.
- Locate the
.vmdk
file that was in the error message and drag it into the Terminal window. This copies the file location into the command that has already been started. The command in Terminal looks similar to this:
- If you are using Fusion 4.x or above:
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -R /Users/yourusername/Documents/Virtual\ Machines.localized/Windows\ XP.vmwarevm/Windows\ XP.vmdk
- If you are using Fusion 3 or below:
sudo /Library/Application\ Support/VMware\ Fusion/vmware-vdiskmanager -R /Users/yourusername/Documents/Virtual\ Machines.localized/Windows\ XP.vmwarevm/Windows\ XP.vmdk
- Enter the administrator password when prompted, then press Enter.
Note: For security reasons, the typed password is not displayed. You do not need to enter your password again, for the next five minutes.
- Wait for the repair to complete. A message appears indicating whether the virtual disk repair is successful. After the command has run, you see one of these messages:
- No issues: No errors were found on the virtual disk, <location of disk>
- Issue repaired: The virtual disk, <path to disk>, was corrupted and has been successfully repaired.
- Can't repair: The virtual disk, <path to disk>, is corrupted but the repair process has failed.
- Can't repair: No result is displayed as the disk file damage is such as it has caused vdiskmanager to crash.
Note: If you have any snapshots, you must repeat Steps 6 and7 for each main disk (the base disk and the main snapshot disks). For more information, see Contents of the virtual machine bundle in Fusion (1021016).
- To exit from Terminal, go to Terminal > Quit Terminal.
If the repair is successful, open Fusion and start the virtual machine. If the repair fails, you need to restore from a backup of your virtual machine or create a new virtual machine. For more information, see Installing Windows in a virtual machine using VMware Fusion Easy Install (1011677)