Installation guide
Device reconfiguration procedures
161
Additional Notes
Device reconfiguration procedures
Linux currently lacks an actual kernel command that allows for a
dynamic SCSI channel reconfiguration like
drvconfig or ioscan.
The three methods of reconfiguring devices on a Linux host are:
◆ Rebooting the host
◆ Unloading and reloading the modular Emulex driver
◆ Echoing the /proc filesystem
Rebooting the host
Rebooting the host allows reliable detection of 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 Emulex driver
Depending upon the hardware configuration and on whether the
Emulex driver has been loaded into the kernel as a module, the
Emulex driver may be unloaded and then reloaded. If the Emulex
driver has been loaded as a module, this unloading and reloading
will cause a scan of the SCSI bus. The driver should detect the newly
added device(s).
If, however, the modular driver is to be removed from and then
reinserted into the kernel, the following must be done before
removing the driver:
1. Stop all I/O.
2. Unmount all filesystems attached to the Emulex driver.
3. If the Unisphere Host Agent or Navisphere Agent/CLI is
installed and enabled on the host, stop the Unisphere Host Agent
or Navisphere Agent service by typing one of the following
commands:
• For the Unisphere Host Agent:
/etc/init.d/hostagent stop
or
service hostagent stop