Using the recreateFlashCopy Command

Related Topics

Use this command and its parameters to:

-or-

For more information about disabling and recreating FlashCopy logical drives, see the Subsystem Management Window online help.

This reference contains commands and parameters that are current with the latest storage management software. If you are managing storage subsystems running firmware for previous releases, not all of these commands may be supported. See the for a complete list of commands and their associated firmware levels.

If you want to...

Use this command and parameters

recreate a previously disabled FlashCopy logical drive

Back to the top

Base Command and Required Parameters

recreateFlashCopy logicalDrive ["logicalDriveLabel"];

where: ["logicalDriveLabel"] = the user label of the disabled FlashCopy logical drive, enclosed in square braces.

Important: If the logical drive label contains more than one word, white space, or any special character(s), then enclose the label in double quotes. The square braces are required.

Additional Parameters You Can Use When Recreating a FlashCopy Logical Drive

  • userLabel = any string up to 30 characters. If the label contains more than one word (a space) then enclose the string in double quotes.
  • warningThresholdPercent = integer value of the repository full percentage threshold before you receive a warning.
  • repositoryFullPolicy = failBaseWrites or failFlashCopy. This value specifies the behavior of the controller when the repository logical drive fills up.

Note: You can specify or change the WarningThresholdPercent and repositoryFullPolicy values later using the set command.

Example

Command statement:

recreateFlashCopy logical drive ["Chevelle-S1"] warningThresholdPercent=75 repositoryFullPolicy = failBaseWrites;

Execution results:

  • FlashCopy Logical Drive Chevelle-S1 is recreated as a new point-in-time image of the previously associated base logical drive.
  • Any writes to the repository logical drive previously associated with FlashCopy Logical Drive Chevelle-S1 are resumed.
  • You have changed the repository full percentage threshold to 75%. When the FlashCopy repository logical drive fills to this level, you'll receive a warning.
  • You have changed the repository full policy to fail I/O to the base logical drive when the FlashCopy repository logical drive fills up.

disable and recreate a FlashCopy logical drive

Back to the top

Base Command and Required Parameters

recreateFlashCopy logicalDrive ["logicalDriveLabel"];

where: ["logicalDriveLabel"] = the user label of the current valid FlashCopy logical drive, enclosed in square braces.

Important: If the logical drive label contains more than one word, white space, or any special character(s), then enclose the label in double quotes. The square braces are required.

Additional Parameters You Can Use

  • You can use the userLabel, warningThresholdPercent,or repositoryFullPolicy parameters described above when using this command.

Example

Command statement:

recreateFlashCopy logicalDrive ["Chevelle-S1"];

Execution results:

  • FlashCopy Logical Drive Chevelle-S1 is disabled and no longer a valid point-in-time image of the base logical drive.
  • Any writes to the repository logical drive associated with FlashCopy Logical Drive Chevelle-S1 are stopped.
  • FlashCopy Logical Drive Chevelle-S1 is recreated as a new point-in-time image of the previously associated base logical drive.
  • Any writes to the repository logical drive previously associated with FlashCopy Logical Drive Chevelle-S1 are resumed.

Related Topics

Using the disableFlashCopy Command

Learn About the Script Editor

Using the Script Editor

Command Reference

Firmware Compatibility List

Learn About the Command Line Interface

Using the Command Line Interface