
59
Symmetrix Fibre Channel with Qlogic HBAs on Linux Hosts
Fabric Configurations
When configuring and manually loading the qla2x00(smp) module with
persistent binding information, you must use modprobe rather than
insmod. modprobe is a wrapper that is an extension to insmod. This
utility will load the driver and automatically read the /etc/conf.modules
configuration file.
3. Proceed to Required Kernel Modifications on page 60 to modify and
compile the Linux kernel.
Static Driver Specifics
1. In a fabric environment, persistent binding must be enabled in the
driver. Without a persistent binding mechanism, the host will be
unable maintain persistent logical routing of the communication
from a storage device object across the fabric to a Symmetrix
volume. If the physical configuration of the switch is changed (for
example, cables are swapped or the host is rebooted), the logical
route becomes inconsistent, which could cause possible data
corruption.
If the qla2x00(smp) driver is built statically into the kernel, the
persistent binding information must be added to /etc/lilo.conf
rather than /etc/conf.modules. To obtain the initiator and target
information, grep the /var/log/messages file as indicated
previously for the modular driver:
grep scsi-qla /var/log/messages
The output will be similar to the following:
Jan 9 11:24:48 denali kernel:scsi-qla0-adapter-node=0000000000000000;
Jan 9 11:24:48 denali kernel: scsi-qla0-adapter-node=200000e08b009209;
Jan 9 11:24:48 denali kernel:scsi-qla0-target-0=500604800000000c;
Append the obtained information to /etc/lilo.conf using the
ql2xopts parameter to add the persistent binding information to
the file.
For example, /etc/lilo.conf would contain an entry similar to the
following:
append = "ql2xopts = scsi-qla0-adapter-node=0000000000000000;
scsi-qla0-adapter-port=200000e08b009209;
scsi-qla0-target-0=500604800000000c;"
Ensure that mkinitrd /boot/initrd-$1.img $1 and lilo are invoked
when compiling the kernel in order for the driver to be loaded
correctly as static.
Kommentare zu diesen Handbüchern