Q-Logic 8100 SERIES Network Cables User Manual


 
8–Configuring FCoE in a Linux Environment
Using the QLogic Linux Utilities
8-50 FE0254601-00 A
FC HBA Change LUN State Utility
This utility is a combination command line/menu interface that changes the state
(online/offline) of LUNs connected to a QLogic adapter, without rebooting the
server. For example, if a SCSI command times out on a device, and fails to
recover the device, the SCSI mid-layer places the device offline. Later, when the
device is online, you can use the FC HBA Change LUN State utility to change the
state to online.
The FC HBA Change LUN State utility performs the following tasks:
Selects a host (Converged Network Adapter port) on which to enable logical
LUNs attached to it
Enables all offline LUNs with single command
Selects targets for every host (menu interface only)
Package Contents
Table 8-19 describes the files in the FC HBA LUN State utility package.
Using the Utility
This utility has a command line interface and a menu interface.
List QLogic adapter driver
parameters
# ./ql-hba-snapshot.sh --parameters
Table 8-19. FC HBA Change LUN State Utility Package Files
File Description
COPYING GNU general public license that describes
rights to copy, distribute, and use the open
source content in this Linux tool
ql-lun-state-online.sh Script file that changes the state of LUNs con-
nected to QLogic adapters
README.ql-lun-state-online.txt Readme file
revision.qllunstateonline.txt Text file that explains the changes that are
new in this version of the package
Table 8-18. FC HBA Snapshot Utility Command Example (Continued)
Task Command Example