lsarrayrecommendation

Use the lsarrayrecommendation command to view a recommended configuration for the specified drive class and number of drives.

Syntax

lsarrayrecommendation -driveclassdrive_class_id -drivecountdrive_count [ -nohdr ] [ -filtervalue? ] [ -filtervalueattribute=value ] [ -delimdelimiter ] { mdiskgrp_id | mdiskgrp_name }

Parameters

-driveclassdrive_class_id
(Required) Specifies the drive class, or classes, for which the array recommendation is made. You must specify at least 1 drive_class_id value. You can specify a total of 32 drive_class_id values on a single command; however, you must separate each value with a colon character (:).
-drivecountdrive_count
(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: Each drive_count value must be a numerical value between 2 and 128 (only redundant arrays are considered).
-nohdr
(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.
-filtervalueattribute=value
(Optional) Specifies a list of one or more filter attributes that match the specified values; see -filtervalue? for the supported attributes.
Note: Some filters allow the use of a wildcard; the following rules apply when using a wildcard character:
  • The wildcard character is an asterisk (*).
  • The command can contain a maximum of one wildcard, which must be the first or last character in the string.
  • You must enclose the filter entry within double quotation marks ("").
-filtervalue?
(Optional) Includes all of the valid filter attributes in the report. The following filter attributes are valid for the lsarrayrecommendation command:
  • raid_level
  • distributed
Any parameters that are specified with the -filtervalue? parameter are ignored.

For more information about filtering attributes, see Attributes of the -filtervalue parameters.

-delimdelimiter
(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.
mdiskgrp_id
mdiskgrp_name
(Required) 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.

Encrypted pools are not recommended because distributed arrays do not support encryption. You cannot add an unencrypted array to a parent pool set (which means a parent pool and its child pools) that is encrypted.

Table 1 provides the attribute values that can be displayed as output view data.

Table 1. lsarrayrecommendation output
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 this 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              raid5      yes         3                16               6            2             256        40          2           410.1TB
  0            mdiskgrp0      2              raid6      yes         5                16               12           3             256        40          2           400.1TB
  0            mdiskgrp0      2              raid5      yes         2                16               8            2             256        40          2           380.1TB
  0            mdiskgrp0      2              raid1      no          2                16               2                          256        10          8           410.1TB
  0            mdiskgrp0      2              raid5      no          3                16               10                         256        10          7           410.1TB 
  0            mdiskgrp0      2              raid6      no          5                16               10                         256        10          7           400.1TB
  0            mdiskgrp0      2              raid5      no          2                16               8                          256        8           9           380.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              raid5      yes         3                16               6            2             256        40          2           500.4TB
  0            mdiskgrp0      3              raid6      yes         5                16               12           3             256        40          2           480.4TB
  0            mdiskgrp0      3              raid5      yes         2                16               8            2             256        40          2           450.4TB
  0            mdiskgrp0      3              raid1      no          2                16               2                          256        10          8           400.6TB
  0            mdiskgrp0      3              raid5      no          3                16               10                         256        10          7           500.6TB
  0            mdiskgrp0      3              raid6      no          5                16               10                         256        10          7           480.6TB
  0            mdiskgrp0      3              raid5      no          2                16               8                          256        8           9           450.6TB
  0            mdiskgrp0      5              raid5      yes         3                16               6            2             256        12          2           200.7TB
  0            mdiskgrp0      5              raid6      yes         5                16               12           3             256        12          2           180.7TB
  0            mdiskgrp0      5              raid5      yes         2                16               8            2             256        8           3           150.7TB
  0            mdiskgrp0      5              raid1      no          2                16               2                          256        8           3           100.2TB
  0            mdiskgrp0      5              raid5      no          3                16               12                         256        12          2           200.2TB
  0            mdiskgrp0      5              raid6      no          5                16               12                         256        12          2           180.2TB
  0            mdiskgrp0      5              raid5      no          2                16               8                          256        8           3           150.2TB