8–Configuring FCoE in a Linux Environment
Using the QLogic Linux Utilities
8-52 FE0254601-00 A
Menu Interface
To open the menu interface, issue the following command:
# ./ql-lun-state-online.sh –interactive
If no offline LUNs are found, the menu interface does not start, the utility
informs you that no offline LUNs were found, and the utility closes.
If offline LUNs are found, the utility main menu appears, as shown in the
example in Figure 8-21.
Figure 8-21. FC HBA Change LUN State Utility Main Menu
The Main menu option numbers will vary depending on the number of offline
LUNs.
To change the state of one LUN:
1. Type the option number of a LUN, and the press ENTER.
2. Type the option number for OFFLINE to ONLINE/RUNNING, and then press
ENTER.
To change the state of all LUNS from offline to online, type the option for MAKE
ALL ONLINE, and then press ENTER.
Set Device Command Timeout Utility
This utility is a combination command line/menu interface that controls the time
that the target device has to execute a command. Increasing the timeout value
can improve performance under heavy I/O conditions, when target devices need
more time to execute commands, resulting in the Linux SCSI mid-layer driver
aborting fewer tasks. However, increasing the timeout value also delays the
detection of devices that have gone offline.
Welcome to QLogic LUN State Change Utility
============================================
MAIN MENU
1. HOST: 2 TGT: 0 LUN: 4
2. HOST: 3 TGT: 1 LUN: 4
3. MAKE ALL ONLINE
4. QUIT
Please select any one option: