Replication fails with a message: Not enough free space in disk to create VSS snapshot

Replication fails with a message: Not enough free space in disk to create VSS snapshot

Challenge 

Replication of a machine fails with a similar error message in the Events section:

Cause

Although the machine might have enough free space in its disks as prescribed in our official Deployment requirements, the actual disk settings can limit the shadow copy storage capacity making it insufficient for a successful replication.

Solution

Disk properties have to be adjusted to allow a larger shadow copy storage limit or no limit at all, which is more favorable.

In My Computer right-click on a disk and select "Properties". Navigate to the "Shadow Copies" tab and then to "Settings".
For the "Maximum size" select either Use limit, which has to be at least 15% of the disk capacity, or No limit and click OK.
This operation can be performed for each of the available disks to make sure the replication is not affected later on.


Alternatively, VSS storage parameters can be checked and configured using commands in the CLI.
The vssadmin list shadowstorage command is used to view the list of the machine's shadow storages.