NAME
accopy query - Display the copy session information
SYNOPSIS
accopy query -a diskArrayName -type {local | remote | odx | all} [-xml]
accopy query -a diskArrayName -sa srcDiskArrayName -ta dstDiskArrayName [-xml]
DESCRIPTION
This command displays the status of the copy sessions being performed in the specified ETERNUS Disk storage system.
OPTIONS
This option specifies the name of ETERNUS Disk storage system for which the execution status of copy sessions is displayed.
This option specifies the type of copy sessions to display.
local: Displays only OPC, QuickOPC, EC, SnapOPC, SnapOPC+, monitor sessions, and Extended Copy.
remote: Displays only REC sessions.
odx: Displays ODX.
all: Displays all sessions.
This option specifies the display of information for all REC sessions set up from the device specified with the -sa option towards the device specified with the -ta option.
Either srcDiskArrayName or dstDiskArrayName must match with the ETERNUS name specified to the -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.
This option specifies when displaying by the XML format.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Displaying the information of copy sessions in storage device units
> accopy query -a ET001 Disk Array Name : ET001 BOX-ID : 00ETERNUSDXM##ET44S20A####HK000104###### Source <=> Target SID(RSID) Copy Type Copy Status Copy Phase Progress Copied Block Total Block Operation Date ------------------------------------ --- --------------------- ---------- --------- ----------- ---------- -------- ------------ ----------- --------------------- ET001/0x1 ==> ET001/0x3 0x19(----) OPC "Executing" Copying N/A 471859 N/A "2010/10/20 09:02:03" ET001/0x2[addr=0x800,size=0xC800000] ==> ET001/0x4[addr=0x800] 0x22(----) EC "Executing" Copying 68% 142606336 209715200 "2010/10/20 10:23:30" ET001/0x5 ==> ET001/0x6 0x24(----) SnapOPCP "Executing" Copying N/A 524288 N/A "2010/10/20 11:45:34" ET001/0x7[addr=0x3F,size=0x1400000] ==> ET001/0x8[addr=0x7F] 0x35(----) SnapOPCP "Executing" Copying N/A 20971520 20971520 "2010/10/19 12:00:45" ET002/0x9 ==> ET001/0x9 0x48(0x42) REC "Executing" Paired N/A 4294967295 N/A "2010/10/20 03:35:03" ET001/0xA[addr=0x3F,size=0x7FFFFFC0] ==> ---- 0x88(----) Estimate "Executing" Copying N/A 3456777 2147483584 "2010/10/20 10:30:03" ET001/0xB ==> ET001/0xC 0x92(----) QuickOPC "Executing" Readying N/A 0 N/A "----/--/-- --:--:--" ET001/0xD[addr=0x3F,size=0x1400000] ==> ET001/0xE[addr=0x7F] 0x19(----) Xcopy "Executing" Copying N/A 512 N/A "2010/10/20 10:02:03"
Displaying the information of REC copy sessions
> accopy query -a ET001 -sa ET002 -ta ET001 Disk Array Name : ET001 BOX-ID : 00ETERNUSDXM##ET44S20A####HK000104###### Source <=> Target SID(RSID) Copy Type Copy Status Copy Phase Progress Copied Block Total Block Operation Date --------- --- --------- ---------- --------- ----------- ---------- -------- ------------ ----------- --------------------- ET002/0x9 ==> ET001/0x9 0x48(0x42) REC "Executing" Paired N/A 4294967295 N/A "2010/10/20 03:35:03"
The following table shows the meanings of the information displayed.
Title | Explanation |
---|---|
Source | Displays the logical volume for the copy source.
The logical volume number, copy start location and copy size are displayed in hexadecimal. |
<=> | Displays the copy direction.
|
Target | Displays the logical volume for the copy destination.
The logical volume number, copy start location and copy size are displayed in hexadecimal. When Copy Type column is "Estimate", "----" is displayed. |
SID(RSID) | Displays the session ID and REC session ID in "x(y)" format.
|
Copy Type | Displays the copy type.
|
Copy Status | Displays the copy execution status.
"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.
|
Progress | Displays the progress of copy processes as a percentage. The "N/A" is displayed in the following case.
|
Copied Block | Displays the number of blocks that have been copied. |
Total Block | Displays the number of total blocks. |
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.
If any of the following conditions apply, the date will be displayed as "----/--/-- --:--:--."
|
NOTES
If the information acquisition operation has failed, this command outputs the following message and then terminates with an error.
ccm5004 Operation failed. function=stxccopy.QUERY, message=message
It is possible that the access volume is incorrect. Therefore, check it using the acarray detail command and check that the CCM Server can access to the access volume.
If inaccessible, set up a volume for which access is possible by using the acarray change command.
The information is displayed in ascending order of the copy source session IDs.
For the Source and Target, either of the following information is displayed.
ETERNUS name
If using a device registered to AdvancedCopy Manager CCM or Express
Box ID
If using a device not registered to AdvancedCopy Manager CCM or Express.
There are cases of [***Other-Storage***] being displayed for the Source or Target column. If, after specifying the device which is correctly displayed and executing the acarray remove command, one then re-executes the acarray add command, both ETERNUS names will be correctly displayed.