I was running out of room in my Virtual Box Windows 7 disk. Windows was reporting used space of 18.6 GB and free space of 1.22 GB. My Mac was reporting that my disk image was using up 21.39 GB.
Compacting
On your Windows Guest:
The Parallels software create virtual disk image in Mac OS system and sometimes the files are corrupted or unable to run on parallels software panel then users need to recover the data from.hdd,.hds files with help of Parallels HDD recovery software. Parallels is a very impressive piece of software, but it’s not quite ready for prime time. In addition to using it on two different computers myself, I know many other people who use it on a daily basis, and although it’s by far the best way to run multiple operating systems on an Intel Mac, it’s also full of problems. The macro is looking for the total disk space. VMs and test machines use small disk most of the time. Memory check. The macro is looking for the total memory size. Vms and test machines use less resources. Uptime check. The macro is looking for the system uptime. Sandboxes will return a short uptime. Process check.
Run Disk Cleanup.
Run Disk Defragmenter.
Download SDelete and use it to zero out free space. I put sdelete in C:WindowsSystem32 and then ran it like this from the command prompt.
Shutdown Windows.
Parallels For Mac Prl Err Disk Sharing Violation Free
On your Mac Host:
Run VBoxManage from the Terminal to compact the disk image.
Sad Story
The Mac operating system has no native way to see those files except via sharing, and only when Windows is running. Parallels has provided an application that allows exploring the Windows virtual hard drive but that runs at the application level and is the only Mac application that can explore the VM disks.
10 parallels c api prlerrdiskfullfsyncfailed macro 1106. Sharedblock macro 1115 prlerrdisksharingviolation 1115 prlerrdisksharingviolation.
I first tried shrinking the disk image to see if that would free up room using the instructions above which were based on the article How To Shrink Your Virtualbox VM And Free Up Space For Your Hard Disk.
After doing this Windows reported used space of 18.8 GB and free space of 1.03 GB. In other words no difference. But on the Mac the disk image was now only using up 20.51 GB.
Resizing
On your Windows Guest:
Shutdown Windows.
On your Mac Host:
Run VBoxManage from the Terminal to resize the disk image. This is how I did it.
Use diskpart to resize the C: drive to use the new space.
Happy Story
Realizing that compacting did not work I shut down again and this time increased the size of the disk image by 10 GB from 20 GB to 30 GB (N = 30720).
VirtualBox showed in its settings that the disk image size was now 30 GB. But Windows still reported used space of 18.8 GB and free space of 1.03 GB. Again no difference. And on the Mac the disk image was still the same but that was to be expected.
Back to Google which led me to Windows’ brilliant tool diskpart.
Windows now reported free space of 11.0 GB.
Parallels For Mac Prl Err Disk Sharing Violation Windows 10
Parallels For Mac Prl Err Disk Sharing Violations
End Note
I originally tried resizing the disk by specifying the size of how much I wanted the disk increased, i.e. 10 GB or N=10240.
This failed with the strange error:
Parallels For Mac Prl Err Disk Sharing Violation Windows 7
Fortunately I found out in one of the VirtualBox forums that this happened because I gave the wrong argument to resize. Too bad the error message wasn’t a little more helpful.