This command creates a flashcopy of a base logical drive. This command defines three ways to create a flashcopy logical drive:
If you choose to define a number of disk drives, the controller firmware chooses which disk drives to use for the flashcopy logical drive.
create flashcopyLogicalDrive baseLogicalDrive=”baseLogicalDriveName” [repositoryRAIDLevel=(1 | 3 | 5 | 6) repositoryDrives=(enclosureID1,slotID1 ... enclosureIDn,slotIDn) userLabel=”flashcopyLogicalDriveName” warningThresholdPercent=percentValue repositoryPercentOfBase=percentValue repositoryUserLabel=”repositoryName” repositoryFullPolicy=(failBaseWrites | failFlashCopy) enclosureLossProtect=(TRUE | FALSE)]
create flashcopyLogicalDrive baseLogicalDrive=”baseLogicalDriveName” [repositoryArray=arrayName freeCapacityArea=freeCapacityIndexNumber userLabel=”flashcopyLogicalDriveName” warningThresholdPercent=percentValue repositoryPercentOfBase=percentValue repositoryUserLabel=”repositoryName” repositoryFullPolicy=(failBaseWrites | failFlashCopy) enclosureLossProtect=(TRUE | FALSE)]
create flashcopyLogicalDrive baseLogicalDrive=”baseLogicalDriveName” [RAIDLevel=(1 | 3 | 5 | 6) repositoryDriveCount=numberOfDrives driveType=(fibre | SATA | SAS | PATA) userLabel=”flashcopyLogicalDriveName” warningThresholdPercent=percentValue repositoryPercentOfBase=percentValue repositoryUserLabel=”repositoryName” repositoryFullPolicy=(failBaseWrites | failFlashCopy) enclosureLossProtect=(TRUE | FALSE)]
Parameter | Description |
---|---|
baseLogicalDrive | The name of the base logical drive from which you want to take a flashcopy. Enclose the base logical drive name in double quotation marks (“ ”). |
repositoryRAIDLevel | The RAID level for the flashcopy repository logical drive. Valid values are 1, 3, 5, or 6. |
repositoryDrives | The disk drives that you want to assign to the flashcopy repository logical drive. Specify the enclosure ID and the slot ID for each disk drive that you assign to the flashcopy repository logical drive. Enclosure ID values are 0 to 99. Slot ID values are 1 to 32. Enclose the list of disk drives in parentheses. |
repositoryDriveCount | The number of unassigned disk drives that you want to use for the flashcopy repository logical drive. |
driveType | The type of disk drives that you want to use for the flashcopy repository logical drive. Valid disk drive types are SCSI, fibre, or SAS. |
repositoryArray | The alphanumeric identifer (including - and _) of the array where the flashcopy repository logical drive is located. |
freeCapacityArea |
The index number of the free space in an existing array that you want to use to create the flashcopy repository logical drive. Free capacity is defined as the free capacity between existing logical drives in an array. For example, an array might have these areas: logical drive 1, free capacity, logical drive 2, free capacity, logical drive 3, free capacity. To use the free capacity following logical drive 2, you would specify:
freeCapacityArea=2 Run the show array command to determine if a free capacity area exists. |
userLabel | The name that you want to give the flashcopy logical drive. Enclose the flashcopy logical drive name in double quotation marks (“ ”). |
warningThresholdPercent | The percentage of repository capacity at which you receive a warning that the flashcopy repository logical drive is nearing full. Use integer values. For example, a value of 70 means 70 percent. The default value is 50. |
repositoryPercentOfBase | The size of the flashcopy repository logical drive as a percentage of the base logical drive. Use integer values. For example, a value of 40 means 40 percent. The default value is 20. |
repositoryUserLabel | The name that you want to give to the flashcopy repository logical drive. Enclose the flashcopy repository logical drive name in double quotation marks (“ ”). |
repositoryFullPolicy | How you want flashcopy processing to continue if the flashcopy repository logical drive is full. You can choose to fail writes to the base logical drive (failBaseWrites) or fail the flashcopy logical drive (failFlashCopy). The default value is failFlashCopy. |
enclosureLossProtect | The setting to enforce enclosure loss protection when you create the flashcopy repository logical drive. To enforce enclosure loss protection, set this parameter to TRUE. The default value is FALSE. |
SMcli 172.22.333.444 172. 22. 333.555 -c “create flashcopyLogicalDrive baseLogicalDrive=”customer_data” ;”
SMcli 172.22.333.444 172.22.333.445 -c "create FlashCopyLogicalDrive baseLogicalDrive="SQL_Data" repositoryArray="Copy_Serv_LogicalDrives" userLabel=\"SQL_data_Flash_1\" repositoryPercentOfBase=20;"
The logical drive that you are taking a flashcopy of must be a standard logical drive in the storage subsystem. The maximum number of flashcopy logical drives that you can create is one-half of the total number of logical drives that are supported by a controller.
You can use any combination of alphanumeric characters, hyphens, and underscores for the names. Names can have a maximum of 30 characters.
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 EngineeringData-R1.
If you do not choose a name for either the flashcopy logical drive or the flashcopy repository logical drive, the storage management software creates a default name by using the base logical drive name. An example of the flashcopy logical drive name that the controllers might create is, if the base logical drive name is aaa and does not have a flashcopy logical drive, the default flashcopy logical drive name is aaa-1. If the base logical drive already has n-1 number of flashcopy logical drives, the default name is aaa-n. An example of the flashcopy repository logical drive name that the controller might create is, 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. If the base logical drive already has n-1 number of flashcopy repository logical drives, the default name is aaa-Rn.
If you do not specify the unconfigured space or free space, the flashcopy repository logical drive is placed in the same array as the base logical drive. If the array where the base logical drive resides does not have enough space, this command fails.
When you assign the disk drives, if you set the enclosureLossProtect parameter to TRUE and have selected more than one disk drive from any one enclosure, the storage subsystem returns an error. If you set the enclosureLossProtect parameter to FALSE, the storage subsystem performs operations, but the array that you create might not have enclosure loss protection.
When the controller firmware assigns the disk drives, if you set the enclosureLossProtect parameter to TRUE, the storage subsystem returns an error if the controller firmware cannot provide disk drives that result in the new array having enclosure loss protection. If you set the enclosureLossProtect parameter to FALSE, the storage subsystem performs the operation even if it means the array might not have enclosure loss protection.
5.00
7.10 adds RAID 6 Level capability