rmckdvol

The rmckdvol command deletes count key data (CKD) base or alias volumes from a storage image.

Read syntax diagramSkip visual syntax diagram
>>-rmckdvol--+-------------------------+--+---------+----------->
             '- -dev--storage_image_ID-'  '- -quiet-'   

>--+-volume_ID--+-------+-+------------------------------------><
   |            '-. . .-' |   
   '-" - "----------------'   

Parameters

A specific use of this command is made when you are confronted with a volume or volumes that are in a configuration state of "configuration error." To correct this configuration state, issue the rmckdvol command for each affected volume. You can specify a volume range according to the command specifications when it is appropriate.

-dev storage_image_ID
(Optional) Specifies the storage image ID, which includes manufacturer, type, and serial number. This parameter is required if you do not specify a fully qualified ID for all logical volumes.
-quiet
(Optional) Turns off the confirmation prompt for this command.
volume_ID . . . | -
(Required) An array of one or more CKD base or CKD alias volume IDs or volume ID ranges to be removed. Accepts a fully qualified volume ID, which includes the storage image ID or a shortened version without the storage image ID if the -dev parameter is specified. The shortened volume ID format is hexadecimal LLVV where LL is a logical control unit (LCU) number 00 - 1F (1750 only), and VV is a volume number (00 - FF) that is contained by a logical control unit (logical subsystem).
Note: A CKD base volume cannot be removed if an alias volume is associated with it.
A volume ID range is defined by two volume IDs that are separated by a dash.
You must separate multiple volume IDs or ranges of volume IDs with a blank space between each ID or range of IDs.
(1750) Example: 0100-010F 0180-1FFF 0120
If you specify the dash (-), this parameter information is automatically supplied.

Example (1750)

Invoking the rmckdvol command
dscli>rmckdvol -dev IBM.1750-68FA120  0000 0001
The resulting output
Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.1750-68FA120

Are you sure you want to delete Volume 0000? y/n Y
Volume 0000 successfully deleted.
Are you sure you want to delete Volume 0001? y/n Y
Volume 0001 successfully deleted.
Related tasks
Removing fixed block or count key data storage
Related reference
lsaddressgrp
mklcu
chlcu
rmlcu
lslcu
showlcu
mkckdvol
chckdvol
lsckdvol
showckdvol
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.