• 沒有找到結果。

Create FlashCopy Logical Drive

This command creates a FlashCopy of a base logical drive. This command defines three ways to create a FlashCopy logical drive:

v User-defined disk drives v User-defined array

v User-defined number of disk drives

If you choose to define a number of disk drives, the controller firmware chooses which disk drives to use for the FlashCopy logical drive.

Syntax (User-Defined Disk Drives)

create FlashCopyLogicalDrive baseLogicalDrive=”baselogical driveName”

[repositoryRAIDLevel=(1 | 3 | 5 | 6)

repositoryDrives=(enclosureID1,drawerID1,slotID1 ... enclosureIDn,drawerIDn,slotIDn) repositoryArrayUserLabel=”flashcopyLogicalDriveName”

warningThresholdPercent=percentValue repositoryPercentOfBase=percentValue repositoryUserLabel=”repositoryName”

repositoryFullPolicy=(failBaseWrites | failFlashCopy) or

create flashCopyLogicalDrive baseLogicalDrive=”baselogical driveName”

[repositoryRAIDLevel=(1 | 3 | 5 | 6)

repositoryDrives=(enclosureID1,drawerID1,slotID1 ... enclosureIDn,drawerIDn,slotIDn) UserLabel=”flashcopyLogicalDriveName”

warningThresholdPercent=percentValue repositoryPercentOfBase=percentValue repositoryUserLabel=”repositoryName”

repositoryFullPolicy=(failBaseWrites | failFlashCopy)

Syntax (User-Defined Array)

create FlashCopylogical drive baselogical drive=”baselogical driveName”

[repositoryArray=arrayNumber

freeCapacityArea=freeCapacityIndexNumber

repositoryArrayuserLabel=”flashcopyLogical DriveName”

warningThresholdPercent=percentValue repositoryPercentOfBase=percentValue repositoryUserLabel=”repositoryName”

repositoryFullPolicy=(failBaseWrites | failFlashCopy)

Syntax (User-Defined Number of Disk Drives)

create flashcopyLogicalDrive baseLogicalDrive=”baseLogicalDriveName”

[repositorRAIDLevel=(1 | 3 | 5 | 6) repositoryDriveCount=numberOfDrives

DriveMediaType=(HDD | SSD | unknown | allMedia) DriveType=(fibre | SATA | SAS | PATA)

repositoryArrayUserLabel=”flashcopylogicalDriveName”

warningThresholdPercent=percentValue repositoryPercentOfBase=percentValue repositoryUserLabel=”repositoryName”

repositoryFullPolicy=(failBaseWrites | failFlashCopy)

A FlashCopy logical drive is a point-in-time image of a logical drive in a storage subsystem, which is created by using the create FlashCopylogical drive command

and specific parameters as described in the next section.

Parameters

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. EnclosureID1,drawerID1,slotID1 ... enclosureIDn,drawerIDn,slotIDn is for EXP5060 only.

Other enclosures, use enclosureID1,slotID1 ...

enclosureIDn,slotIDn instead. Enclosure ID values are 0 to 99. Drawer ID values are 1 to 5. 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.

repositoryArrayUserLabel 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 a array. For example, a array might have the following 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 (“ ”).

Parameter Description

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.

Notes

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

enclosureLossProtectparameter 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.