SANtricity 11.8 Commands ( CA08871-194 ~ 196 )
Re-create synchronous mirroring repository volume
The recreate storageArray mirrorRepository
command creates a new Synchronous Mirroring repository volume (also called a mirror repository volume) by using the parameters defined for a previous mirror repository volume.
Supported Series
This command applies to any individual storage system, including the HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 and AB3100 series, as long as all SMcli packages are installed.
Roles
To execute this command on an HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 or AB3100 storage system, you must have the Storage Admin role.
Context
This command is no longer supported in either the GUI or the CLI. If you attempt to run this command, an error message returns indicating that this functionality is no longer supported and that no changes will be made to the specified remote mirror repositories. |
The underlying requirement is that you have previously created a mirror repository volume. When you use this command, you can define the mirror repository volume in one of three ways: user-defined drives, user-defined volume group, or user-defined number of drives for the mirror repository volume. If you choose to define a number of drives, the controller firmware chooses which drives to use for the mirror repository volume.
Syntax (user-defined drives)
recreate storageArray mirrorRepository repositoryRAIDLevel=(1 | 3 | 5 | 6) repositoryDrives=(trayID1,pass:quotes[[drawerID1,]slotID1 ... trayIDN,[drawerIDN,]slotIDN) [trayLossProtect=(TRUE | FALSE)] [dataAssurance=(none | enabled)]
Syntax (user-defined volume group)
recreate storageArray mirrorRepository repositoryVolumeGroup=volumeGroupName [freeCapacityArea=pass:quotes[freeCapacityIndexNumber]
Syntax (user-defined number of drives)
recreate storageArray mirrorRepository repositoryRAIDLevel=(1 | 3 | 5 | 6) repositoryDriveCount=numberOfDrives ( [driveMediaType=(HDD | SSD | unknown | allMedia)] | [driveType=(SAS | NVMe4K)] ) [repositoryVolumeGroupUserLabel="userLabel"] | [trayLossProtect=(TRUE | FALSE)] | [drawerLossProtect=(true|false)] | [dataAssurance=(none | enabled)]
Parameters
Parameter | Description |
---|---|
|
The RAID level for the mirror repository volume. Valid values are |
|
The drives that you want to use for the mirror repository volume. Drawer ID values are For high-capacity drive trays, specify the tray ID value, the drawer ID value, and the slot ID value for the drive. For low-capacity drive trays, specify the tray ID value and the slot ID value for the drive. Tray ID values are All slot ID maximums are 24. Slot ID values either begin at 0 or 1, depending on the tray model. Drive trays compatible with HB2100/HB2200/HB2300 and HB5100/HB5200 controllers have slot ID numbers starting at 0. Enclose the tray ID value, the drawer ID value, and the slot ID value in square brackets ([ ]).
|
|
The name of the volume group where the mirror repository volume is located. |
|
The name that you want to give the new volume group in which the mirror repository volume will be located. Enclose the volume group name in double quotation marks (" "). |
|
The index number of the free space in an existing volume group that you want to use to re-create the mirror repository volume. Free capacity is defined as the free capacity between existing volumes in a volume group. For example, a volume group might have the following areas: volume 1, free capacity, volume 2, free capacity, volume 3, free capacity. To use the free capacity following volume 2, you would specify: freeCapacityArea=2 Run the |
|
The number of unassigned drives that you want to use for the mirror repository volume. |
|
The type of drive media for which you want to retrieve information. The following values are valid types of drive media:
|
|
The type of drive that you want to use for the mirror repository volume. You cannot mix drive types. You must use this parameter when you have more than one type of drive in your storage system. Valid drive types are:
If you do not specify a drive type, the command defaults to any type. |
|
The setting to enforce tray loss protection when you create the mirror repository volume. To enforce tray loss protection, set this parameter to |
|
The setting to enforce drawer loss protection when you create the mirror repository volume. To enforce drawer loss protection, set this parameter to |
Notes
If you enter a value for the storage space of the mirror repository volume that is too small, the controller firmware returns an error message, which states the amount of space that is needed for the mirror repository volume. The command does not try to change the mirror repository volume. You can re-enter the command by using the value from the error message for the storage space value of the mirror repository volume.
The repositoryDrives
parameter supports both high-capacity drive trays and low-capacity drive trays. A high-capacity drive tray has drawers that hold the drives. The drawers slide out of the drive tray to provide access to the drives. A low-capacity drive tray does not have drawers. For a high-capacity drive tray, you must specify the identifier (ID) of the drive tray, the ID of the drawer, and the ID of the slot in which a drive resides. For a low-capacity drive tray, you need only specify the ID of the drive tray and the ID of the slot in which a drive resides. For a low-capacity drive tray, an alternative method for identifying a location for a drive is to specify the ID of the drive tray, set the ID of the drawer to 0
, and specify the ID of the slot in which a drive resides.
When you assign the drives, if you set the trayLossProtect
parameter to TRUE
and have selected more than one drive from any one tray, the storage system returns an error. If you set the trayLossProtect
parameter to FALSE
, the storage system performs operations, but the mirror repository volume that you create might not have tray loss protection.
When the controller firmware assigns the drives, if you set the trayLossProtect
parameter to TRUE
, the storage system returns an error if the controller firmware cannot provide drives that result in the new mirror repository volume having tray loss protection. If you set the trayLossProtect
parameter to FALSE
, the storage system performs the operation even if it means that the mirror repository volume might not have tray loss protection.
Data assurance management
The Data Assurance (DA) feature increases data integrity across the entire storage system. DA enables the storage system to check for errors that might occur when data is moved between the hosts and the drives. When this feature is enabled, the storage system appends error-checking codes (also known as cyclic redundancy checks or CRCs) to each block of data in the volume. After a data block is moved, the storage system uses these CRC codes to determine if any errors occurred during transmission. Potentially corrupted data is neither written to disk nor returned to the host.
If you want to use the DA feature, start with a pool or volume group that includes only drives that support DA. Then, create DA-capable volumes. Finally, map these DA-capable volumes to the host using an I/O interface that is capable of DA. I/O interfaces that are capable of DA include Fibre Channel, SAS, and iSER over InfiniBand (iSCSI Extensions for RDMA/IB). DA is not supported by iSCSI over Ethernet, or by the SRP over InfiniBand.
When all the drives are DA-capable, you can set the |
If the dataAssurance
parameter is set to enabled
, only data assurance capable drives will be considered for volume candidates; otherwise, both data assurance capable and non-data assurance capable drives will be considered. If only data assurance drives are available the new volume group will be created using the enabled data assurance drives.
Minimum firmware level
8.60 adds the driveMediaType
, repositoryVolumeGroupUserLabel
, and drawerLossProtect
parameters.
11.80 adds AB6100 and AB3100 system support