Penguin
Note: You are viewing an old revision of this page. View the current version.

An Acronym for Host Channel Id LUN

Used to uniquely identify a SCSI device on a system.

Checking the contents of /proc/scsi/scsi on a linux system will give you a quick breakdown; use the lsscsi tool for other information such as where the devices fit within /sys:

[root@devserver ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ServeRA  Model: 8k-l Mirror      Rev: V1.0
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 01 Id: 00 Lun: 00
  Vendor: Hitachi  Model: HDT725025VLA380  Rev: A7CA
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi0 Channel: 01 Id: 01 Lun: 00
  Vendor: Hitachi  Model: HDT725025VLA380  Rev: A7CA
  Type:   Direct-Access                    ANSI SCSI revision: 05
Host: scsi0 Channel: 03 Id: 00 Lun: 00
  Vendor: IBM      Model: SAS SES-2 DEVICE Rev: 1.10
  Type:   Enclosure                        ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 01 Lun: 00
  Vendor: EXABYTE  Model: VXA-2            Rev: 2109
  Type:   Sequential-Access                ANSI SCSI revision: 02
[root@devserver ~]# lsscsi -v
[0:0:0:0]    disk    ServeRA  8k-l Mirror      V1.0  /dev/sda
  dir: /sys/bus/scsi/devices/0:0:0:0  [/sys/devices/pci0000:00/0000:00:07.0/0000:02:00.0/host0/target0:0:0/0:0:0:0]
[0:1:0:0]    disk    Hitachi  HDT725025VLA380  A7CA  -
  dir: /sys/bus/scsi/devices/0:1:0:0  [/sys/devices/pci0000:00/0000:00:07.0/0000:02:00.0/host0/target0:1:0/0:1:0:0]
[0:1:1:0]    disk    Hitachi  HDT725025VLA380  A7CA  -
  dir: /sys/bus/scsi/devices/0:1:1:0  [/sys/devices/pci0000:00/0000:00:07.0/0000:02:00.0/host0/target0:1:1/0:1:1:0]
[0:3:0:0]    enclosu IBM      SAS SES-2 DEVICE 1.10  -
  dir: /sys/bus/scsi/devices/0:3:0:0  [/sys/devices/pci0000:00/0000:00:07.0/0000:02:00.0/host0/target0:3:0/0:3:0:0]
[1:0:1:0]    tape    EXABYTE  VXA-2            2109  /dev/st0
  dir: /sys/bus/scsi/devices/1:0:1:0  [/sys/devices/pci0000:00/0000:00:02.0/0000:10:00.0/0000:11:00.0/0000:13:00.0/0000:14:08.0/host1/target1:0:1/1:0:1:0]

CategoryAcronym?