Creating a new destination and SnapMirror relationship failed
Applies to
- ONTAP 9
- SnapMirror
- Vserver Root volume missing
Issue
When trying to create a new SnapMirror relationship for SnapMirror Business Continuity the following error is displayed:
Operation to create a destination endpoint and create a SnapMirror relationship failed. Reason: Out of 1 endpoints, 0 endpoints have been protected and protection has failed for 1 endpoints. List of paths that failed protection and reasons for failure: <VSERVER>:<VOLUME>: Failed to create volume "<VSERVER>:<VOLUME>".
The following errors are logged in MGWD
log:
[kern_mgwd:info:2084] 0x832607100: 8603e800000869d5: ERR: Table::volume_create: create_imp: 2694: start: <vserver_name>, <volume>Tue Jul 20 2021 11:12:29 +00:00 [kern_mgwd:info:2084] 0x832607100: 8603e800000869d5: ERR: tables::snapmirror_utils: [volCreate:16132] Failed to create FlexVol <vserver_name>:<volume> on aggr <aggregate>, error: Unable to get default security-style from the root volume of the Vserver due to root volume offline. Provide security-style.
[kern_mgwd:info:2084] 0x832607100: 8603e800000869d5: ERR: tables::snapmirror_utils: [volPlaceAndCreateUsingBalancedPlacement:18890] Failed to create vol <vserver_name>:<volume> on aggr <aggregate>: Error: Unable to get default security-style from the root volume of the Vserver due to root volume offline. Provide security-style.
[kern_mgwd:info:2084] 0x832607100: 8603e800000869d5: ERR: tables::snapmirror_utils: [volPlaceAndCreateUsingBalancedPlacement:18919] Volume <vserver_name>:<volume> : Unable to find a suitable aggregate.
[kern_mgwd:info:2084] 0x832607100: 8603e800000869d5: ERR: VOPL::SnapmirrorProtect: jobID=56864 [execute:1450] Vol create failed with error Failed to create volume "<vserver_name>:<volume>".
Tue Jul 20 2021 11:13:29 +00:00 [kern_mgwd:info:2084] 0x832605800: 8603e800000869d5: INFO: VOPL::SnapmirrorProtect: Volume name from dstEndpointName <volume>
Tue Jul 20 2021 11:13:29 +00:00 [kern_mgwd:info:2084] 0x832605800: 8603e800000869d5: NOTICE: APS: src/api/BalancedPlacement.cc:place:625 PT: appName: <volume>
Tue Jul 20 2021 11:13:29 +00:00 [kern_mgwd:info:2084] 0x832605800: 8603e800000869d5: NOTICE: APS: src/api/BalancedPlacement.cc:place:625 PT: groupName: <volume>Tue Jul 20 2021 11:13:29 +00:00 [kern_mgwd:info:2084] 0x832605800: 8603e800000869d5: ERR: Table::volume_create: create_imp: 2694: start: <vserver_name>, <volume>