Skip to main content

snapmirror snapshot-owner show

Contributors
Suggest changes

Display Snapshot Copies with Owners

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The snapmirror snapshot-owner show command is used to list all Snapshot copies with owners that were added using the snapmirror snapshot-owner create command.

Parameters

{ [-fields <fieldname>,…​]

If this parameter is specified, the command displays information about the specified fields.

| [-instance ] }

If this parameter is specified, the command displays detailed information about all fields.

-vserver <vserver name> - Vserver Name

This parameter specifies the Vserver on which the volume is located.

-volume <volume name> - Volume Name

This parameter specifies the name of the volume.

[-snapshot <snapshot name>] - Snapshot Copy Name

If this parameter is specified, the command displays the owner name for the specified Snapshot copy.

Examples

The following example lists all Snapshot copies with owners on volume vol1 in Vserver vs0 . The system-generated default owner name is displayed as "-".

cluster1::> snapmirror snapshot-owner show
    -vserver vs0.example.com -volume vol1
Vserver  Volume               Snapshot             Owner Names
-------- -------------------- -------------------- --------------------
vs0.example.com
         vol1                 snap2                -
                              snap1                app1

The following example displays the owner name for Snapshot copy snap1 on volume vol1 in Vserver vs0.example.com .

cluster1::> snapmirror snapshot-owner show
    -vserver vs0.example.com -volume vol1 -snapshot snap1
Vserver: vs0.example.com
      Volume: vol1
    Snapshot: snap1
 Owner Names: app1