Table 5-3. FlashCopy Logical Drive Parameters (continued)
Parameter Description
repositoryPercentOfBase The size of the FlashCopy repository logical drive as
a percentage of the base logical drive size. The
default value is 20, which represents 20 percent of
the base logical drive size.
repositoryFullPolicy The type of FlashCopy processing that you want to
continue if the FlashCopy repository logical drive is
full. You can choose to fail writes to the base logical
drive (failBaseWrites) or fail writes to the
FlashCopy logical drive (failFlashCopy). The
default value is failFlashCopy.
This example shows the create flashcopyLogicalDrive command that includes user-defined parameters:
c:\...\...\client>smcli 123.45.67.89 -c “create
flashcopyLogicalDrive baseLogicalDrive=\”Mars_Spirit_4\”
repositoryRAIDLevel=5 repositoryDriveCount=5
driveType=fibre userLabel=\”Mars_Spirit_4_EnhFlashCopy1\”
repositoryUserLabel=\”Mars_Spirit_4rep1\”
warningThresholdPercent=75 repositoryPercentOfBase=40
repositoryFullPolicy=failFlashCopy;”
This example shows how to use the command in a script file:
create flashcopyLogicalDrive baseLogicalDrive=”Mars_Spirit_4”
repositoryRAIDLevel=5 repositoryDriveCount=5 driveType=fibre
userLabel=”Mars_Spirit_4_EnhFlashCopy1”
repositoryUserLabel=”Mars_Spirit_4_rep1”
warningThresholdPercent=75 repositoryPercentOfBase=40
repositoryFullPolicy=failFlashCopy;
FlashCopy Logical Drive Names and FlashCopy Repository Logical
Drive Names
The FlashCopy logical drive names and the FlashCopy repository logical drive names can be any
combination of alphanumeric characters, hyphens, and underscores. The maximum length of the logical
drive names is 30 characters. You must enclose the logical drive name in double quotation marks. The
character string cannot contain a new line. Ensure that you use unique names; if you do not use unique
names, the controller firmware returns an error.
One technique for naming the FlashCopy logical drive and the FlashCopy repository logical drive is to
add a hyphenated suffix to the original base logical drive name. The suffix distinguishes between the
FlashCopy logical drive and the FlashCopy repository logical drive. For example, if you have a base
logical drive with a name of Engineering Data, the FlashCopy logical drive can have a name of
Engineering Data-S1, and the FlashCopy repository logical drive can have a name of Engineering
Data-R1.
If you do not choose a unique name for either the FlashCopy logical drive or the FlashCopy repository
logical drive, the controllers create a default name by using the base logical drive name. These examples
are FlashCopy logical drive names that the controllers might create:
v If the base logical drive name is aaa and does not have a FlashCopy logical drive, the default
FlashCopy logical drive name is aaa1.
v If the base logical drive already has n-1 number of FlashCopy logical drives, the default name is aaa-n.
v If the base logical drive name is aaa and does not have a FlashCopy repository logical drive, the
default FlashCopy repository logical drive name is aaa-R1
5-6 IBM System Storage DS3000, DS4000, and DS5000: Command Line Interface and Script Commands Programming Guide