Verify you have sufficient disk space in your ERSSD as defragmentation requires as much space as the original ERSSD for working space.
Set your site version to 15.0 or later to allow you to use the defrag parameter.
Use sysadmin erssd , defrag only when the replication system is not busy.