Specifications

Chapter 4. z/VM notes 61
4.4.1 Inspecting your disks
Assuming you are logged onto z/VM as MAINT or as another userid, you can use q da all
and q disk commands as shown in Figure 4-5.
Figure 4-5 Inspecting the disks
The q dasd all command displays all the physical DASD volumes connected to z/VM. If they
are in a z/VM format, more information is displayed. In the example here, volumes at
addresses 200-207 are in formats recognized by z/VM. Volumes at addresses A80-A9F have
standard labels but are not in z/VM formats.
The q disk command displays this user’s minidisks. In this example, the user is MAINT and
he owns the seven minidisks listed. A minidisk label (MNT191 for the first minidisk) is not
important, but might be meaningful to the user. The VDEV value is the address of the
minidisk. The mode letters (A, B, C, D, E, S, S=Y/S) were probably established by the user
PROFILE file that is automatically executed when the user logs onto the system. The
meanings of the other fields are fairly obvious.
The CP-owned disks contain a mixture of paging space, temporary disk space (TDISK), spool
space, directory space (DRCT), minidisks, and unused space. The q alloc all and q alloc
map commands can display this information, as in Figure 4-6 on page 62.
q da all
DASD 0200 CP OWNED M01RES 90
DASD 0201 CP SYSTEM 620RL1 12
DASD 0202 CP SYSTEM 620RL2 5
DASD 0203 CP SYSTEM M01W01 11
DASD 0204 CP OWNED M01S01 1
DASD 0205 CP OWNED M01P01 0
DASD 0206 CP OWNED VMCOM1 13
DASD 0207 CP SYSTEM VMCOM2 3
DASD 0A80 HDRES1 , DASD 0A81 HDRES2 , DASD 0A82 HDSYS1 , DASD 0A83 HDUSS1
DASD 0A84 HDUSS2 , DASD 0A85 HDPRD1 , DASD 0A86 HDPRD2 , DASD 0A87 HDPRD3
DASD 0A90 HDPAGA , DASD 0A91 HDPAGB , DASD 0A92 HDPAGY , DASD 0A93 HDPAGZ
DASD 0A94 HDSYS2 , DASD 0A95 WORK01 , DASD 0A9C SARES1 , DASD 0A9F CF0001
An offline DASD was not found.
Ready; T=0.01/0.01 10:19:15
q disk
LABEL VDEV M STAT CYL TYPE BLKSZ FILES BLKS USED-(%) BLKS LEFT BLK TOTAL
MNT191 191 A R/W 175 3390 4096 5 21-01 31479 31500
MNT5E5 5E5 B R/O 18 3390 4096 131 1265-39 1975 3240
MNT2CC 2CC C R/W 10 3390 4096 3 110-06 1690 1800
MNT51D 51D D R/O 26 3390 4096 305 1763-38 2917 4680
PMT551 551 E R/O 40 3390 4096 7 92-01 7108 7200
MNT190 190 S R/O 207 3390 4096 694 17493-47 19767 37260
MNT19E 19E Y/S R/O 500 3390 4096 1125 29764-33 60236 90000
Ready; T=0.01/0.01 10:19:19
RUNNING SSI1