rmvolgrp

The rmvolgrp command deletes existing volume groups from a storage image.

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

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

Parameters

-dev storage_image_ID
(Optional). Specifies the storage image ID, which consists of manufacturer, type, and serial number. This parameter is required if you do not specify a fully qualified volume group ID and you do not specify a value for the devid variable in your profile file.
Example: IBM.1750-68FA120
-quiet
(Optional). Specifies that confirmation prompt for this command be turned off.
Volume_Group_ID . . . | -
(Required). Specifies an array of one or more volume groups IDs to be deleted. All volume groups specified must belong to the same storage unit. This parameter also accepts a fully qualified volume group ID, which consists of the storage image ID, or a shortened version without the storage image ID if the -dev parameter is specified. The shortened version is a four-digit decimal number with no leading zeroes, prefixed with the letter V.
To specify a range of volume group IDs, separate the volume group IDs with a dash (-).
You must separate multiple volume group IDs or ranges of volume group IDs with a blank space between each ID or range of IDs.
If you use the dash (-), this parameter information is automatically supplied.

Example of -dev parameter use

If you specify the -dev parameter, you can use the shortened version of the Volume_Group_ID parameter as follows:
dscli>rmvolgrp -dev IBM.1750-68FA120 V11 
If you do not specify the -dev parameter and you specify the Volume_Group_ID parameter, you must use the fully qualified version of the volume group ID as follows:
dscli>rmvolgrp  IBM.1750-68FA120/V11

Example (1750)

Invoking the rmvolgrp command
dscli>rmvolgrp IBM.1750-68FA1243/V123
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 Group IBM.1750-75FA1243/V123? y/n
Y
Volume group IBM.1750-75FA1243/V123 successfully deleted.
Related tasks
Removing fixed block or count key data storage
Related reference
chlss
lslss
showlss
mkfbvol
chfbvol
rmfbvol
lsfbvol
showfbvol
mkvolgrp
chvolgrp
lsvolgrp
showvolgrp
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.