HP 3000 Manuals

DSTAT [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Commands Reference Manual Volume I

DSTAT 

Displays the current status of the disk drives on the system.  (Native
Mode)

Syntax 

DSTAT [ldev]
      [ALL ]
Parameters 

ldev                  An integer specifying the logical device number of
                      the disk drive whose status is requested.

ALL                   Displays the status of all disk drives, both system
                      and nonsystem.  The default is that if no parameter
                      is included, only the status of nonsystem disks is
                      displayed.

Operation Notes 

The DSTAT command is used to display the current status of one or more
disk drives on the system.  For example:

     DSTAT ALL 

     LDEV-TYPE      STATUS         VOLUME (VOLUME SET-GEN)
     ----------     --------       ------------------------
      1- 07935       MASTER         MEMBER1     (MPEXL_SYSTEM_VOLUME_SET-0)
      2- 07935       MEMBER         MEMBER2     (MPEXL_SYSTEM_VOLUME_SET-0)
      3- 07935       MEMBER         MEMBER3     (MPEXL_SYSTEM_VOLUME_SET-0)
      4- 07935       MEMBER         MEMBER4     (MPEXL_SYSTEM_VOLUME_SET-0)
     15- 07935       MASTER         MEMBER1     (USER_VOLUME_SET-0)
     16- 07935       MEMBER         MEMBER2     (USER_VOLUME_SET-0)
     17- 07935       UNKNOWN

Table 2-11  defines the various status responses.

          Table 2-11.  Disk Drive Status 

---------------------------------------------------------------------------------------------
|                   |                                                                       |
|      Status       |                                Meaning                                |
|                   |                                                                       |
---------------------------------------------------------------------------------------------
|                   |                                                                       |
| UNKNOWN           | A volume in the UNKNOWN state does not have a label that the system   |
|                   | can recognize.  The volume may be from another system, it may be a    |
|                   | new disk pack, or it may be a volume that has been formatted.  An     |
|                   | UNKNOWN volume is available for initialization.                       |
|                   |                                                                       |
-                                                                                           -
|                   |                                                                       |
| SCRATCH           | A volume in the SCRATCH state can be initialized.  It may contain     |
|                   | data, but by scratching the volume, the user has indicated that the   |
|                   | data is no longer needed.                                             |
|                   |                                                                       |
-                                                                                           -
|                   |                                                                       |
| LONER             | The volume is in the LONER state when its master is not mounted or    |
|                   | when the volume set is closed by the VSCLOSE command.                 |
|                   |                                                                       |
-                                                                                           -
|                   |                                                                       |
| MASTER            | A volume in this state is the master volume of a volume set.  In      |
|                   | order for the system to recognize the volume set, the master volume   |
|                   | must be mounted.                                                      |
|                   |                                                                       |
-                                                                                           -
|                   |                                                                       |
| MEMBER            | A volume in this state belongs to a volume set whose master is        |
|                   | mounted.  If the master is not mounted, the volume is in the LONER    |
|                   | state.                                                                |
|                   |                                                                       |
---------------------------------------------------------------------------------------------

If you have purchased Mirrored Disk/XL, you may see PENDING or DISABLED
as well.  PENDING indicates the partner disk failed to mount; DISABLED
indicates the volume is not abailable to the system due to a disk
failure.  If you have Mirrored Disk/XL you also may see the following
suffixes in the status portion of the display:

-MD                   Mirrored disk
-SU                   Split user volume
-SB                   Split backup volume

Use 

This command may be issued from a session, job, program, or in BREAK.
Pressing Break has no effect on this command.

Example 

To display the status of LDEV 1, enter:

     :
     :DSTAT 1 

     LDEV-TYPE     STATUS    VOLUME (VOLUME SET-GEN)
     ----------    --------  ------------------------
     1- 079371     MASTER    MEMBER1  (MPEXL_SYSTEM_VOLUME_SET-0)
     :

Related Information 

Commands      SYSGEN, LMOUNT, LDISMOUNT, MOUNT, DISMOUNT, VSRESERVE,
              VSRELEASE, VOLUTIL Utility

Manuals       Volume Management Reference Manual (32650-90045)



MPE/iX 5.0 Documentation