NAME
accopy fcancel - Stop the copy session forcibly
SYNOPSIS
accopy fcancel -a diskArrayName -type {local | remote | odx | all} [-xml]
accopy fcancel -a diskArrayName -sa srcDiskArrayName -ta dstDiskArrayName [-xml]
accopy fcancel -a diskArrayName -s srcVolume -t dstVolume [-xml]
accopy fcancel -v srcVolume -estimate [-xml]
accopy fcancel -a diskArrayName -stdin [-xml]
DESCRIPTION
This command forcibly stops 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 forcible stop of copy sessions is to be executed.
This option specifies the type of copy session that is to undergo a forcible stop.
local: Stops only OPC, QuickOPC, EC, SnapOPC, SnapOPC+, monitor sessions, and Extended Copy forcibly.
remote: Stops only REC sessions forcibly.
odx: Stops ODX forcibly.
all: Stops all sessions forcibly.
This option specifies the forcible stop of all REC sessions set up from the device set with the -sa option toward the device set 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 AdvancedCopy Manager CCM management device, specify the Box ID (40 characters) instead of the ETERNUS name of the AdvancedCopy Manager CCM.
This option specifies the forcible stopping of the copy session from the volume specified with the -s option to the volume specified with the -t option.
Either srcVolume or dstVolume must be the same volume for the device specified with the -a option.
For srcVolume and dstVolume, specify the names of the volumes displayed as Source and Target columns respectively with the accopy query command. However, one cannot specify volumes that are displayed as [***Other-Storage***].
This option specifies the forcible stop of monitor sessions which has been set to the -v option.
For srcVolume, specify the name of the volume displayed as Source column with the accopy query command.
This option specifies the forcible stop of multiple copy sessions read from standard input.
Specify the copy sessions which are to be forcibly stopped in Tab Separated Values (TSV) format as follows.
When the copy type is not "Estimate":
copySourceVolume<TAB>copyDestinationVolume<RETURN>
When the copy type is "Estimate":
copySourceVolume<RETURN>
This option specifies when displaying the result of the command execution by the XML format.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Stopping copy sessions in storage device units forcibly
> accopy fcancel -type all -a ET001 ET001/0x1:ET001/0x2 # DATE : 2008/06/24 16:28:00 - << OPC Disconnected >> ET001/0x3:ET001/0x4 # DATE : 2008/06/24 16:28:01 - << OPC Disconnected >> [Omission] ET001/0x146:ET002/0x146 # DATE : 2008/06/24 16:40:20 - << EC Disconnected >> Succeeded : 720 Failed : 0
Stopping REC sessions forcibly
> accopy fcancel -a ET001 -sa ET002 -ta ET001 ET002/0x1:ET001/0x1 # DATE : 2010/06/24 16:28:00 - << EC Disconnected >> ET002/0x2:ET001/0x2 # DATE : 2010/06/24 16:28:01 - << EC Disconnected >> [Omission] ET002/0x159:ET001/0x159 # DATE : 2010/06/24 16:40:34 - << EC Disconnected >> Succeeded : 345 Failed : 0
Stopping a copy session in session units forcibly
> accopy fcancel -a ET001 -s ET001/0x1[addr=0x3F,size=0x7FFF] -t ET001/0x2[addr=0x3F] ET001/0x3[addr=0x3F,size=0x7FFF]:ET001/0x3[addr=0x3F] # DATE : 2010/06/24 16:40:34 - << Disconnected >> Succeeded : 1 Failed : 0
Stopping a monitor session in session units forcibly
> accopy fcancel -v ET001/0xA[addr=0x3F,size=0x7FFFFFC0] -estimate ET001/0xA[addr=0x3F,size=0x7FFFFFC0] # DATE : 2010/06/24 16:28:00 - << Estimate Disconnected >> Succeeded : 1 Failed : 0
Stopping multiple copy sessions forcibly
> type SESSIONS.txt ET001/0x1 ET001/0x3 ET001/0x2[addr=0x800,size=0xC800000] ET001/0x4[addr=0x800] ET001/0x5 ET001/0x6 ET001/0x7[addr=0x3F,size=0x1400000] ET001/0x8[addr=0x7F] ET002/0x9 ET001/0x9 ET001/0xA[addr=0x3F,size=0x7FFFFFC0] ET001/0xB ET001/0xC ET001/0xD[addr=0x3F,size=0x1400000] ET001/0xE[addr=0x7F] > accopy fcancel -a ET001 -stdin < SESSIONS.txt ET001/0x1:ET001/0x3 # DATE : 2010/06/24 16:28:00 - << EC Disconnected >> ET001/0x2[addr=0x800,size=0xC800000]:ET001/0x4[addr=0x800] # DATE : 2010/06/24 16:28:00 - << OPC Disconnected >> ET001/0x5:ET001/0x6 # DATE : 2010/06/24 16:28:00 - << SnapOPCP Disconnected >> ET001/0x7[addr=0x3F,size=0x1400000]:ET001/0x8[addr=0x7F] # DATE : 2010/06/24 16:28:00 - << SnapOPCP Disconnected >> ET002/0x9:ET001/0x9 # DATE : 2010/06/24 16:28:00 - << REC Disconnected >> ET001/0xA[addr=0x3F,size=0x7FFFFFC0] # DATE : 2010/06/24 16:28:00 - << Estimate Disconnected >> ET001/0xB:ET001/0xC # DATE : 2010/06/24 16:28:00 - << QuickOPC Disconnected >> ET001/0xD[addr=0x3F,size=0x1400000] ET001/0xE[addr=0x7F] # DATE : 2010/06/24 16:28:00 - << Xcopy Disconnected >> Succeeded : 8 Failed : 0
NOTES
Use ETERNUS Web GUI or ETERNUS CLI to stop the monitor session started by the following methods.
Operation by Copy command via SAN
Started by Copy command via LAN
Started by ETERNUS Web GUI
Started by ETERNUS CLI
Operation by Copy command via LAN
Started by Copy command via SAN