NAME
acsnap query - Displays the status of snapshot type Advanced Copy.
SYNOPSIS
acsnap query -g COPY-GROUP [-p PAIR] [-r] [-xml] [When referring the estimation of the amount of snap data volume updates:] acsnap query -estimate -v VOLUME-NAME [-xml]
DESCRIPTION
Snapshot type copy statuses of a specified copy group or pair are displayed.
It is also possible to refer to the estimation of the amount of snap data volume updates for the copy-source volume.
OPTIONS
This option specifies the copy group name.
Only when the type of a copy group is as follows, the copy group is specifiable.
SnapOPCP
This option specifies a copy pair.
This option displays the status of a copy in the reverse direction to the direction that has been specified.
Estimates the amount of snap data volume updates.
When referring to the estimation of the amount of snap data volume updates, specify a copy-source logical volume.
The following is an example of a format to specify a logical volume.
(1) ETERNUS name
(2) Logical volume number
This option specifies when displaying by the XML format.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
C:\>acsnap query -g Group01 Copy Group Name : Group01 Copy Group Type : SnapOPCP Disk Array Name : DX80 (00ETERNUSDXL##ET08E21A####LN4310901078##) Source <=> Target SID Snap Status Gen Date Copied Block --------- --- --------- ---- ------------------------- ------------- ------------ DX80/0x1 ==> DX80/0x5 0x23 "Copy On Write(Active)" 3 10minute 1048576 DX80/0x1 ==> DX80/0x4 0x22 "Copy On Write(Inactive)" 2 3hour 1048576 DX80/0x1 ==> DX80/0x3 0x21 "Copy On Write(Inactive)" 1 1day 1048576
The following table shows the meanings of the information displayed.
Title | Explanation |
---|---|
Source | Displays a copy-source logical volume. |
<=> | Displays a copy direction. The following information is displayed.
|
Target | Displays a copy-destination logical volume. |
SID | Displays a copy source session ID. |
Snap Status | Displays Snapshot type executed status. Snap execution statuses are as follows.
|
OPC Status | Displays OPC executed status. OPC execution statuses are as follows.
|
Copy Phase | Displays the current phase.
|
Date | Displays the elapsed time of Snapshot type copy execution.
* If below one minute, it is displayed as "0minute". |
Gen | Displays snap generation numbers. For snap generation numbers, 1 is the oldest and as the number is larger, it shows more new generations. |
Copied Block | Displays the number of copied blocks. |
[When referring the amount of snap data volume updates:]
C:\>acsnap query -estimate -v DX80/0x1 Update ------ 10M
The following table shows the meanings of the information displayed.
Title | Explanation |
---|---|
Update | Displays the amount of snap data volume updates in MB. |
NOTES
Information such as Copy direction data and SID data may display as "???". It is possible that the copy-source logical volume size and copy-destination logical volume size are different or the access path is incorrect.
Check the size of their logical volumes. If it is different, register the copy pair that the copy-source logical volume size and copy-destination logical volume size are same.
And, check the access path using the acarray detail (Command for displaying detailed information about ETERNUS storage systems).
For details on how to correctly set the access path, refer to "6.4.1.2 Access Path Settings".
If the copy group type is OPC, QuickOPC, EC or REC, this command ends abnormally.
This command is not available for ETERNUS Disk storage systems registered as a remote device.
Copy-source logical volumes and snap generation numbers are sorted to be displayed. (However, a pair that has no session is displayed at the bottom of the sort column.)