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) Specifies the storage image ID, which includes manufacturer, machine type, and serial number. This parameter is required if you do not specify a fully qualified ID for all the source volumes and you do not specify a value for the devid variable in your profile file.
Example: IBM.1750-68FA120
 -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) Specifies 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 is the address group (0 - 1), XY together is the logical subsystem number 00 - 1E (for 1750) , and ZZ is the volume number (00 - FF).
If you specify the dash (-), this parameter information is automatically supplied.
Example of a fully qualified volume ID: IBM.1750-68FA120/0001
Example of a shortened version: 0001
Example of multiple IDs: 0001 0003 0008

Example (1750)

Invoking the commitflash command
dscli>commitflash IBM.1750-68FA120/0100
The resulting output
Date/Time: Sun Aug 11 02:23:49 PST 2004 DS CLI Version: 5.0.0.0 
DS: IBM.1750-68FA120

FlashCopy volume pair IBM.1750-75FA120/0100:IBM.1750-68FA120/0200 
successfully committed.
Related reference
mkflash
rmflash
lsflash
setflashrevertible
resyncflash
reverseflash
revertflash
unfreezeflash
mkgmir
pausegmir
resumegmir
rmgmir
showgmir
lssession
mksession
chsession
rmsession
chlss
chlcu
mkremoteflash
lsremoteflash
rmremoteflash
setremoteflashrevertible
resyncremoteflash
reverseremoteflash
commitremoteflash
revertremoteflash
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.