Top
ETERNUS SF Express V15.2/ AdvancedCopy Manager V15.2 Operation Guide for Copy Control Module
ETERNUS

4.9.1 accopy query (Copy session information display command)

NAME

accopy query - Display the copy session information


SYNOPSIS

If displaying copy session information by device unit
accopy query -a DISKARRAY-NAME -type { local | remote | odx | all } [-xml]
If displaying REC session information
accopy query -a DISKARRAY-NAME -sa SOURCE-DISKARRAY-NAME -ta TARGET-DISKARRAY-NAME [-xml]

DESCRIPTION

This command displays the status of the copy sessions being performed in the specified ETERNUS Disk storage system.


OPTIONS

-a DISKARRAY-NAME

This option specifies the name of ETERNUS Disk storage system for which the execution status of copy sessions is displayed.

-type { local | remote | odx | all }

This option specifies the type of copy sessions to display.

  • local: Displays only OPC, QuickOPC, EC, SnapOPC, SnapOPC+, updated estimation sessions, and Extended Copy.

  • remote: Displays only REC sessions.

  • odx: Displays ODX.

  • all: Displays all sessions.

-sa SOURCE-DISKARRAY-NAME -ta TARGET-DISKARRAY-NAME

This option specifies the display of information for all REC sessions set up from the device specified with -sa option towards the device specified with -ta option.
Either SOURCE-DISKARRAY-NAME or TARGET-DISKARRAY-NAME must match with the ETERNUS name specified to -a option.
If specifying a device other than a management device for AdvancedCopy Manager CCM or Express, specify the Box ID (40 characters) instead of the ETERNUS name of AdvancedCopy Manager CCM or Express.

-xml

This option specifies when displaying by the XML format.


EXIT STATUS

=0 : Completed successfully
>0 : Terminated abnormally


EXAMPLES

The following table shows the meanings of the information displayed.

Title

Explanation

Source

Displays the logical volume for the copy source.

  • When the copy is executed in logical volume units:

    • ETERNUS name or Box ID

    • Logical volume number

  • When the copy is executed in extent units:

    • ETERNUS name or Box ID

    • Logical volume number[addr=copy_start_location,size=copy_size]

The logical volume number, copy start location and copy size are displayed in hexadecimal.

<=>

Displays the copy direction.

  • "==>" (Copying from the source to the target) is always displayed.

Target

Displays the logical volume for the copy destination.

  • When the copy is executed in logical volume units:

    • ETERNUS name or Box ID

    • Logical volume number

  • When the copy is executed in extent units:

    • ETERNUS name or Box ID

    • Logical volume number[addr=copy_start_location,size=copy_size]

The logical volume number, copy start location and copy size are displayed in hexadecimal.

When Copy Type field is "Estimate", "----" is displayed.

SID(RSID)

Displays the session ID and REC session ID in "x(y)" format.

  • For OPC, QuickOPC, EC, SnapOPC, SnapOPC+, Extended Copy, and Offloaded Data Transfer:

    • x: Session ID

    • y: ----

  • For REC:

    • x: Session ID (the ID for the session in the device specified with -a option)

    • y: REC session ID (the ID for the session in the copy destination device specified with -a option)

Copy Type

Displays the copy type.

  • OPC: The OPC is executing.

  • QuickOPC: The QuickOPC is executing.

  • SnapOPCP: The SnapOPC+ or SnapOPC is executing.

  • EC: The EC is executing.

  • REC: The REC is executing.

  • Estimate: The update estimation session is executing.

  • Xcopy: The Extended Copy is executing.

  • ODX: Offloaded Data Transfer is executing.

Copy Status

Displays the copy execution status.

  • Starting: The copy is starting up.

  • Executing: The copy is executing.

  • Suspend: The EC or REC is suspended.

  • Error Suspend: An error has occurred, preventing the copy process from continuing.

  • Hardware Suspend: The copy is temporarily stopped due to a path error between devices. (If using REC)

  • Hardware Suspend(Use REC DISK): The copy is using the REC Disk buffer due to a path error between devices. (If using REC)

  • Hardware Suspend(Use REC BUFFER): The copy is doing REC buffering due to a path error between devices. (If using REC)

"EC Hardware suspend (Use REC DISK)" and "EC Hardware suspend (Use REC BUFFER)" is displayed in the following circumstance.

Copy Phase

Displays the current phase.

  • Readying: Concurrent OPC is defined.

  • Copying: Copy processing is executing.

  • Paired: The copy is in the equivalency maintenance state.

  • Tracking: QuickOPC copy processing has completed, and tracking is in progress.

  • Copying/Tracking: Both QuickOPC copy processing and tracking are in progress.

  • N/A: Copy processing has not been performed.

Progress

Displays the progress of copy processes as a percentage. The "N/A" is displayed in the following case.

  • When Copy Type field is SnapOPCP or Estimate

  • When the copy is executed in logical volume units on the following ETERNUS Disk storage systems.

    • ETERNUS DX80/DX80 S2 (for firmware version numbers before V10L30)

    • ETERNUS DX90/DX90 S2 (for firmware version numbers before V10L30)

    • ETERNUS DX400/DX400 S2 series (for firmware version numbers before V10L30)

    • ETERNUS DX8000/DX8000 S2 series (for firmware version numbers before V10L30)

    • ETERNUS2000

    • ETERNUS4000

    • ETERNUS8000

Copied Block

Displays the number of blocks that have been copied.
If Copy Phase field displays "Tracking", it displays the number of blocks that have not been updated after the last execution of the logical copy.

Total Block

Displays the number of total blocks.
When the copy is executed in logical volume units, it is displayed "N/A".

Operation Date

If a copy session exists, it displays the date for when the EC session state transitions indicated below last occurred (last execution date) in a "yyyy/mm/dd hh:mm:ss" format.
The displaying of the date is performed on the basis of the target device's time zone.

  • For OPC, QuickOPC, Extended Copy, and Offloaded Data Transfer:

    • Starting logical copy

    • State transition to error suspend (Copy Status field displays "Error Suspend")

  • For SnapOPC+ and SnapOPC:

    • Starting logical copy

    • State transition to error suspend (Copy Status field displays "Error Suspend")

  • For EC:

    • Suspend

    • Concurrent suspend

    • State transition to error suspend (Copy Status field displays "Error Suspend")

  • For REC:

    • Start of REC by initial copy skip function

    • Suspend

      • If a forced suspension was performed to an REC session in a Hardware suspend status, the last execution date will be initialized as "----/--/-- --:--:--."

      • If a forced suspension was performed to an REC session with the execution of a copy in progress, the last execution date is not updated.

    • Concurrent suspend
      During a not-yet transmitted suspension, the last execution date is not updated.

    • State transition to an Error suspend (Copy Status field displays "Error Suspend")

    • State transition to a Hardware suspend (Copy Status field displays "Hardware Suspend")

If any of the following conditions apply, the date will be displayed as "----/--/-- --:--:--."

  • If an EC/REC initial copy was started from a status of a copy session not existing

  • If the REC session underwent an automatic recovery from a Hardware suspend status (Copy Status field displays "Hardware Suspend")

  • If using a device for which the last execution date recording function is not supported (ETERNUS DX60/DX60 S2/DX80/DX90, ETERNUS DX400 series, ETERNUS DX8000 series, ETERNUS2000, ETERNUS4000, ETERNUS8000)


NOTES