Table of ContentsView in Frames

Removing the SnapMirror status entry after an SMTape backup

You can remove the SnapMirror status entry corresponding to the volume you backed up.

Steps

  1. To list the SnapMirror status entries, enter the following command:
    snapmirror status vol_name

    vol_name is the name of the volume that you backed up.

    The SnapMirror status of the volume is displayed. In case of a successful SMTape backup, the source is the volume being backed up and the destination is a Snapshot copy. This Snapshot copy has a name in the snapmirror_tape_hexchar format, in which hexchar is a set of hexadecimal characters specific to the Snapshot copy. In case of a failed SMTape backup, the source is the volume being backed up and the destination is a tape name.

  2. To remove the SnapMirror status entry by releasing the SnapMirror relationship, enter one of the following commands:
    If the backup... Then enter the following commands:
    Is successful
    snapmirror release vol_name snapmirror_tape_hexadecimal_char
    fails
    snapmirror release vol_name filer_name:tape_device

    vol_name is the volume being backed up.

    filer_name is the name of the storage system to which the tape device is attached.

    tape_device is the tape device to which the volume is backed up.

    When the backup is successful and the SnapMirror status entry is removed by using the snapmirror release command, SMTape deletes the auto-Snapshot copy. If you specify a Snapshot copy name for the backup, this Snapshot copy is not deleted, but the softlock on this Snapshot copy is removed.

Example

The following example removes the SnapMirror status entry for the testdata volume that was successfully backed up:
filer1>snapmirror status testdata

Snapmirror is on.
Source            Destination                                          State   Lag     Status
filer1:testdata   snapmirror_tape_2b8da4a4-1fa9-11de-842e-000c29d658dc Source  0:02:31 Idle

filer1>snapmirror release testdata snapmirror_tape_2b8da4a4-1fa9-11de-842e-000c29d658dc 
The following example removes the SnapMirror status entry for the testdata2 volume that failed during the backup:
filer1>snapmirror status testdata2
Snapmirror is on.
Source               Destination      State     Lag    Status
filer1:testdata2     filer1:rst1a     Source    -      Idle

filer1>snapmirror release testdata2 filer1:rst1a
In case of a failed backup, though the SnapMirror status entry is deleted, the SnapMirror release command displays an error message as follows:
snapmirror release: testdata2 filer1:rst1a: No release-able destination found that matches those parameters.  
Use 'snapmirror destinations' to see a list of release-able destinations.