Performing System Management Tasks: HP 3000 MPE/iX Computer Systems > Chapter 9 Managing DisksManaging Types of Volume Sets |
|
Disk management includes knowing types of volume sets, system and nonsystem, and being able to create volume set account structures. With disk management, you can manage disk space to maximize efficiency and be able to reinitialize a disk volume when it becomes obsolete. The operating system requires the presence of the system volume set MPEXL_SYSTEM_VOLUME_SET to boot and run the system. You may also define other volume sets, called nonsystem volume sets. You can boot the system and use it even when nonsystem volume sets have been removed. Some differences between the system and nonsystem volume sets are important to remember. Table 9-1 System and Nonsystem Volume Sets
It is also helpful to remember these features of volume sets:
The definition of a volume set is stored on the master volume rather than in a system table on the system volume set; the system only has information about mounted volume sets. The master volume of a volume set must be mounted before you can access files on other volumes in the set. Figure 9-1 shows a master volume with two member volumes in the volume set named PROD. LDEV 1 is the disk pack or master volume of the system volume set, MPEXL_SYSTEM_VOLUME_SET. It must be mounted for the operating system to function. A volume set name can contain up to 32 characters, including letters, numbers, underbar characters, and periods. The first character must be alphabetic. A file cannot be spread across or span multiple volume sets. All volumes in a volume set should be mounted at the same time. Accounts can span volume sets, but a group is contained within one volume set known as the home volume set. All groups have a home volume set (see the LISTGROUP command) that specifies on which volume set the files of any given group are to be found. A file's extents may be spread across the volumes within a volume set. A class is a group of volumes within a volume set used to partition data. Files can be restricted to a particular volume class or volume by using the HPFOPEN intrinsic or the :BUILD command (with the ;DEV parameter.) Refer to the MPE/iX Intrinsics Reference Manual (32650-90028) for more information. Figure 9-2 illustrates an example of data partitioning with classes. A class name can contain up to 32 characters, including letters, numbers, underbar characters, and periods. The first character must be alphabetic. Using classes is optional. When you create a new volume set, volume management assigns all volumes in the set to the default class DISC. You can specify another class, but the DISC class is necessary for MPE V/E and MPE/iX compatibility. You can use CI command DSTAT within VOLUTIL to display information on all mounted volumes. To use it, enter a colon before entering DSTAT at the VOLUTIL prompt. DSTAT has the following parameters: DSTA [[ldev] [ALL]] To use VOLUTIL to display the status of nonsystem volumes, enter: volutil::DSTAT
You'll see each volume listed by its LDEV number and type, something like the information in Example 9-1, below, which shows the status of three volumes. Figure 9-3 Example 9-1. Displaying Volume States :dstat LDEV-TYPE STATUS VOLUME (VOLUME SET - GEN) ---------- -------- ----------------------------- 3- 079370 MASTER MEMBER1 (DISKDUMP_VOLUME_SET-0) 4- 079370 MEMBER MEMBER2 (DISKDUMP_VOLUME_SET-0) 5- 079370 SCRATCH 14- 079370 SCRATCH The following list defines the five status categories you may see when you issue the DSTAT command:
To use VOLUTIL to display the status of nonsystem volumes, enter a colon (:) and the command DSTAT at the volutil prompt: volutil::DSTAT
You'll see each volume listed by its LDEV number and type, something like the information in Example 9-1, below, which shows the status of three volumes. To check the status of both system and nonsystem volumes on the system, enter a colon (:) and the DSTAT ALL command at the volutil prompt. volutil:DSTAT ALL DSTAT displays information about volumes that are mounted. If you have defined a volume but not initialized it, it will not appear in the display. Figure 9-5 Displaying Mounted Volume Information volutil: :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) 3-079350 MEMBER MEMBER3 (MPEXL_SYSTEM_VOLUME_SET-0) 18-079350 MASTER PRODMASTER (PROD-0) 25-079350 MEMBER PRODMEMBER1 (PROD-0) |