BlueXP restore fails with Relationship already exists
Applies to
- ONTAP 9.x
- BlueXP
Issue
BlueXP Restore Operation fails with:
"Failed to perform restore operation. Relationship with destination SVM:DestVol already exists"
Cause
- The previous restore request did not finish yet.
- One Destination volume can only hold one Restore session at a time.
- Failed or stale RST type relationship was not cleaned after a previous SnapMirror restore.
Solution
- Wait for the previous restore to finish or create a second destination volume for the second restore operation.
- When a relationship type RST is visible in snapmirror show, but there is not an active SnapMirror restore, it implies the RST needs to be cleaned up :
cluster::> snapmirror show
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
---------- ---- ------------ ------------ ------------- --------- ------- -------
SM1:vol1 RST SVM1:Restore Snapmirrored Idle - true -
Clean up the stale RST relationship :
Note: Ensure the destination volume is online before running below command.
snapmirror restore -source-path <source path> -destination-path <destination path> -clean-up-failure
Partner Notes
partnerNotes_text
Additional Information
additionalInformation_text
Internal Notes
internalNotes_text
