Linux SCSI subsystem overview
This topic provides an overview of SCSI disk connectivity.
- The upper layer consists of specific device type drivers that are closest to user-space, such as the disk driver, tape driver, and CD-ROM driver.
- The lower layer consists of drivers, such as the QLogic and Emulex host bus adapter (HBA) drivers, which are closest to the hardware.
- The middle layer is the SCSI core that glues the upper and lower layer drivers together.
Typically, in most distributions these drivers are built as modules and will be loaded at boot as part of the initrd images. If they are not loaded on boot, and are required at boot time, then an initrd image should be built to include them. For 2.4 kernels this is done by modifying the /etc/modules.conf file. For 2.6 kernels, this is done by modifying the /etc/modprobe.conf file and the /etc/sysconfig/kernel file. After modifying these files, the mkinitrd command needs to be run to pick up the changes.
To check if the drivers are built as modules and are currently loaded, check for sd_mod and scsi_mod in the lsmod command output. The following is example output:
本文概述了 Linux 中的 SCSI 磁盘连接性,包括三层结构:特定设备类型驱动程序(如磁盘、磁带和 CD-ROM 驱动程序)、接近硬件的驱动程序(如 QLogic 和 Emulex 主机总线适配器驱动程序)以及将上层和下层驱动程序连接起来的 SCSI 核心层。
882

被折叠的 条评论
为什么被折叠?



