Complete this task to add an unassigned rank to an extent pool
using the DS CLI.
To add a rank to an extent pool, the rank must have a data state
designation of normal and a configuration state designation of unassigned.
A rank is a logically contiguous storage space made up of one
or more arrays. An unassigned rank is not associated with either rank group
0 or 1. Any unassigned rank can be assigned to an extent pool that is associated
with either rank group 0 or 1. Over time, you might remove a rank from an
array and extent pool without deleting the rank. When a rank is removed and
not deleted, it retains its storage type designation of fixed block or CKD.
This designation cannot be changed.
Perform the following steps to add
a rank to an extent pool:
- Issue the lsrank command to generate a report that lists
the status of the ranks that are associated with the storage unit. Enter the lsrank command
at the dscli command prompt with the following parameters and variables:
dscli>lsrank -dev storage_unit_ID -l -state unassigned
Notes: - The report that is generated by this example provides a list of all unassigned
ranks; however, the storage type is mixed between fixed block and CKD.
- You can narrow your report information to a specific storage type by adding
the -stgtype [fb | ckd] parameter to your command.
- Issue the chrank command to add (reassign) a rank or ranks
to an extent pool. Enter the chrank command at the dscli command prompt
with the following parameters and variables:
dscli>chrank -dev storage_image_ID -extpool extentpool_ID rank_ID
Notes: - The rank ID is a 4-digit number with the prefix R and with no leading
zeros. You can specify a range of rank IDs by using a hyphen between the beginning
and ending values of the range. For example: R102-R105
- You can specify multiple rank IDs or rank ID ranges, but you must leave
a space between each designation. For example: R102 R105 R107-R109