Commands for viewing tape and library devices connected
to a system
You can use ioscan to view the tape and library (media changer) devices connected to the HP-UX host.
The device special file (DSF) is listed as the last item in the description as shown in
bold type
.
Using ioscan (1M) to view tape devices
# ioscan -knNfC tape
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
tape 18 64000/0xfa00/0xd estape CLAIMED DEVICE HP Ultrium 6-SCSI
/dev/rtape/tape18_BEST /dev/rtape/tape18_BESTb /dev/rtape/tape18_BESTn
/dev/rtape/tape18_BESTnb
tape 20 64000/0xfa00/0xf estape CLAIMED DEVICE HP Ultrium 6-SCSI
/dev/rtape/tape20_BEST /dev/rtape/tape20_BESTb /dev/rtape/tape20_BESTn
/dev/rtape/tape20_BESTnb
Using ioscan (1M) to view library devices
# ioscan -knNfC autoch
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
autoch 18 64000/0xfa00/0x12 eschgr CLAIMED DEVICE HP ESL G3 Series
/dev/rchgr/autoch18
autoch 19 64000/0xfa00/0x13 eschgr CLAIMED DEVICE HP ESL G3 Series
/dev/rchgr/autoch19
autoch 20 64000/0xfa00/0x14 eschgr CLAIMED DEVICE HP ESL G3 Series
/dev/rchgr/autoch20
autoch 30 64000/0xfa00/0x3e eschgr CLAIMED DEVICE HP MSL6000 Series
/dev/rchgr/autoch30
Finding HP-UX paths for drives listed on the library interface
This example shows how the drive and port information displayed in the ESL G3 library web interface can
be seen from the HP-UX host.
On the
Control Path (CP) Selection
screen for a partition, the drive with serial number 82C6E4F007 is
the drive with the control path for the partition.
Using the control path drive’s WWN in the Drive Status screen, you can find the corresponding target
ports, which in this example are 50014382c6e4f008 and 50014382c6e4f009.
60
Commands for viewing tape and library devices connected to a system