Emulex LP1005DC-CM2 Bedienungsanleitung Seite 67

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 162
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 66
Driver for Linux - Configuration Section Page 61
Example of Temporary Per Adapter Configuration
You want to temporarily set lun_queue_depth to 20 (default is 30) for host bus adapter #1. Load the
driver with the following command:
insmod lpfc lpfc1_lun_queue_depth=20
Create a New Ramdisk Image
The lpfc-install script creates a ramdisk containing the lpfc driver for the currently running kernel on
systems running Red Hat Enterprise Linux or SuSE Linux Enterprise Server.
To create a new initial ramdisk image:
1. Execute the lpfc-install script using the '--createramdisk' option. Type:
lpfc-install --createramdisk
Set Up LUN Support
By default, the Linux kernel does not support multiple LUNs. To support multiple LUNs, edit /etc/lilo.conf
or for Linux on Power platforms /etc/yaboot.conf, and append the following line to the end of the file:
append="max_scsi_luns=X"
where: X is the number of LUNs per SCSI device, between 1 and 256.
Before you build a new kernel, run the ‘make menuconfig’ command and build a menu to configure the
kernel and drivers. This configuration menu contains SCSI options. Ensure that the SCSI option, ‘Probe
all LUNs’ is enabled.
Dynamically Add LUNs and Targets
The Emulex driver for Linux enables you to dynamically add LUNs and targets without unloading or
reloading the lpfc module and without resetting the adapter.
You can dynamically add LUNs and targets with the lpfc_lun_skip parameter enabled or disabled. The
lpfc_lun_skip parameter is contained in the lpfc.conf file and is disabled by default. For more information
about the lpfc_lun_skip parameter, or to change its setting, refer to "The Configuration File (lpfc.conf)"
topic in this manual.
To dynamically add LUNs and targets with lun_skip disabled (default):
1. Log on as 'root'.
2. Type:
# echo "scsi add-single-device <H> 0 <T> <L>" >/proc/scsi/scsi
Where:
<H> represents the host ID of the host bus adapter.
<T> represents the SCSI ID of the storage array.
Note: Refer to the lpfc.conf file for the correct parameter name and values for the parameter
you want to change.
Note: You must perform this step whenever the driver is rebuilt. For example, if you change
parameters within the lpfc.conf file and rebuild the driver.
Note: You must reboot the system for these changes to take effect.
Seitenansicht 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 161 162

Kommentare zu diesen Handbüchern

Keine Kommentare