HP 3PAR RedHat and Oracle Linux Implementation Guide

NOTE: The example shows other LUNs besides the eight instances of LUN 0.
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 04 Lun: 01
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 04 Lun: 02
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 04 Lun: 03
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi0 Channel: 00 Id: 04 Lun: 04
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: 3PARdata Model: VV Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
scsi0 and scsi1 refer to the HBA adapter instances (/proc/scsi/qla2xxx/0 and
/proc/scsi/qla2xxx/1), respectively. The Id refers to the HP 3PAR StoreServ Storage target
port (there are four HP 3PAR StoreServ Storage target ports: Id 0, 1, 2, 4).
Discovering Devices with a Software iSCSI Connection
The methods for discovering LUNs with an iSCSI connection differ between RHEL 4 on the one
hand and RHEL 6 or RHEL 5 on the other.
For information about discovering devices with a hardware iSCSI connection, see “Setting Up
Hardware iSCSI for RHEL 6 or RHEL 5” (page 60).
Discovering Devices with RHEL 6 or RHEL 5
Complete the following steps to discover devices with an iSCSI connection on the RHEL 6 or RHEL 5
host:
NOTE: When VLUNs are exported, they will not appear on the host automatically. After a new
VLUN is exported from an HP 3PAR StoreServ Storage iSCSI port, rescan for new LUNs.
1. Scan for new LUNs using the iscsiadm -m node -R or iscsiadm -m session -R.
112 Allocating Storage for Access by the RHEL Host