HPlogo Volume Management: HP 3000 MPE/iX Computer Systems > Chapter 5 Volume Management Commands

SHOWCLASS

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The SHOWCLASS command displays information about a volume class. Included in this information is a list of volumes that are members of the volume class and the amount of storage (permanent and transient) available in that volume class. The volume set containing the class must be mounted and online in order to obtain information about the class.

Task

Displays volume class information.

Capability

No special capability required.

Syntax

   SHOWCLASS [CNAME=][sname:]cname

        [ [INFO=]{DSTATUS         

                  VOLUMES

                  CLASSINFO

                  STORAGE [;FREE][;PERM][;TRANS]

                  LABEL}]

Parameters

sname

The volume set containing the volume class information to be displayed. The master volume of this set must be mounted in the MASTER state. If omitted, the current default volume set is assumed. Optional.

cname

The volume class whose information is requested. Required.

VOLUMES

Displays the volume name and volume index for each volume assigned to the class. Volume names preceded by an asterisk (*) have been defined only and not initialized. Refer to the NEWVOL and INITVOL commands in this chapter. Optional.

CLASSINFO

Displays the volume class index and current number of volumes assigned to the class. This is the default if the INFO keyword parameter is omitted. Optional.

DSTATUS

Like the DSTAT command. Displays the volume name, ldev, device type, physical path for each volume used by the class, and the mount state. Optional.

STORAGE

Displays information about disk storage for the specified volume class. The FREE, PERM, and TRANS options, respectively, show the available free space and the permanent and transient space allocations. All measurements are in sectors. The default options are FREE, PERM, and TRANS. Optional.

LABEL

Displays the contents of the volume label for each volume of the class. Optional.

Example

The example on the following page shows how to display class information using the SHOWCLASS command with different parameters.

   volutil: SHOWCLASS CNAME=BSET:XL_DATA



   Volume class index: 1

   Number of volumes in class: 2



   volutil: SHOWCLASS BSET:XL_DATA INFO=VOLUMES



   Volume name:             Index:

   -----------              -----

     BVOL1                     1

    *BVOL3                     3



   volutil: SHOWCLASS BSET:XL_DATA INFO=CLASSINFO



   Volume class index: 1

   Number of volumes in class: 2



   volutil: SHOWCLASS BSET:XL_DATA INFO=DSTATUS



   Volume name:               State:   Ldev:      Type:     Path:

   -----------                -----    ----       ----      ----

     BVOL1                   MASTER      21     079330     8.0.4

     BVOL3           (VOLUME NOT AVAILABLE)



   volutil: SHOWCLASS BSET:XL_DATA INFO=STORAGE



   Volume name:                Free:    Permanent:    Transient:  Device size

   -----------                 ----     ---------     ---------   ---------

     BVOL1                  1178176        401728             0       15799



     Total:                 1178176        401728             0       15799



   volutil: SHOWCLASS CNAME=BSET:XL_DATA INFO=LABELS



   Volume name: BSET:BVOL1

   Initialization date: THU, OCT 15, 1987,  4:48 PM      Volume type: 2

   Member number: 1     Number in set: 3



   Label Table Address: $00000500         MVT Address: $00000000 Free Space

   Map Address: $00000070      Cold Load ID: $00000000 Logical Volume ID:

   $05570001 4810C1F7  Physical Volume ID: $05570001



   Volume name:  BSET:BVOL3 *Warning: Volume not available.
Feedback to webmaster