How do we shrink macOS guest VMs? I'm open to manual or automated solutions, running either in the guest VM or the host OS or both.
With (the competitor's product) I have scripts which go something like this:
In Guest VM:
* diskutil secureErase freespace 0 'Macintosh HD'
In Host OS:
* Defragment: /Applications/VMware Fusion.app/Contents/Library/vmware-vdiskmanager -d /path/to/disk
* Compact: /Applications/VMware Fusion.app/Contents/Library/vmware-vdiskmanager -k /path/to/disk
This is not perfect, but does a decent job of freeing up unused space.
Can we come up with a similar pathway for compacting PVM files in Parallels?
With (the competitor's product) I have scripts which go something like this:
In Guest VM:
* diskutil secureErase freespace 0 'Macintosh HD'
In Host OS:
* Defragment: /Applications/VMware Fusion.app/Contents/Library/vmware-vdiskmanager -d /path/to/disk
* Compact: /Applications/VMware Fusion.app/Contents/Library/vmware-vdiskmanager -k /path/to/disk
This is not perfect, but does a decent job of freeing up unused space.
Can we come up with a similar pathway for compacting PVM files in Parallels?