Table of ContentsView in Frames

Use of the snap list command to display SnapMirror updates on the destination volume

The snap list command displays information for each Snapshot copy on a storage system. Along with the name of the Snapshot copy, it displays when the Snapshot copy was created and the size of the Snapshot copy.

Example

The following example describes SnapMirror Snapshot copies that are created on a source volume and copied to a destination volume. In this example, data is copied from vol1 of systemA (the source) to vol2 of systemB (the destination).

To create a baseline version of a destination volume, systemA creates a Snapshot copy named systemB(0016782130)_vol2.1 on systemA. All Snapshot copies in vol1 of systemA, including systemB(0016782130)_vol2.1, are transferred to vol2 of systemB. When replicating a qtree, SnapMirror transfers only the qtree’s data in the Snapshot copy for the qtree.

If the administrator runs the snap list command on the destination systemB after the systemB(0016782130)_vol2.1 Snapshot copy is transferred from systemA to systemB, a listing similar to the following example is generated.
systemB> snap list vol2

working.....

%/used   %/total   date          name 
-------- --------  ------------  --------
0% ( 0%) 0% ( 0%)  Nov 17 10:50  systemB(0016782130)_vol2.1 (snapmirror)
1% ( 0%) 0% ( 0%)  Nov 17 10:00  hourly.0
1% ( 0%) 0% ( 0%)  Nov 17 00:00  nightly.0
1% ( 0%) 0% ( 0%)  Nov 15 16:00  hourly.1
1% ( 0%) 1% ( 0%)  Nov 15 15:00  hourly.2
2% ( 0%) 1% ( 0%)  Nov 15 14:00  hourly.3
2% ( 0%) 1% ( 0%)  Nov 15 13:00  hourly.4
2% ( 0%) 1% ( 0%)  Nov 15 12:00  hourly.5

When it is time to update the destination, another Snapshot copy is created on systemA.

The snap list command on systemA generates the following display after the systemB(0016782130)_vol2.2 Snapshot copy is created on systemA.
systemA> snap list vol1

working....

%/used   %/total   date          name
-------- --------  ------------  --------
0% ( 0%) 0% ( 0%)  Nov 17 10:52  systemB(0016782130)_vol2.2 (snapmirror)
0% ( 0%) 0% ( 0%)  Nov 17 10:51  systemB(0016782130)_vol2.1 (snapmirror)
1% ( 0%) 0% ( 0%)  Nov 17 10:00  hourly.0
1% ( 0%) 0% ( 0%)  Nov 17 00:00  nightly.0
1% ( 0%) 0% ( 0%)  Nov 15 16:00  hourly.1
1% ( 0%) 1% ( 0%)  Nov 15 15:00  hourly.2

After the systemB(0016782130)_vol2.2 Snapshot copy is transferred from systemA to systemB, both Snapshot copies exist on systemB. On systemA, however, systemB(0016782130)_vol2.1 is no longer needed and is deleted; only systemB(0016782130)_vol2.2 is retained to be used for the next transfer.

You can see a list of each SnapMirror Snapshot copy on the server, and the qtrees it contains, and the client sources of those qtrees and their timestamps by using the snap list -q command.

You can use the snap list -o command to display the names, timestamps, and sources (if they are copies) of the qtrees in a specified volume or at a path name.