Skip to main content
A newer release of this product is available.

lun copy show

Contributors
Suggest changes

Display a list of LUNs currently being copied

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

Description

The lun copy show command shows information about LUNs currently being copied in the cluster.

Note This command is not supported for a Vserver with Infinite Volume.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Destination Vserver Name

Selects LUN copy operations that match this parameter value.

[-destination-path <path>] - Destination Path

Selects LUN copy operations that match this parameter value.

[-source-vserver <vserver name>] - Source Vserver Name

Selects LUN copy operations that match this parameter value.

[-source-path <path>] - Source Path

Selects LUN copy operations that match this parameter value.

[-source-snapshot <snapshot name>] - Source Snapshot Name

Selects LUN copy operations that match this parameter value.

[-is-promoted-early {true|false}] - Is Destination Promoted Early

Selects LUN copy operations that match this parameter value.

[-max-throughput {<integer>[KB|MB|GB|TB|PB]}] - Maximum Transfer Rate (per sec)

Selects LUN copy operations that match this parameter value.

[-job-status {Preparing|Allocation-Map|Data|Destroying|Paused-Admin|Paused-Error|Complete|Destroyed}] - LUN Copy Status

Selects LUN copy operations that match this parameter value. The possible values are:

  • Preparing - the LUN copy job is in Preparing status.

  • Allocation-Map - the LUN copy job is in Allocating status.

  • Data - the LUN copy job is in Moving Data status.

  • Destroying - the LUN copy job is in Destroying status.

  • Paused-Admin - the LUN copy job is in Paused By Admin status.

  • Paused-Error - the LUN copy job is in Paused By Error status.

  • Complete - the LUN copy job is in Complete status.

  • Destroyed - the LUN copy job is in Destroyed status.

[-progress-percent <percent>] - LUN Copy Progress (%)

Selects LUN copy operations that match this parameter value.

[-elapsed-time <time_interval>] - Elapsed Time

Selects LUN copy operations that match this parameter value.

[-cutover-time <time_interval>] - Cutover Time

Selects LUN copy operations that match this parameter value.

[-is-snapshot-fenced {true|false}] - Is Snapshot Fenced

Selects LUN copy operations that match this parameter value.

[-is-destination-ready {true|false}] - Is Destination Ready

Selects LUN copy operations that match this parameter value.

[-last-failure-reason <text>] - Last Failure Reason

Selects LUN copy operations that match this parameter value.

Examples

cluster1::> lun copy show
Vserver   Destination Path                Status          Progress
--------- ------------------------------- --------------- --------
vs1       /vol/vol2/lun1                  Data            35%
vs1       /vol/vol2/lun2                  Complete        100%
2 entries were displayed.

The example above displays information about all the LUN copy operations in the cluster.

cluster1::> lun copy show -vserver vs1 -destination-path /vol/vol2/lun1 -instance
Destination Vserver Name: vs1
               Destination Path: /vol/vol2/lun1
            Source Vserver Name: vs1
                    Source Path: /vol/vol1/lun1
           Source Snapshot Name: -
  Is Destination Promoted Early: false
Maximum Transfer Rate (per sec): 0B
                LUN Copy Status: Data
          LUN Copy Progress (%): 35%
                   Elapsed Time: 145s
            Cutover Time (secs): 0s
             Is Snapshot Fenced: true
           Is Destination Ready: true
            Last Failure Reason: -

The example above displays all information about the LUN being copied to /vol/vol2/lun1 in Vserver vs1 .