The NEWCLASS command adds a volume class to a volume set and optionally adds volumes to that class. You can create a class without assigning any volumes to it. However, if you wish to assign volumes, those volumes must be already defined. Refer to the NEWVOL command. You can assign additional volumes to the class with the EXPANDCLASS command.
Task |
 |
Creates a new volume class.
Capability |
 |
CV, create mountable volume set
Syntax |
 |
NEWCLASS[CNAME=]sname:cname
[VOLUMES=][(vname[[,vname]...])]
|
Parameters |
 |
- sname
The volume set to contain the new class. The master volume of this set must be mounted in the MASTER state.Required.
- cname
The new class. The name must be unique within the volume set. Required.
- vname
The names of the volumes to be assigned to the new class. The volumes must have been previously defined with the NEWVOL command. Optional.
Example |
 |
This example shows how to create a new volume class and assign a volume to the class.
Create the new volume class, ENGR.
Verify that the class has been created by using the SHOWCLASS command with different parameters.
volutil: NEWCLASS CNAME=BSET:ENGR VOLUMES=(BVOL1)
Verify: Create new volume class BSET ENGR [Y/N]? Y
volutil: SHOWCLASS BSET:ENGR
Volume class index: 2
Number of volumes in class: 1
|
volutil: SHOWCLASS CNAME=BSET:ENGR INFO=VOLUMES
Volume name: Index:
- - - - - - - - -
BVOL1 1
volutil: SHOWCLASS BSET:ENGR CLASSINFO
Volume class index: 2
Number of volumes in class: 1
volutil: SHOWCLASS BSET:ENGR DSTATUS
Volume name: State: ldev: Type: Path:
- - - - - - - - - - - - - - - - - -
BVOL1 MASTER 21 079330 8.0.4
|