Use the
DCL command SHOW DEVICES to retrieve information about devices on
your system.
When you invoke the SHOW DEVICES command and do not specify
a device or use a qualifier, the system displays information about
all recognized devices.
If a device does not appear in the display, it is not
recognized by the system. The device may not be connected, or the
driver may not be loaded. For certain devices, you must manually
connect them and load their device drivers. For more information,
see
Connecting Devices and Loading Device Drivers.
If you specify a device name with the SHOW DEVICE command,
the system displays information about the device you specified.
If you use certain qualifiers with SHOW DEVICES, information is
displayed about those devices that currently have volumes mounted
or that have been allocated to processes. Refer to the HP OpenVMS DCL Dictionary
for
a list of qualifiers that can be used with the SHOW DEVICES command.
The following examples use the SHOW DEVICES command. Device
protection is RWPL (read, write, physical, logical).
The SHOW DEVICES/FULL examples include both volume protection
and device protection. In addition, if a volume has a protected
subsystem enabled, it also appears in the display.
The following command requests a full listing of
the status of the DAD42: RRD40 device. The device is located on
node IRIS in an OpenVMS Cluster environment.
$ SHOW DEVICES/FULL DAD42:
Disk DAD42: (IRIS), device type RRD40, is online, mounted, software write-
locked, file-oriented device, shareable, error logging is enabled.
Error count 0 Operations completed 146
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:RWPL,W:RWPL
Reference count 1 Default buffer size 512
Total blocks 1218000 Sectors per track 4
Total cylinders 50750 Tracks per cylinder 6
Allocation class 11
Volume label "CDBIN06JUL21" Relative volume number 0
Cluster size 3 Transaction count 1
Free blocks 15153 Maximum files allowed 152083
Extend quantity 5 Mount count 1
Mount status System Cache name "_$11$DUA21:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache 1515
File ID cache size 64 Blocks currently in extent cache 0
Quota cache size 0 Maximum buffers in FCP cache 1330
Volume status: ODS-2, subject to mount verification, file high-water
marking, write-through caching enabled.
The following command requests a full informational
display about each DG device. This display shows only the first
two devices: the mounted $1$DGA5001: device and the unmounted $1$DGA5004:
device.
$ SHOW DEVICES/FULL DG
Disk $1$DGA5001: (CEAGLE), device type HSV110, is online, mounted, file-oriented
device, shareable, device has multiple I/O paths, served to cluster via MSCP
Server, error logging is enabled.
Error count 0 Operations completed 5773
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 1 Default buffer size 512
Current preferred CPU Id 0 Fastpath 1
WWID 01000010:6005-08B4-0001-42DC-0001-F000-0111-0000
Total blocks 20971520 Sectors per track 128
Total cylinders 1280 Tracks per cylinder 128
Host name "CEAGLE" Host type, avail AlphaServer ES40, yes
Alternate host name "CLETA" Alt. type, avail AlphaServer ES40, yes
Allocation class 1
Volume label "5001" Relative volume number 0
Cluster size 21 Transaction count 1
Free blocks 19598208 Maximum files allowed 476625
Extend quantity 5 Mount count 9
Mount status System Cache name "_$1$DGA3105:XQPCACHE"
Extent cache size 64 Maximum blocks in extent cache 1959820
File ID cache size 64 Blocks in extent cache 0
Quota cache size 0 Maximum buffers in FCP cache 3444
Volume owner UIC [SYSTEM] Vol Prot S:RWCD,O:RWCD,G:RWCD,W:RWCD
Volume Status: ODS-2, subject to mount verification, file high-water marking,
write-back caching enabled.
Volume is also mounted on VMSROC, PAVER, VMSROL, CLETA, VMSJO, VMSMO, NOME,
FARKLE.
I/O paths to device 5
Path PGA0.5000-1FE1-0015-22AC (CEAGLE), primary path.
Error count 0 Operations completed 0
Path PGA0.5000-1FE1-0015-22A9 (CEAGLE).
Error count 0 Operations completed 0
Path PGB0.5000-1FE1-0015-22A8 (CEAGLE).
Error count 0 Operations completed 0
Path PGB0.5000-1FE1-0015-22AD (CEAGLE), current path.
Error count 0 Operations completed 5773
Path MSCP (CLETA).
Error count 0 Operations completed 0
Disk $1$DGA5004: (CEAGLE), device type HSV110, is online, file-oriented device,
shareable, device has multiple I/O paths, served to cluster via MSCP Server,
error logging is enabled.
Error count 0 Operations completed 0
Owner process "" Owner UIC [SYSTEM]
Owner process ID 00000000 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 0 Default buffer size 512
Current preferred CPU Id 0 Fastpath 1
WWID 01000010:6005-08B4-0001-42DC-0001-F000-0120-0000
Host name "CEAGLE" Host type, avail AlphaServer ES40, yes
Alternate host name "CLETA" Alt. type, avail AlphaServer ES40, yes
Allocation class 1
I/O paths to device 5
Path PGA0.5000-1FE1-0015-22AC (CEAGLE), primary path.
Error count 0 Operations completed 0
Path PGA0.5000-1FE1-0015-22A9 (CEAGLE).
Error count 0 Operations completed 0
Path PGB0.5000-1FE1-0015-22A8 (CEAGLE), current path.
Error count 0 Operations completed 0
Path PGB0.5000-1FE1-0015-22AD (CEAGLE).
Error count 0 Operations completed 0
Path MSCP (CLETA).
Error count 0 Operations completed 0
Determining If Volumes Need Rebuilding If
a volume was improperly dismounted, it may require rebuilding. Volumes
are improperly dismounted when, for example, the system crashes.
Use the /REBUILD_STATUS qualifier with the SHOW DEVICES command
to determine if a volume needs rebuilding. Do not use the /REBUILD_STATUS
qualifier with any other SHOW DEVICES qualifiers, except the /OUTPUT
qualifier.
For each volume, SHOW DEVICES/REBUILD_STATUS returns one of
the following values:
Value
Meaning
Yes
Rebuild needed
No
Rebuild not needed
Not applicable
The volume cannot be rebuilt;
the volume is not a disk or the volume is write-locked
Information unavailable
Rebuild information is not available;
the volume is not mounted or mount verification is taking place
Do either of the following steps to rebuild a volume:
Use SET VOLUME/REBUILD
Dismount the volume and then mount the volume again
using MOUNT/REBUILD
Device EMUL$DKB500, in the following example, needs rebuilding.
$ SHOW DEVICES/REBUILD_STATUS
Device Name Rebuild needed?
ADU15$DKA300: Information unavailable
EDIV$DKA300: Information unavailable
EMUL$DKB200: No
EMUL$DKB300: No
EMUL$DKB500: Yes
FTA0: Not applicable
OPA0: Not applicable
Getting
Information About ISO 9660-Formatted Devices You can
use the SHOW DEVICE command to retrieve information about ISO 9660-formatted
devices. The following example illustrates the use of the SHOW DEVICES/FULL
command to obtain information about an ISO 9660-formatted CD-ROM.
Note that the ACP process name is given and that the volume status
is listed as ISO 9660. The display tells the user that the mounted
members of the volume set are relative volume numbers (RVN) 1, 64,
and 65535.
$ SHOW DEVICE DKA1/FULL
Disk $1$DKA1: (VMSRMS), device type RRD40, is online, allocated,
deallocate on dismount, mounted, software write-locked, file-oriented
device, shareable, served to cluster via MSCP Server.
Error count 0 Operations completed 9
Owner process "_FTA5:" Owner UIC [FIN,USER]
Owner process ID 20200066 Dev Prot S:RWPL,O:RWPL,G:R,W
Reference count 2 Default buffer size 512
Total blocks 256 Sectors per track 32
Total cylinders 1 Tracks per cylinder 8
Allocation class 1
Volume label "VOLUME_1" Relative volume number 1
Cluster size 0 Transaction count 1
Free blocks 0 Maximum files allowed 0
Extend quantity 0 Mount count 1
Mount status Process ACP process name "DKA1CACP"
Volume status: ISO 9660.
Members of this volume set are $1$DKA1: (rvn 1), $1$DKA7: (rvn 64), $1$DKA16:
(rvn 65535).