charray
Use the charray command to change array attributes.
Syntax
Parameters
- (Optional) Specifies the new name to apply to the array MDisk.
- (Optional) Sets the number of spares to protect the array members with. The value can be a
number between
1
and100
.Note: This parameter is not applicable for distributed arrays. - (Optional) Forces the array to balance and configure the spare goals of the present drives.
- (Optional) Controls array ability to complete write operations that take too long, even if it
temporarily compromises redundancy.The value can be either
latency
orredundancy
:latency
implies the feature is enabled for normal I/O operationsredundancy
implies the feature is not enabled for normal I/O operations
latency
mode for existing arrays, unless the array is RAID-0 (in which caseredundancy
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 islatency
. If the value isredundancy
, the array cannot cause member drives to become unsynchronized (to preserve time) and I/O performance is impacted. - (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
, or4
. (If you specify0
, an error is not logged if the system runs out of rebuild areas.)For distributed RAID-1 arrays, the value for a 2-member drive array is
0
or0 - 1
for a 3 - 16 member drive array. The values2 - 4
are not supported on distributed RAID-1 arrays.Note: This parameter is only applicable for distributed arrays. - (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