Volumes are recognized by the system in the states listed in Table 3-1 “Volume States”. The "Accessible?" column in Table 3-1 “Volume States” shows whether a volume can be used in the corresponding state.
Table 3-1 Volume States
State | Description | Accessible? |
---|
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. | Yes |
MEMBER | A volume in this state belongs to a volume set whose master is mounted. If the master were not mounted, the volume would be in the LONER state. | Yes |
LONER | A volume is in the LONER state when its master is not mounted or when the volume set is taken offline by the VSCLOSE command. | No |
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. | No |
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. | No |
There are two commands that display the state of a volume: the system command, DSTAT, and the VOLUTIL command, SHOWSET.
Use the system command, DSTAT, to display the status of nonsystem disks on the system. DSTAT ALL displays the status of all of the disks on the system, including the system disks.
 |
 |  |
 |
 | NOTE: It is a good idea to frequently display disk information
to verify disk status when using VOLUTIL commands. |
 |
 |  |
 |
Example: Displaying Volume Status |
 |
This example shows how to display the status of all of the disks recognized by the system by using the DSTAT command.
At the system prompt, use the DSTAT ALL command.
:DSTAT ALL
LDEV-TYPE STATUS VOLUME (VOLUME SET - GEN)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1-079350 MASTER MEMBER1 (MPEXL_SYSTEM_VOLUME_SET-0)
2-079350 MEMBER MEMBER2 (MPEXL_SYSTEM_VOLUME_SET-0)
10-07937 UNKNOWN
11-07937 LONER
12-07937 SCRATCH
|
The above example shows that there are
two system volumes (LDEVs 1 and 2), and three volumes
(LDEVS 10,11,and 12) available for initializing: one SCRATCH, one LONER, and one UNKNOWN volume.
This example shows how to use the SHOWSET command to
display disk status.
Invoke VOLUTIL.
At the VOLUTIL prompt, use the SHOWSET command.
:VOLUTIL
volutil:SHOWSET PROD_SET:VOLUMES
Volume Name Vol Status Ldev
- - - - - - - - - - - - - - - - -
MEMBER1 UNKNOWN 10
MEMBER2 LONER 11
MEMBER3 SCRATCH 12
|
The DSTAT and SHOWSET commands are described in detail in chapter 5.