The EXPANDCLASS command allows you to add additional volumes to an existing volume class.
Task |
 |
Adds volume(s) to an existing volume class.
Capability |
 |
CV, create mountable volume set
Syntax |
 |
EXPANDCLASS [CNAME=]sname:cname
[VOLUMES=](vname[[,vname]...])]
|
Parameters |
 |
- sname
The volume set containing the volume class to be expanded. The master volume of this set must be mounted in the MASTER state. Required.
- cname
The existing volume class to be expanded. Required.
- vname
The volume to be assigned to the existing class. The volume must have been previously defined with the NEWVOL command. Required.
Example |
 |
This example shows how to add volumes to an existing volume class.
Use the SHOWCLASS command to get information about the volumes in the volume class, ENGR.
Add BVOL2 and BVOL3 to the class.
volutil:SHOWCLASS BSET:ENGR INFO=DSTATUS
Volume name: State: ldev: Type: Path:
- - - - - - - - - - - - - - - - - -
BVOL1 MASTER 21 079330 8.0.4
volutil: EXPANDCLASS BSET:ENGR VOLUMES=(BVOL2,BVOL3)
Verify: Expand volume class BSET:ENGR [Y/N]? Y
|
Verify the volumes that have been added. BVOL3 is not physically mounted, so it is shown as a member of the class that is not available.
volutil: SHOWCLASS BSET:ENGR DSTATUS
Volume name: State: ldev: Type: Path:
- - - - - - - - - - - - - - - - - -
BVOL1 MASTER 21 079330 8.0.4
BVOL2 MEMBER 22 079330 8.0.5
BVOL3 (VOLUME NOT AVAILABLE)
|