charray

Use the charray command to change array attributes.

Syntax

charray [  -name  new_name_arg ]   [  -sparegoal  1-100 ]   [  -balanced  ]   [  -slowwritepriority  { latency | redundancy } ]     [ -rebuildareasgoal { 0 | 1 | 2 | 3 | 4 } ] { mdisk_id | mdisk_name }

Parameters

-namenew_name_arg
(Optional) Specifies the new name to apply to the array MDisk.
-sparegoal1-100
(Optional) Sets the number of spares to protect the array members with. The value can be a number between 1 and 100.
Note: This parameter is not applicable for distributed arrays.
-balanced
(Optional) Forces the array to balance and configure the spare goals of the present drives.
Specify -balanced and the system examines the membership's chain balance for mirrored arrays. If each mirrored member is on a different chain than its partner member, the array continues balancing the member chains. If each mirrored member is not on a different chain than its partner member, the array stops balancing the member chains.
Note:
  • If -balanced is specified and the goal of the associated array MDisk changes, the tier of the array MDisk is updated to match the new goal.
  • This parameter is not applicable for distributed arrays.
-slowwriteprioritylatency | redundancy
(Optional) Controls array ability to complete write operations that take too long, even if it temporarily compromises redundancy.
The value can be either latency or redundancy:
  • latency implies the feature is enabled for normal I/O operations
  • redundancy implies the feature is not enabled for normal I/O operations
The default value is latency mode for existing arrays, unless the array is RAID-0 (in which case redundancy mode is required).
Important: Do not change the mode of a RAID-0 array.
Important: An array can cause member drives to become unsynchronized (to preserve response time) if the value is latency. If the value is redundancy, the array cannot cause member drives to become unsynchronized (to preserve time) and I/O performance is impacted.
-rebuildareasgoal0 | 1 | 2 | 3 | 4
(Optional) Specifies the rebuild areas threshold. The array logs an error when the available rebuild areas drop below this specified threshold. The values are 0, 1, 2, 3, or 4. (If you specify 0, an error is not logged if the system runs out of rebuild areas.)
Note: This parameter is only applicable for distributed arrays.
mdisk_id | mdisk_name
(Required) Identifies (by ID or user-defined name) which array the MDisk command applies to.

Description

This command changes an array's attributes.

An invocation example to change the name of an array

charray -name raid6 mdisk0 0

The resulting output:

No feedback

An invocation example to set the number of spares threshold to 2

charray -sparegoal 2 mdisk52

The resulting output:

No feedback

An invocation example to balance the array

charray -balanced 3

The resulting output:

No feedback

An invocation example for changing the rebuild areas goal for an array

charray -rebuildareasgoal 3 array1

The resulting output:

No feedback

An invocation example for changing the rebuild areas goal for an array

charray -slowwritepriority redundancy 0

The resulting output:

No feedback