Additional Notes

Device reconfiguration procedures for the iSCSI 5.x driver

The Linux v2.6.x kernel lacks a command built into the kernel that allows for a dynamic SCSI channel reconfiguration like drvconfig or ioscan.

The methods of rescanning the SCSI bus in a Linux host are:

Rebooting the host

Unloading and reloading the modular QLogic iSCSI driver

In either case, all I/O must be stopped and all other mounted filesystems must be unmounted before rebooting or removing the modular driver.

Note: In the Linux v2.6.x kernel, the HBA numbers will increment in the /proc filesystem with each re-insertion of the QLogic driver.

Rebooting the host

Rebooting the host will reliably detect newly added devices. The host may be rebooted after all I/O has stopped, whether the driver is modular or statically linked.

Unloading and reloading the modular QLogic driver

Depending upon the hardware configuration, it is possible to unload and reload the modular QLogic driver. This driver removal from and reinsertion into the kernel will cause a scan of the SCSI bus and will cause the driver to detect any newly added device(s).

If the driver is to be removed from and then reinserted into the kernel, perform the following before removing the driver:

Stop all I/O.

Unmount all filesystems attached to the QLogic iSCSI driver.

If the Naviagent/CLI is installed and enabled on the host, then the Naviagent/CLI service must be stopped.

To stop the Naviagent/CLI service, issue one of the two following commands:

/etc/init.d/naviagentcli stop

198

EMC Host Connectivity with QLogic FC and iSCSI HBAs and FCoE CNAs for the Linux Environment

Page 198
Image 198
EMC P/N 300-002-803 manual Device reconfiguration procedures for the iSCSI 5.x driver, Etc/init.d/naviagentcli stop