
60
Symmetrix Fibre Channel with Qlogic HBAs on Linux Hosts
Fabric Configurations
2. Proceed to Required Kernel Modifications on page 60 to modify and
compile the Linux kernel.
Required Kernel
Modifications
Make the following changes to the kernel.
Edit hosts.h
In order to see more than four SCSI hard drives, edit hosts.h as
follows:
cd /usr/src/linux/drivers/scsi
vi hosts.h
The text of hosts.h differs depending on the RedHat distribution
version:
◆ v6.2:
◆ v7.0:
Edit scsi.c
To allow the host to access and utilize more than eight SCSI LUNs,
edit scsi.c as follows:
cd /usr/src/linux/drivers/scsi
vi scsi.c
#ifdef CONFIG_SCSI_MULTI_LUN
static int max_scsi_luns = 8;
(Change to 128)
#else
static int max_scsi_luns = 1;
#endif
This can also be accomplished by appending a line to /etc/lilo.conf:
vi /etc/lilo.conf
Add this line:
append="max_scsi_luns=128"
#define SD_EXTRA_DEVS 40
#else
#define SD_EXTRA_DEVS 4
(Change to 128)
#endif
#define SD_EXTRA_DEVS
40
(Change to 128)
#define ST_EXTRA_DEVS 3
#define SR_EXTRA_DEVS 8
Comentarios a estos manuales