Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Repairing a sparse virtual disk in Fusion (1023888)

Last Updated: 3/23/2024Categories: How toTotal Views: 137658Language:
English

24 like this article

Subscribe to get an email
newsletter with new updates

24 people found this helpful Please provide article feedback:

Symptoms

The virtual machine fails to start after a forced Mac shutdown.

The virtual machine does not boot up after a crash.

When starting the virtual machine, you see the error:

Operation on file failed. If the file resides on a remote file system, please make sure your network connection and the server where this disk resides are functioning properly.

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.

When trying to repair the virtual disk using vmware-vdiskmanager, you see the error:

The virtual disk is corrupted but the repair process has failed.

When starting the virtual machine, you see the error:

"Unable to delete snapshot" virtual disk needs repair

Purpose

This article describes the steps to repair a sparse virtual disk. You cannot repair a pre-allocated virtual disk. To determine if you have a sparse disk or a pre-allocated disk, see Making a Fusion virtual disk pre-allocated or sparse (1021565).

Note: Not all corrupted virtual disks can be repaired. Power outages, force-quitting Fusion, and powering off the Mac (rather than shutting it down) might cause unrepairable damage to a virtual machine. Bad sectors on a physical hard disk or a failing hard drive can also cause damage to a virtual machine by corrupting the virtual disk.

Resolution

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)

Related Information

Locating the virtual machine bundle in VMware Fusion
Fixing an unexpected signal 10 error in Fusion
Contents of the virtual machine bundle in Fusion
Making a Fusion virtual disk pre-allocated or sparse
Repairing a virtual disk in Fusion 3.1 and Workstation 7.1
Fusion でスパース仮想ディスクを修復する
修复 Fusion 中的稀疏虚拟磁盘

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Fusion Pro

VMware Fusion

Related Versions:

VMware Fusion Pro 8.x

VMware Fusion Pro 11.x

VMware Fusion Pro 10.x

VMware Fusion 8.x

VMware Fusion 7.x

VMware Fusion 6.x

VMware Fusion 5.x

VMware Fusion 4.x

VMware Fusion 3.x

VMware Fusion 2.x

VMware Fusion 11.x

VMware Fusion 10.x

VMware Fusion 1.x

view all

Take Our Survey

Support Assistant