Complete this task to remove all logical control units (LCUs) from
a CKD storage configuration using the DS CLI.
When you are using the DS CLI to delete LCUs as part of a storage
configuration deletion, the following sequential deletions must have occurred:
- The alias CKD volumes that are part of the configuration must have been
removed
- The CKD volumes that are part of the configuration must have been removed
Perform the following steps to remove LCUs from a CKD storage
configuration:
- Issue the lslcu command to obtain a list of the LCUs that
are associated with the storage configuration that is being deleted. Enter
the lslcu command at the dscli command prompt with the following parameters
and variables:
dscli>lslcu -dev storage_image_ID -l
- Look at the list to ensure that the LCUs are in a state to be removed.
They are ready if there are no volumes that are assigned to the LCU (zeros
are displayed for each LCU in the Confgvols column of the list).
- Issue the rmlcu command to delete the LCUs from the storage
configuration. Enter the rmlcu command at the dscli command prompt
with the following parameters and variables:
dscli>rmlcu -dev storage_image_ID lcu_ID
Notes: - If you have multiple LCUs that are being deleted, you can include the -quiet parameter
in your command. This parameter suppresses the confirmation message that is
issued for each LCU that is deleted.
- You must separate multiple LCU IDs or ranges of LCU IDs with a blank space
between each ID or range of IDs. Each range of LCU IDs must be separated by
a dash (-) between the first ID and the last ID of the range.