commitflash
The commitflash command is used as part of the recovery from a disaster scenario to complete a partially formed Global Mirror consistency group.
Parameters
The following transactions must be completed before you
can issue the commitflash command:
- Issue the mkflash command with the -record and -persist parameters specified to establish the FlashCopy volume pair relationship.
- 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.
- 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.
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.