HP 3000 Manuals

DSTAT [ Mirrored Disk/iX User's Guide ] MPE/iX 5.0 Documentation


Mirrored Disk/iX User's Guide

DSTAT 

The DSTAT command displays the current status of the disk drives on the
system.

Syntax 

DSTAT [ldev]
      [ALL ]
Parameter 

ldev                  One number from 1 to 999 that specifies the logical
                      device that is to be displayed.  It must identify
                      one unique device configured into the device class
                      DISC. Optional.

ALL                   Lists all of the disks connected to the system
                      including the system volumes.  Optional. 

Example 

This example shows the disk states that can be displayed in the DSTAT
command when using mirrored disks.
_____________________________________________________________________
|                                                                   |
|                                                                   |
|      :DSTAT ALL                                                   |
|                                                                   |
|      LDEV-TYPE  STATUS      VOLUME  (VOLUME SET - GEN)            |
|      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _            |
|       1- 079350   MASTER      MEMBER1 (MPEIX_SYSTEM_VOLUME_SET-0) |
|       2- 079350   MEMBER      MEMBER2 (MPEIX_SYSTEM_VOLUME_SET-0) |
|      30- 079350   MASTER      MEMBER1 (CUST_SET-0)                |
|      31- 079350   MEMBER      MEMBER2 (CUST_SET-0)                |
|      32- 079370   MASTER-MD   MEMBER1 (PROD_SET-0)                |
|      33- 079370   MASTER-MD   MEMBER1 (PROD_SET-0)                |
|      34- 079370   MEMBER-MD   MEMBER2 (PROD_SET-0)                |
|      35- 079370  *DISABLED-MD MEMBER2 (PROD_SET-0)                |
|      36- 079370   LONER-SU    MEMBER1 (ADM_SET-0)                 |
|      37- 079370   LONER-SB    MEMBER1 (ADM_SET-0)                 |
|      38- 079370   LONER-SU    MEMBER2 (ADM_SET-0)                 |
|      39- 079370   LONER-SB    MEMBER2 (ADM_SET-0)                 |
|      40- 079370   MASTER-SU   MEMBER1 (PAYROLL_SET-0)             |
|      41- 079370   MASTER-SB   MEMBER1 (PAYROLL_SET-0)             |
|      42- 079370   MEMBER-SU   MEMBER2 (PAYROLL_SET-0)             |
|      43- 079370   MEMBER-SB   MEMBER2 (PAYROLL_SET-0)             |
|      44- 079350   LONER                                           |
|      45- 079350   SCRATCH                                         |
|      46- 079350   UNKNOWN                                         |
|                                                                   |
_____________________________________________________________________

            

The following table describes DSTAT disk states and whether data can be
accessed on a volume in that state.

          Table 5-4.  DSTAT Disk States 

--------------------------------------------------------------------------
|                    |                                      |            |
|       State        |             Description              | Accessible?|
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| MASTER             | A volume in this state is the master | Yes        |
|                    | 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  | Yes        |
|                    | volume set whose master is mounted.  |            |
|                    | If the master is not mounted, the    |            |
|                    | volume is in the LONER state.        |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| MASTER-MD          | A volume in this state is the master | Yes        |
|                    | volume of a mirrored volume set.  In |            |
|                    | order for the system to recognize    |            |
|                    | the volume set, the master volume    |            |
|                    | must be mounted.                     |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| MEMBER-MD          | A volume in this state belongs to a  | Yes        |
|                    | mirrored volume set whose master is  |            |
|                    | mounted.  If the master is not       |            |
|                    | mounted, the volume would be in the  |            |
|                    | LONER state.                         |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| MASTER-SU          | A volume in this state is the master | Yes        |
|                    | volume of a user volume set.  In     |            |
|                    | order for the system to recognize    |            |
|                    | the volume set, the master volume    |            |
|                    | must be mounted.                     |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| MASTER-SB          | A volume in this state is the master | No         |
|                    | volume of a backup volume set.  In   |            |
|                    | order for the system to recognize    |            |
|                    | the volume set, the master volume    |            |
|                    | must be mounted.                     |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| MEMBER-SU          | A volume in this state belongs to a  | Yes        |
|                    | user volume set whose master is      |            |
|                    | mounted.                             |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| MEMBER-SB          | A volume in this state belongs to a  | No         |
|                    | backup volume set whose master is    |            |
|                    | mounted.                             |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| DISABLED-MD        | A volume in this state failed after  | No         |
|                    | it was mounted.                      |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| LONER-SU           | A volume is in the LONER-SU state    | No         |
|                    | when the volume set is closed by the |            |
|                    | VSCLOSE command.  This volume is     |            |
|                    | marked as the user half of the pair. |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| LONER-SB           | A volume is in the LONER-SB state    | No         |
|                    | when the volume set is closed by the |            |
|                    | VSCLOSE command.  This volume is     |            |
|                    | marked as the backup half of the     |            |
|                    | pair.                                |            |
|                    |                                      |            |
--------------------------------------------------------------------------

          Table 5-4.  DSTAT Disk States (cont.) 

--------------------------------------------------------------------------
|                    |                                      |            |
|       State        |             Description              | Accessible?|
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| LONER              | A volume is in the LONER state when  | No         |
|                    | its master is not mounted, or when   |            |
|                    | the volume set is closed by the      |            |
|                    | VSCLOSE command.                     |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| SCRATCH            | A volume in the SCRATCH state can be | No         |
|                    | initialized.  It may contain data,   |            |
|                    | but by scratching the volume, the    |            |
|                    | user has indicated that the data is  |            |
|                    | no longer needed.                    |            |
|                    |                                      |            |
--------------------------------------------------------------------------
|                    |                                      |            |
| UNKNOWN            | A volume in the UNKNOWN state does   | No         |
|                    | 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.     |            |
|                    |                                      |            |
--------------------------------------------------------------------------



MPE/iX 5.0 Documentation