SVM DR Resync fails with error "The volume's space guarantee cannot be changed"
Applies to
- ONTAP 9
- SVM DR
Issue
SVM DR transfer fails for one (or more) volumes with the full error string:
Failed to apply the source Vserver configuration. Reason: Apply failed for Object: volume Method: baseline. Reason: Unable to set volume attribute "space-guarantee" for volume "vol_name" on Vserver "dest_svm". Reason: The volume's space guarantee cannot be changed to "volume" while data-compaction is enabled and the volume contains compacted data. Use the command "volume efficiency undo -data-compaction true" to undo compaction, and then try the command again. Execute "snapmirror show -destination-vserver NASBCP2 -fields last-transfer-error,unhealthy-reason -expand" to check if the constituent volumes have encountered errors. Transfer failed