beautypg.com

HP LTO 4 SAS User Manual

Page 13

background image

HP LTO Ultrium 4 drives technical reference manual, volume 5: UNIX, Linux and OpenVMS configuration guide

11

For 11i v3 (Agile I/O tree view)

Enter the command:

% iosca n -m lun

The output should look similar to the following

1

(SCSI interface drives are shown in this example)

Class I Lun H/W Path Driver S/W State H/W Type Health Description
=====================================================================================
disk 2 64000/0xfa00/0x0 esdisk CLAIMED DEVICE online HP 73.4GST373454LC
0/1/1/0.0x0.0x0
/dev/disk/disk2 /dev/rdisk/disk2
disk 3 64000/0xfa00/0x3 esdisk CLAIMED DEVICE online TEAC DV-28E-N
0/0/2/0.0.0x0.0x0
/dev/disk/disk3 /dev/rdisk/disk3
tape 5 64000/0xfa00/0xa estape CLAIMED DEVICE online HP DLT VS160
0/2/1/1.0x5.0x0
/dev/rtape/tape5_BEST /dev/rtape/tape5_BESTb /dev/rtape/tape5_BESTn
/dev/rtape/tape5_BESTnb
tape 9 64000/0xfa00/0x12 estape CLAIMED DEVICE online HP C5683A
0/1/1/1.0x2.0x0
/dev/rtape/tape9_BEST /dev/rtape/tape9_BESTb /dev/rtape/tape9_BESTn
/dev/rtape/tape9_BESTnb
tape 0 64000/0xfa00/0x16 estape CLAIMED DEVICE online HP Ultrium 2-SCSI
0/3/1/1.0x3.0x0
/dev/rtape/tape0_BEST /dev/rtape/tape0_BESTb /dev/rtape/tape0_BESTn
/dev/rtape/tape0_BESTnb
tape 12 64000/0xfa00/0x1a estape CLAIMED DEVICE online HP SDLT600
0/2/1/0.0x3.0x0
/dev/rtape/tape12_BEST /dev/rtape/tape12_BESTb /dev/rtape/tape12_BESTn
/dev/rtape/tape12_BESTnb

For a particular SCSI device, you can decode the SCSI bus ID and the drive’s SCSI ID and LUN ID

from the lunpath hardware path. For example:

Class I Lun H/W Path Driver S/W State H/W Type Health Description
=====================================================================================
tape 0 64000/0xfa00/0x16 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
0/3/1/1.0x3.0x0

The lunpath hardware path for the above tape drive is “0/3/1/1.0x3.0x0”.

SCSI bus ID is “0/3/1/1” (including all the numbers separated by “/”).

From the remaining “0x3.0x0” portion:

Tape drive SCSI ID = 3 (decimal value from hexadecimal 0x3)

Tape drive SCSI LUN = 0 (decimal value from hexadecimal 0x0)

Fibre Channel drives have a slightly different format in ioscan output, similar to the following

segment:

Class I Lun H/W Path Driver S/W State H/W Type Health Description
======================================================================
tape 10 64000/0xfa00/0x14 estape CLAIMED DEVICE online HP Ultrium 4-SCSI
0/4/1/0.0x50060b0000b7f3c8.0x0
/dev/rtape/tape10_BEST /dev/rtape/tape10_BESTb /dev/rtape/tape10_BESTn
/dev/rtape/tape10_BESTnb

For a given FC device the FC bus ID, the World Wide Name (WWN) and the LUN ID can be

decoded from the Lun H/W Path. For example:

1. Note that device files (such as /dev/rtape/tape9_BEST) may or may not be in place initially.

This manual is related to the following products: