rmfbvol

The rmfbvol command deletes fixed block volumes from a storage image.

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

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

Parameters

Note: You can use this command when there are volumes that are in the configuration error state. To correct this configuration state, issue the rmfbvol 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, machine type, and serial number. This parameter is required if you do not specify a fully qualified volume ID for all logical volumes and you do not specify a value for the devid variable in your profile file.
-quiet
(Optional) Turns off the confirmation prompt for this command.
-safe
(Optional) Specifies that the system perform a check to see if the specified volumes are assigned to any user-defined volume group. If any volumes are still assigned to a user-defined volume group, the rmfbvol command fails without deleting any volumes. When this occurs, messages are provided that list the volumes that are still assigned to a user-defined volume group.
Note: If there is any reason that the system cannot perform the check, the rmfbvol command fails and no volumes are deleted.
volume_ID . . . | -
(Required) Specifies an array of one or more fixed block volume IDs to be removed. This parameter also 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.

Example of -dev parameter use

If you specify the -dev parameter, you can use the shortened version of the Volume_ID parameter as follows:
dscli>rmfbvol -dev IBM.1750-13ABR4A 0005-00FF
If you do not specify the -dev parameter and you specify the volume_ID parameter, you must use the fully qualified version of the volume ID as follows:
dscli>rmfbvol IBM.1750-13ABR4A/0005-00FF
The volume ID is a 32 bit number that can be represented as 4 hexadecimal digits in the form of XYZZ where X is the address group (0 - 1), XY together is the logical subsystem number 00 - 1E (for 1750) , and ZZ is the volume number (00 - FF).
To specify a range of volume IDs, separate the volume IDs with a hyphen.
You must separate multiple volume IDs or ranges of volume IDs with a blank space between each ID or range of IDs.
If you specify the dash (-), this parameter information is automatically supplied.

Example (1750)

Invoking the rmfbvol command
dscli>rmfbvol -dev IBM.1750-68FA120 0100 0101
The resulting output
Sun Aug 11 02:23:49 PST 2004 IBM DSCLI Version: 5.0.0.0 DS: IBM.1750-68FA120

Are you sure you want to delete 0100? y/n Y
Volume 0100 successfully deleted. 
Are you sure you want to delete 0101? y/n Y
Volume 0101 successfully deleted.

The following is an example of the output that results when you specify that you want a range of volume IDs to be removed.

Invoking the rmfbvol command
dscli>rmfbvol -dev IBM.1750-13ABR4A 0005-00FF
Date/Time: September 13, 2005 9:38:52 PM MST IBM DS CLI Version: 5.0.0.0
 DS: IBM.1750-13ABR4A

CMUC00027W rmfbvol: Are you sure you want to delete FB volume 0005-00FF? 
[y/n]:y
CMUC00028I rmfbvol: FB volume 0005 successfully deleted.
CMUC00028I rmfbvol: FB volume 0006 successfully deleted.
CMUC00028I rmfbvol: FB volume 0007 successfully deleted.
CMUC00028I rmfbvol: FB volume 0008 successfully deleted.
CMUC00028I rmfbvol: FB volume 0009 successfully deleted.
CMUC00028I rmfbvol: FB volume 000A successfully deleted.
CMUC00028I rmfbvol: FB volume 000B successfully deleted.
CMUC00028I rmfbvol: FB volume 000C successfully deleted.
CMUC00028I rmfbvol: FB volume 000D successfully deleted.
CMUC00028I rmfbvol: FB volume 000E successfully deleted.
CMUC00028I rmfbvol: FB volume 000F successfully deleted.
CMUC00028I rmfbvol: FB volume 0010 successfully deleted.
CMUC00028I rmfbvol: FB volume 0011 successfully deleted.
CMUC00028I rmfbvol: FB volume 0012 successfully deleted.
CMUC00028I rmfbvol: FB volume 0013 successfully deleted.
CMUC00028I rmfbvol: FB volume 0014 successfully deleted.
CMUC00028I rmfbvol: FB volume 0015 successfully deleted.
CMUC00028I rmfbvol: FB volume 0016 successfully deleted.
CMUC00028I rmfbvol: FB volume 0017 successfully deleted.
CMUC00028I rmfbvol: FB volume 0018 successfully deleted.
CMUC00028I rmfbvol: FB volume 0019 successfully deleted.
CMUC00028I rmfbvol: FB volume 001A successfully deleted.
CMUC00028I rmfbvol: FB volume 001B successfully deleted.
CMUC00028I rmfbvol: FB volume 001C successfully deleted.
CMUC00028I rmfbvol: FB volume 001D successfully deleted.
CMUC00028I rmfbvol: FB volume 001E successfully deleted.
CMUC00028I rmfbvol: FB volume 001F successfully deleted.
CMUC00028I rmfbvol: FB volume 0020 successfully deleted.
CMUC00028I rmfbvol: FB volume 0021 successfully deleted.
CMUC00028I rmfbvol: FB volume 0022 successfully deleted.
CMUC00028I rmfbvol: FB volume 0023 successfully deleted.
CMUC00028I rmfbvol: FB volume 0024 successfully deleted.
Related tasks
Removing fixed block or count key data storage
Related reference
chlss
lslss
showlss
mkfbvol
chfbvol
lsfbvol
showfbvol
mkvolgrp
chvolgrp
rmvolgrp
lsvolgrp
showvolgrp
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.