The chfbvol command
changes the name or data type of a fixed block volume.

>>-chfbvol--+-------------------------+------------------------->
'- -dev--storage_image_ID-'
>--+--------------------------+--+-------------------------+---->
'- -os400--+-protected---+-' '- -name--new_volume_name-'
'-unprotected-'
>--+-volume_ID--+-------+-+------------------------------------><
| '-. . .-' |
'-" - "----------------'
Parameters
- -dev storage_image_ID
- (Optional) Specifies the storage image ID, which consists of manufacturer,
machine type, and serial number. This parameter is required if you do not
specify a fully qualified volume ID.
- -os400 protected | unprotected
- (Optional) Specifies options for the OS 400 volume data types. If the
current volume data type is os400-protected (FB 520P) or os400-unprotected
(FB 520U) then this data type can be modified to either os400-unprotected
(FB 520U) or os400-protected (FB520P) respectively. If the current volume
data type is 512, then this setting cannot be modified.
Notes: - If the volume is unassigned to any iSeries or non-configured, you can
use this parameter to change the designated protection value.
- If the volume is assigned and is a part of the i5/OS configuration, you
cannot use this parameter to change the protection value. The only way to
change the protection value on a volume that is part of the i5/OS configuration
is to perform the following steps, using extreme caution:
- Remove the volume from the i5/OS application (this must be done first)
- Remove the volume from DS system
- Create a new volume and assign the correct protection value.
- -name new_volume_name
- (Optional) Specifies your nickname for this volume. A nickname cannot
exceed 16 characters.
- volume_ID . . . | -
- (Required) Specifies one or more volume IDs to be modified. 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). You must fully qualify the volume ID with manufacturer, machine
type, and serial number if you do not use the -dev parameter.
- 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.
- Example: 0100-010F 0180-018F 0120
- If you specify the dash (-), this parameter information is automatically
supplied. However, you cannot use this feature if you are using the DS CLI
interactive command mode.
Example (1750)
Invoking
the chfbvol commanddscli>chfbvol -dev IBM.1750-68FA120 -os400 protected 0100 0101
The resulting outputSun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.1750-68FA120
FB volume 0100 successfully modified.
FB volume 0101 successfully modified.