lsarrayrecommendation
Use the lsarrayrecommendation command to view a recommended configuration for the specified drive class and number of drives.
Syntax
Parameters
- (Required) Specifies the drive class, or classes, for which the array recommendation
is made. You must specify at least 1 drive_class_id_list
value. You can specify a total of 32 drive_class_id_list
values on a single command; however, you must separate each value with a colon character
(
:
). - (Required) Specifies the number of drives for which to make recommendation. You must
specify at least 1 drive_count value. You can specify a total
of 32 drive_count values on a single command; however, you
must separate each value with a colon character (
:
).Remember: Eachdrive_count
value must be a numerical value between 2 and 128 (only redundant arrays are considered). - (Optional) By default, headings are displayed for each column of data in a concise
style view, and for each item of data in a detailed style view. The
-nohdr parameter suppresses the display of these
headings.Note: If there is no data to be displayed, headings are not displayed.
- (Optional) Specifies a list of one or more filter attributes that match the specified values; see -filtervalue? for the supported attributes.
- (Optional) Includes all of the valid filter attributes in the report. The following
filter attributes are valid for the lsarrayrecommendation command:
For more information about filtering attributes, see Attributes of the -filtervalue parameters.
- (Optional) By default, in a concise view all columns of data are space-separated, with the width of each column set to the maximum width of each item of data. In a detailed view, each item of data is an individual row, and if you display headers, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. Enter -delim : on the command line. The colon character (:) separates all items of data in a concise view (for example, the spacing of columns does not occur). In a detailed view, the specified delimiter separates the data from its header.
- (Required) Specifies the ID or name of the pool for which to make the recommendation.
Description
This command displays the system-recommended array configuration for a specific drive class and number of drives.
You can expand an existing distributed RAID array or can create a new distributed RAID array in a new storage pool or in an existing storage pool which does not contain existing distributed RAID array of compressing drives.
This table provides the attribute values that can be displayed as output view data.
Attribute | Possible Values |
---|---|
mdiskgrp_id | Indicates the MDisk group ID. |
mdiskgrp_name | Indicates the MDisk group name. |
drive_class_id | Indicates the drive class ID for the recommendation. |
raid_level | Indicates the recommended RAID level. |
distributed | Indicates whether the array is a distributed array recommendation. |
min_stripe_width | Indicates the stripe width minimum. |
max_stripe_width | Indicates the stripe width maximum. |
stripe_width | Indicates the recommended stripe size for this storage pool. |
rebuild_areas | Indicates the recommended number of rebuild areas. |
strip_size | Indicates the recommended strip size for this storage pool. |
drive_count | Indicates the number of drives to configure per array. |
array_count | Indicates the number of arrays that can be created at the recommended drive count. |
capacity | Indicates the expected usable capacity for virtualization for the array or arrays. |
An invocation example
Making a recommendation for more rebuild areas and larger stripe width because there are other existing arrays in the MDisk group:
lsarrayrecommendation -driveclass 2 -drivecount 60 dist_pool
The detailed resulting output:
mdisk_grp_id mdisk_grp_name drive_class_id raid_level distributed min_stripe_width max_stripe_width stripe_width rebuild_areas strip_size drive_count array_count capacity
0 dist_pool 2 raid6 yes 5 16 12 3 256 60 1 255.2TB
An invocation example
Making a recommendation for a new (empty) storage pool and with a row for each raid level:
lsarrayrecommendation -driveclass 2 -drivecount 80 mdiskgrp0
The detailed resulting output:
mdisk_grp_id mdisk_grp_name drive_class_id raid_level distributed min_stripe_width max_stripe_width stripe_width rebuild_areas strip_size drive_count array_count capacity
0 mdiskgrp0 2 raid6 yes 5 16 12 3 256 40 2 400.1TB
An invocation example
Making a recommendation for multiple drive classes for a new (empty) storage pool:
lsarrayrecommendation -driveclass 3:5 -drivecount 80:24 mdiskgrp0
The detailed resulting output:
mdisk_grp_id mdisk_grp_name drive_class_id raid_level distributed min_stripe_width max_stripe_width stripe_width rebuild_areas strip_size drive_count array_count capacity
0 mdiskgrp0 3 raid6 yes 5 16 12 3 256 40 2 480.4TB
0 mdiskgrp0 3 raid1 no 2 16 2 256 10 8 400.6TB
0 mdiskgrp0 3 raid6 no 5 16 10 256 10 7 480.6TB
0 mdiskgrp0 5 raid6 yes 5 16 12 3 256 12 2 180.7TB
0 mdiskgrp0 5 raid1 no 2 16 2 256 8 3 100.2TB
0 mdiskgrp0 5 raid6 no 5 16 12 256 12 2 180.2TB
An invocation example
Making a recommendation to choose between performance and capacity optimization of the RAID array:
lsarrayrecommendation -driveclass 0 -drivecount 6 0
The detailed resulting output:
mdisk_grp_id mdisk_grp_name drive_class_id raid_level distributed min_stripe_width max_stripe_width stripe_width rebuild_areas strip_size drive_count array_count capacity
0 mdiskgrp0 0 raid6 yes 5 16 5 1 256 6 1 5.2TB
0 mdiskgrp0 0 raid1 yes 2 2 2 1 256 6 1 4.4TB