commitflash

The commitflash command is used as part of the recovery from a disaster scenario to complete a partially formed Global Mirror consistency group.

Read syntax diagramSkip visual syntax diagram commitflash  -dev  storage_image_ID  -seqnum  flash_sequence_num  source_volume_ID  ...  "-"

Parameters

The following transactions must be completed before you can issue the commitflash command:
  1. Issue the mkflash command with the -record and -persist parameters specified to establish the FlashCopy volume pair relationship.
  2. Issue the setflashrevertible command on the FlashCopy volume pair.
-dev storage_image_ID
(Optional) The storage image ID consists of the manufacturer name, machine type, and serial number. The storage image ID is required if you do not specify a fully qualified ID for all source volumes, do not set the devid variable in your profile or through the setenv command, and the HMC is aware of more than one storage image. Using the -dev parameter will temporarily override any defined value for devid for the current command.
-seqnum flash_sequence_number
(Optional) When a FlashCopy sequence number is specified, the commit operation is performed only on those relationships that are associated with the specified number.
This parameter is not supported for machine type 2105.
Example: 0010
source_volume_ID ... | -
(Required) The source volumes for which FlashCopy relationships are to be committed. The chosen FlashCopy pair is the one established or modified with the -record parameter. This parameter accepts fully qualified volume IDs, which includes storage image IDs, or a shortened version without storage image IDs if either the -dev parameter is specified or you specify a value for the devid variable in your profile file. You must separate multiple source volume IDs with spaces.
The volume ID is a 32-bit number that can be represented as 4 hexadecimal digits in the form of XYZZ where:
X
The address group, 0-F.
XY
The logical subsystem number, 00 - FE.
ZZ
The volume number, 00 - FF.
The ellipsis (...) indicates that, optionally, you can specify multiple values. If you use the dash (-), the specified value is read from standard input. You cannot use the dash (-) while you are in the DS CLI interactive command mode.
Example of a fully qualified volume ID: IBM.2107-75FA120/0001
Example of a shortened version: 0001
Example of multiple IDs: 0001 0003 0008

Example: Committing a FlashCopy volume pair as part of a disaster recovery scenario

dscli> commitflash -dev IBM.2107-75FA120 0100
Output
FlashCopy volume pair for source 0100 successfully committed.