Emulex LightPulse LPe1105-M4 HBA Installationsanleitung Seite 94

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 182
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 93
94
EMC Host Connectivity with Emulex FC HBAs and FCoE CNAs for the Linux Environment
Installing and Configuring the Linux Host with the Emulex Driver
Using the Emulex lun_scan script
Contained within the Emulex driver applications kit is a script, called
lun_scan, which automates the SCSI scan requests for Emulex
adapters. This script is located in the following applications kit
directory:
enterprise_kitfiles/scripts/lun_scan
When the applications kit is installed, the lun_scan script is installed
into the
/usr/sbin/lpfc directory with the dfc and lputil utilities.
This script may be integrated into the system run-level transitions to
ensure that all devices are fully detected.
The
lun_scan script may be used to scan all of the Emulex HBAs or a
specific Emulex HBA.
If the
lun_scan script is run without specifying parameters, the
output is as follows:
[root@l82bi250 /]# lun_scan
Usage: lun_scan [ <#> [<#>] | all ]
where
<#> : is a scsi host number of a specific lpfc HBA that is to
be scanned. More than 1 host number can be specified.
all : indicates that all lpfc HBAs are to be scanned.
Example:
lun_scan all : Scans all lpfc HBAs
lun_scan 2 : Scans the lpfc HBA with scsi host number 2
lun_scan 2 4 : Scans the lpfc HBAs with scsi host number 2 and 4
Warning: Scanning an adapter while performing a tape backup should
be avoided.
Examples of the usage of the script are shown below.
1. To obtain the SCSI host number of the Emulex HBAs within the
system, refer to the
/proc filesystem:
[root@l82bi250 /]# ls /proc/scsi/lpfc/
2 3
In this particular system, the Emulex HBAs are listed as SCSI host numbers 2 and 3.
To scan on a single Emulex HBA, run the command plus the desired host number. For
example:
[root@l82bi250 /]# lun_scan 2
Scanning lpfc2, scsi host number : 2
Seitenansicht 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 181 182

Kommentare zu diesen Handbüchern

Keine Kommentare