
62
Symmetrix Fibre Channel with Qlogic HBAs on Linux Hosts
Fabric Configurations
The unloading of the module is done with modprobe -r
qla2x00(smp). modprobe with the -r switch used to unload the
loadable modules from the running kernel if they are not in use and if
other modules are not dependent upon them.
In the standard Linux v2.2.x kernel, the SCSI addresses are not used
in the device names as they are in other types of UNIX (Sun, SGI,
HP-UX, and BSD, for example). Block device filenames take the form
/dev/sdln, where l is the letter denoting the physical drive and n is
the number denoting the partition on that physical drive. Device
names and minor numbers are assigned dynamically at boot time or
device loading time in the order of discovery.
Depending upon the hardware configuration, if a device is added
and the system rebooted, the device numbering can and will change.
This change makes the host’s mount table inaccurate. For the most
consistent results and to reduce the possibility of mount table
inaccuracies, new devices should be appended to the list of already
attached devices. For example, if the host contains multiple HBAs, it
would be best to append the new device to the last HBA and to the
end of the device list attached to that HBA. This would eliminate the
need to alter the pre-existing entries in the mount table, since the new
device could be appended to that as well. If a new device were added
to the first out of two HBAs and the system rebooted, the devices
would all shift by one number and the mount table entries would
also need to be shifted by one device. If there is only one HBA, the
new device can more easily be appended to the list of the regularly
attached devices and the mount table altered accordingly.
tasks.h
There is a limit to the number of processes that can run
simultaneously on a host. The default is set to 512. If the environment
requires it, this value can be increased up to 4092.
To change the value:
1.
cd /usr/src/linux/include/linux x
2.
vi tasks.h x
3. Line 14 is:
Change the value of
512 to whatever is required up to a
maximum of 4092; then proceed to Configuring and Compiling the
Kernel on page 64.
#define NR_TASKS 512 /*On x86 Max 4092, or 4090 w/ APM configured.*/
Komentarze do niniejszej Instrukcji