charray
Use the charray command to change array attributes.
Syntax
>>-charray--+------------------------+-- -----------------------> '- -name -- new_name_arg-' >--+---------------------+-- --+-------------+-- ---------------> '- -sparegoal --1-100-' '- -balanced -' >--+--------------------------------------+-- -- ---------------> '- -slowwritepriority --+-latency----+-' '-redundancy-' >--+---------------------------+--+-mdisk_id---+--------------->< '- -rebuildareasgoal--+-0-+-' '-mdisk_name-' +-1-+ +-2-+ +-3-+ '-4-'
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 and 100.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 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
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. - (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.
- (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