Disable long-term retention snapshots before ONTAP upgrade
In a relationship of cascaded volumes, long-term retention (LTR) snapshots are supported only on the final SnapMirror destination volume of the cascade in all versions of ONTAP 9. Enabling LTR snapshots on any middle volume in the cascade results in missed backups and snapshots.
Learn more about long-term retention snapshots.
If you have an unsupported configuration in which LTR snapshots have been enabled on any middle volume of a cascade, contact technical support and reference Knowledge Base article Cascading a volume with Long-Term Retention (LTR) snapshots enabled is not supported for assistance.
The following ONTAP versions do not allow you to enable LTR snapshots on any volume in a cascade except the final SnapMirror destination volume.
-
9.15.1 and later
-
9.14.1P2 and P4-P14
-
9.13.1P9-P17
-
9.12.1 P12-P19
-
9.11.1P15-P20
-
9.10.1P18-P20
-
9.9.1P20
Before upgrading from an ONTAP version that allows you to enable LTR snapshots on middle volumes of a cascade to an ONTAP version that blocks it, you need to disable LTR snapshots to avoid missed backups and snapshots.
You need to take action in the following scenarios:
-
Long-Term Retention (LTR) snapshots are configured on the "B" volume in an "A > B > C" SnapMirror cascade or on another middle SnapMirror destination volume in your larger cascade.
-
LTR snapshots are defined by a schedule applied to a SnapMirror policy rule. This rule does not replicate snapshots from the source volume but creates them directly on the destination volume.
For more information on schedules and SnapMirror policies, see the Knowledge Base article How does the "schedule" parameter in an ONTAP 9 SnapMirror policy rule work?.
-
Remove the LTR rule from the SnapMirror policy on the middle volume of the cascade:
Secondary::> snapmirror policy remove-rule -vserver <> -policy <> -snapmirror-label <>
Learn more about
snapmirror policy remove-rule
in the ONTAP command reference. -
Add the rule again for the SnapMirror label without the LTR schedule:
Secondary::> snapmirror policy add-rule -vserver <> -policy <> -snapmirror-label <> -keep <>
Removing LTR snapshots from the SnapMirror policy rules means SnapMirror will pull the snapshots with the given label from the source volume. You might also need to add or modify a schedule on the source volume's snapshot policy to create properly labeled snapshots. Learn more about
snapmirror policy add-rule
in the ONTAP command reference. -
If necessary, modify (or create) a schedule on the source volume snapshot policy to allow snapshots to be created with a SnapMirror label:
Primary::> volume snapshot policy modify-schedule -vserver <> -policy <> -schedule <> -snapmirror-label <>
Primary::> volume snapshot policy add-schedule -vserver <> -policy <> -schedule <> -snapmirror-label <> -count <>
|
LTR snapshots can still be enabled on the final SnapMirror destination volume within a SnapMirror cascade configuration. |