Usage Guidelines
l
This command is valid only for an incremental HyperCopy. The incremental HyperCopy
should be in created mode, copy completed mode or stop mode.
l
If the HyperCopy is tagged at point-in-time A, and is started later at point-in-time B, the
storage system copies data at point-in-time A on the source LUN to the target LUN.
Example
Tag the HyperCopy with the
ID
of
2
.
OceanStor: admin> taghycp -i 2
The command has been sent, please wait...
System Response
You can execute the
showhycpinfo
-i
HyperCopyID
command to check whether the HyperCopy
is marked (Mark and Mark Time).
9.2.10 addhycplun
Function
The command
addhycplun
is used to add a target LUN to the HyperCopy.
Format
addhycplun
-i
HyperCopy ID
-ti
target LUN ID
| [
-tli
target LUN link ID
-ti
target LUN ID
] |
-
twwn
target LUN WWN
| [
-twwpn
target LUN WWPN
-tln
target LUN number
]
Parameters
Keyword and Value
Description
Default Value
-i HyperCopy ID
The HyperCopy ID. The value ranges from 0
to 63.
You can query the information by running the
showhycpinfo
command.
None.
-ti target LUN ID
The target LUN ID. When the target LUN is
"internal LUN", the value ranges from 0 to
511. When the target LUN is "external LUN",
the value ranges from 100000 to 101023.
You can query the information by running the
showlunforhycp
command.
None.
9 Value-Added Service Management Commands
OceanStor S2600 Storage System
Command Reference
9-42
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)