HP StoreEver MSL6480 Tape Library User Manual

Page 49

Advertising
background image

Example 4 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.

To find this information with HP-UX commands, use ioscan -knNfC autoch to see the list of
tape libraries, and then use ioscan -m lun -H <H/W path> for the partition. For example,
if the LUN hardware path for the library is 64000/0xfa00/0x12:

# ioscan -m lun -H 64000/0xfa00/0x12

Class I Lun H/W Path Driver S/W State H/W Type Health Description
======================================================================================
autoch 18 64000/0xfa00/0x12 eschgr CLAIMED DEVICE limited HP ESL G3 Series
0/0/0/9/0/0/1.0x50014382c6e4f002.0x1000000000000 <— Passive control path
0/0/0/9/0/0/1.0x50014382c6e4f003.0x1000000000000 <— Passive control path
0/0/0/9/0/0/1.0x50014382c6e4f009.0x1000000000000 <— Active control path
0/0/0/9/0/0/1.0x50014382c6e4f008.0x1000000000000 <— Active control path
0/0/0/9/0/0/0.0x50014382c6e4f003.0x1000000000000 <— Passive control path
0/0/0/9/0/0/0.0x50014382c6e4f009.0x1000000000000 <— Active control path
0/0/0/9/0/0/0.0x50014382c6e4f008.0x1000000000000 <— Active control path
0/0/0/9/0/0/0.0x50014382c6e4f002.0x1000000000000 <— Passive control path
/dev/rchgr/autoch18 <— Device special file for media changer

The reported LUN hardware path has three parts, separated by a period. For example, in the path

0/0/0/9/0/0/0.0x50014382c6e4f002.0x1000000000000
Part 1 . Part 2 . Part 3

Part 1: Hardware path for the HBA. In this example, 0/0/0/9/0/0/0.

Part 2: Target port WWN. In this example, 0x50014382c6e4f002. This is the WWN that
is displayed in the library web interface.

Part 3: LUN identifier: In this example, 0x1000000000000.

Commands for viewing tape and library devices connected to a system

49

Advertising