Q-Logic SANblade 2300, FC2354601-00 A User Manual

Simplify
SANblade 2300 Series User’s Guide
2-Gb Fibre Channel to PCI-X Host Bus Adapters
FC2354601-00 A Page i
Information furnished in this manual is believed to be accurate and reliable. However, QLogic Corporation assumes no responsibility for its use, nor for any infringements of patents or other rights of third parties which may result from its use. QLogic Corporation reserves the right to change product specifications at any time without notice. Applications described in this document for any of these products are for illustrative purposes only. QLogic Corporation makes no representation nor warranty that such applications are suitable for the specified use without further testing or modification. QLogic Corporation assumes no responsibility for any errors that may appear in this document.
No part of this document may be copied nor reproduced by any means, nor translated nor transmitted to any magnetic medium without the express written consent of QLogic Corporation.
Microsoft, Windows NT, and Windows 2000 are trademarks of Microsoft Corporation.
QLogic is a trademark of QLogic Corporation. Solaris is a registered trademark of Sun Microsystems, Inc. SPARC is a registered trademark of SPARC International, Inc. Products bearing
SPARC trademarks are based on an architecture developed by Sun Microsystems, Inc.
All other brand and product names are trademarks or registered trademarks of their respective owners.
Rev. A, release, 3/8/02
QLogic Corporation, 26600 Laguna Hills Drive, Aliso Viejo, CA 92656
Page ii
Document Revision History
© 2002 QLogic Corporation
First Printed: January 2002
All Rights Reserved Worldwide.
Printed in U.S.A.
(800) 867-7274 or (949) 389-6000

Table of Conten ts

Section 1 Introduction
1.1 How to Use this Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2 General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.3 What is Fibre Channel?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.4 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Part I Hardware Section 2 QLA2340 /234 0L
2.1 QLA2340/2340L HBA Components. . . . . . . . . . . . . . . . . . . . 2-1
2.1.1 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.1.2 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2 Installation in the Computer. . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2.1 Installation Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.3 Fast!UTIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.3.2 Configuration Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.3.2.1 Host Adapter Settings . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.3.2.2 Selectable Boot Settings . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.3.2.3 Restore Default Settings . . . . . . . . . . . . . . . . . . . . . . . 2-7
2.3.2.4 Raw NVRAM Data . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2.3.2.5 Advanced Adapter Settings . . . . . . . . . . . . . . . . . . . . 2-7
2.3.2.6 Extended Firmware Settings . . . . . . . . . . . . . . . . . . . . 2-9
2.3.3 Scan Fibre Channel Devices . . . . . . . . . . . . . . . . . . . . . . 2-11
2.3.4 Fibre Disk Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2.3.5 Select Host Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
2.4 FCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.4.1 Flashing a QLA2340/2340L HBA with FCode . . . . . . . . . 2-12
2.4.2 Setting the QLA2340/2340L HBA Connection Mode . . . . 2-13
2.4.3 Setting the QLA2340/2340L HBA Loop ID . . . . . . . . . . . 2-14
2.4.4 Setting and Viewing the Fibre Channel Data Rate . . . . . 2-14
2.4.5 Selecting the Boot Device . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2.4.6 Building the Bootable Disk . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.5 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
2.6 Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
FC2354601-00 A Page iii
SANblade 2300 Series User’s Guide 2-Gb Fibre Channel to PCI-X Host Bus Adapters
2.7 Agency Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
2.7.1 EMI and EMC Requirements . . . . . . . . . . . . . . . . . . . . . 2-20
2.7.2 Product Safety Requirements . . . . . . . . . . . . . . . . . . . . . 2-21
Section 3 QLA2342/2342L
3.1 QLA2342/2342L HBA Components . . . . . . . . . . . . . . . . . . . 3-1
3.1.1 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.1.2 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.2 Installation in the Computer . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.2.1 Installation Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.3 Fast!UTIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.3.2 Configuration Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.3.2.1 Host Adapter Settings . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3.3.2.2 Selectable Boot Settings . . . . . . . . . . . . . . . . . . . . . . 3-6
3.3.2.3 Restore Default Settings . . . . . . . . . . . . . . . . . . . . . . 3-7
3.3.2.4 Raw NVRAM Data . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
3.3.2.5 Advanced Adapter Settings . . . . . . . . . . . . . . . . . . . . 3-7
3.3.2.6 Extended Firmware Settings . . . . . . . . . . . . . . . . . . . 3-9
3.3.3 Scan Fibre Channel Devices . . . . . . . . . . . . . . . . . . . . . 3-11
3.3.4 Fibre Disk Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
3.3.5 Select Host Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
3.4 FCode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
3.4.1 Flashing a QLA2342/2342L HBA with FCode . . . . . . . . . 3-12
3.4.2 Setting the QLA2342/2342L HBA Connection Mode . . . 3-13
3.4.3 Setting the QLA2342/2342L HBA Loop ID . . . . . . . . . . . 3-14
3.4.4 Setting and Viewing the Fibre Channel Data Rate . . . . . 3-14
3.4.5 Selecting the Boot Device . . . . . . . . . . . . . . . . . . . . . . . . 3-15
3.4.6 Building the Bootable Disk . . . . . . . . . . . . . . . . . . . . . . . 3-16
3.5 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
3.6 Label. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
3.7 Agency Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
3.7.1 EMI and EMC Requirements . . . . . . . . . . . . . . . . . . . . . 3-20
3.7.2 Product Safety Requirements . . . . . . . . . . . . . . . . . . . . . 3-21
Section 4 Troubleshooting
4.1 Problems After Installation . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.2 Hardware Problem Checklist . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.3 System Configuration Problem Checklist . . . . . . . . . . . . . . . 4-1
4.4 Fibre Channel Problem Checklist . . . . . . . . . . . . . . . . . . . . . 4-2
Page iv FC2354601-00 A
2-Gb Fibre Channel to PCI-X Host Bus Adapters
SANblade 2300 Series Users Guide
Part II Software Section 5 Windows NT Driver Installation
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.2 Windows NT Driver Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.3 Windows NT Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.3.1 Initial Installation of Windows NT and the
5.3.2 Installing or Updating the Windows NT Driver . . . . . . . . . 5-2
5.3.3 Updating the Windows NT Driver . . . . . . . . . . . . . . . . . . 5-3
5.4 QLDIRECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
5.4.1 QLDIRECT Driver Files . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
5.4.2 QLDIRECT Installation . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
5.4.2.1 Initial Installation of QLDIRECT . . . . . . . . . . . . . . . . . 5-4
5.4.2.2 Updating to QLDIRECT from QLFILTER . . . . . . . . . . 5-4
5.5 QL2x00IP NDIS Network Driver Installation . . . . . . . . . . . . . 5-5
5.5.1 Initial Installation of the QL2x00IP NDIS Network
5.5.2 Updating the QL2x00IP NDIS Network Driver . . . . . . . . . 5-6
5.5.3 QL2x00IP NDIS Driver and IP Address Configuration . . . 5-7
5.5.3.1 Driver Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
5.5.3.2 IP Address Configuration . . . . . . . . . . . . . . . . . . . . . . 5-8
5.5.4 Removing the QL2x00IP NDIS Driver . . . . . . . . . . . . . . . 5-9
Windows NT Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Section 6 Windows 2000 Driver Installation
6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.2 Creating the Driver Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.3 Windows 2000 Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.3.1 Initial Installation of Windows 2000 and the
Windows 2000 Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.3.2 Installing the Windows 2000 Driver . . . . . . . . . . . . . . . . . 6-2
6.3.3 Updating the Windows 2000 Driver . . . . . . . . . . . . . . . . . 6-3
6.4 QLDIRECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
6.4.1 QLDIRECT Driver Files . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
6.4.2 QLDIRECT Installation . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
6.4.2.1 Initial Installation of QLDIRECT . . . . . . . . . . . . . . . . . 6-4
6.4.2.2 Updating to QLDIRECT from QLFILTER . . . . . . . . . . 6-5
6.5 QL2x00IP NDIS Network Driver Installation . . . . . . . . . . . . . 6-5
6.5.1 Initial Installation of the QL2x00IP NDIS Network
Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
6.5.2 Updating the QL2x00IP NDIS Network Driver . . . . . . . . . 6-6
FC2354601-00 A Page v
SANblade 2300 Series User’s Guide 2-Gb Fibre Channel to PCI-X Host Bus Adapters
6.5.3 QL2x00IP NDIS Driver Configuration . . . . . . . . . . . . . . . 6-7
6.5.4 Removing the QL2x00IP NDIS Driver . . . . . . . . . . . . . . . 6-9
Section 7 Windows XP Driver Installation
7.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.2 Creating the Driver Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.3 Installing the Windows XP Driver . . . . . . . . . . . . . . . . . . . . . 7-1
7.3.1 Installing Windows XP with the QLA23xx HBA
7.3.2 Installing Windows XP with the QLA23xx HBA
7.3.3 Installing the QL2300.SYS Driver . . . . . . . . . . . . . . . . . . 7-3
7.3.4 Updating the Existing QLA2300.SYS Driver . . . . . . . . . . 7-4
7.4 Removing the Driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
7.5 System Registry Parameters . . . . . . . . . . . . . . . . . . . . . . . . 7-5
7.5.1 MaximumSGList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
7.5.2 NumberOfRequests . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
7.5.3 FCTape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
7.5.4 UseSameNN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7
as the Boot Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
as an Add-On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Section 8 NetWare Driver Installation
8.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.2 NetWare Driver Files and Parameters . . . . . . . . . . . . . . . . . 8-1
8.3 Installing the NetWare Driver . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Section 9 Red Hat Linux Driver Installation
9.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
9.2 Creating the Driver Floppy Disk . . . . . . . . . . . . . . . . . . . . . . 9-1
9.2.1 Driver Floppy Disk 1 (New Operating System
9.2.2 Driver Floppy Disk 2 (Installed Operating System) . . . . . 9-2
9.2.3 Source Code Driver Floppy Disk . . . . . . . . . . . . . . . . . . . 9-2
9.3 Install a New Operating System and Driver
9.4 Install or Update the Driver (Installed Operating
9.4.1 Installing the Driver on the Boot Drive . . . . . . . . . . . . . . 9-4
9.4.2 Loading the Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
9.4.2.1 Building a Custom Kernel to Load the
9.4.2.2 Building a Ramdisk Image to Load the Driver
Page vi FC2354601-00 A
Installation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
(Red Hat Linux 6.2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
System) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
qla2x00 (v4.x) Driver Automatically . . . . . . . . . . . . . . 9-5
Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9
2-Gb Fibre Channel to PCI-X Host Bus Adapters
SANblade 2300 Series Users Guide
9.4.2.3 Loading and Unloading the qla2x00 Driver
9.4.2.4 Building a Ramdisk Image to Load the
9.4.2.5 Loading and Unloading the qla2300 Driver
9.5 Building a Driver from the Sources . . . . . . . . . . . . . . . . . . . . 9-12
9.5.1 Building a Uniprocessor Version of the Driver . . . . . . . . . 9-12
9.5.2 Building a Multiprocessor Version of the Driver . . . . . . . . 9-13
Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
qla2300 Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11
Section 10 Solaris SPARC Driver Installation
10.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
10.2 Installing the Solaris SPARC Driver from a CD-ROM . . . . . . 10-1
10.3 Installing the Solaris SPARC Driver from the QLogic
10.4 FCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
Web Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
FIGURES
Figure Page
2-1 QLA2340/2340L HBA Layout. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2-2 QLA2340/2340L HBA LED Activity . . . . . . . . . . . . . . . . . . . . . . . 2-2
3-1 QLA2342/2342L HBA Layout. . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3-2 QLA2342/2342L HBA LED Activity . . . . . . . . . . . . . . . . . . . . . . . 3-2
TABLES
Table Page
2-1 Host Adapter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2-2 Advanced Adapter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2-3 Extended Firmware Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2-4 RIO Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2-5 Connection Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2-6 Fibre Channel Data Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2-7 QLA2340/2340L HBA Operating Environment . . . . . . . . . . . . . . 2-19
2-8 QLA2340/2340L HBA Specifications . . . . . . . . . . . . . . . . . . . . . . 2-19
3-1 Host Adapter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3-2 Advanced Adapter Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
3-3 Extended Firmware Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
3-4 RIO Operation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
3-5 Connection Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
FC2354601-00 A Page vii
SANblade 2300 Series User’s Guide 2-Gb Fibre Channel to PCI-X Host Bus Adapters
3-6 Fibre Channel Data Rates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
3-7 QLA2342/2342L HBA Operating Environment . . . . . . . . . . . . . . 3-19
3-8 QLA2342/2342L HBA Specifications . . . . . . . . . . . . . . . . . . . . . 3-19
5-1 Ql2x00ip.sys Configuration Parameters . . . . . . . . . . . . . . . . . . . 5-7
6-1 Ql2x00ip.sys Configuration Parameters . . . . . . . . . . . . . . . . . . . 6-7
8-1 QL2300.HAM Driver Parameters . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Page viii FC2354601-00 A
Section 1
Introduction
1.1

How to Use this Guide

The SANblade QLogic host bus adapters (HBAs) supported in this document are described in the following paragraphs; they are collectively referred to as the QLA23xx HBA unless otherwise noted. These HBAs are all low-profile, 64-bit PCI to Fibre Channel optical media.
QLA2340 (single channel, full-height bracket)
QLA2340L (single channel, low-profile bracket)
QLA2342 (dual channel, full-height bracket)
QLA2342L (dual channel, low-profile bracket)
First, install the QLA23xx HBA according to the directions in the appropriate hardware installation section. Secondly, install the software driver according to the directions in the appropriate section.
1.2

General Description

Thank you for selecting the QLA23xx Fibre Channel (FC) HBA. The QLA23xx HBA is an intelligent, high-performance, DMA bus master host adapter designed for high-end systems. The intelligence and performance are derived from the ISP23xx chips, making the QLA23xx HBA a leading-edge host adapter. The ISP23xx combines a powerful RISC processor, a Fibre Channel protocol manager (FPM) with one 2-Gb Fibre Channel transceiver, and a peripheral component interconnect-extended (PCI-X) local bus interface in a single-chip solution. The QLA23xx HBA supports all FC peripherals that support private loop direct attach (PLDA) and fabric loop attach (FLA). Installation of the QLA23xx HBA is quick and easy.
1.3

What is Fibre Channel?

Fibre Channel technology is outlined in the SCSI-3 Fibre Channel Protocol (SCSI-FCP) standard. Fibre Channel is a high-speed data transport technology used for mass storage and networking. It connects mainframes, super computers, workstations, storage devices, and servers.
Fibre Channel supports data transfer rates up to 200 MBps half-duplex and 400 MBps full-duplex on copper and optical interfaces. The QLA23xx HBAs use a multimode optical interface for intermediate distances (less than 500 meters at the data rate of 1 Gbps; less than 300 meters at the data rate of 2 Gbps).
FC2354601-00 A 1-1
1 – Introduction Features
With its increased connectivity and performance, Fibre Channel is the I/O technology preferred and used by system designers.
1.4

Features

Compliance with PCI Local Bus Specificatio n revision 2.2
Compliance with PCI-X Addendum (revision 1.0) to the PCI Local Bus
Specification
Compliance with Third Generation Fibre Channel-Physical and Signaling
Interface (FC-PH-3) standard
Compliance with Fibre Channel-Arbitrate d Loop (FC-AL-2) standard
Compliance with U.S. and international safety and emissions standards
Support for bus master DMA
Fast!UTIL BIOS utility to customize the configuration parameters on the
QLA23xx HBA and attached drives
Two independent channels on a single HBA
Supports Fibre Channel protocol-SCSI (FCP-SCSI), IP, and Fibre
Channel-virtual interface (FC-VI) protocols
Supports point-to-point fabric connection (F-PORT FABRIC LOGIN)
1-2 FC2354601-00 A
Part I
Hardware
This part of the SANblade 2300 User’s Guide describes the host bus adapters (HBAs) and how to install and configure them. See the section that corresponds to your HBA. Section 4 contains troubleshooting information.
HBA Section
QLA2340/2340L 2 QLA2342/2342L 3
FC2354601-00 A I-1
I – Hardware
I-2 FC2354601-00 A
Section 2
QLA2340/2340L
2.1

QLA2340/2340L HBA Components

Figure 2-1 identifies the QLA2340/2340L HBA components referenced throughout
this section. Each QLA2340/2340L HBA has a unique serial number; its location on the HBA is
noted in figure 2-1. Take a minute to write down the serial number of the QLA2340/2340L HBA.
J3
LED1
31
J1
ISP CHIP
NOTE: The serial number is on the other side of the HBA.
The QLA2340 has a full-height bracket (as shown in this figure). The QLA2340L has a low-profile bracket (shorter than the bracket in this figure).
Figure 2-1. QLA2340/2340L HBA Layout
FC2354601-00 A 2-1
2 – QLA2340/2340L Installation in the Computer
2.1.1
LEDs
Figure 2-2 identifies and describes the activity of the QLA2340/2340L HBA LEDs.
AMBER LED GREEN LED
J1 CONNECTOR LEDs
J1 CONNECTOR
Green
LED
On On Power On Off Online Off On Signal acquired Off Flashing Loss of synchronization
Flashing Flashing Firmware error
Figure 2-2. QLA2340/2340L HBA LED Activity
Amber
LED
Activity
2.1.2
Jumpers
The jumpers on the QLA2340/2340L HBAs set the default state of the laser and are set at the factory with a jumper plug on pins 2–3 of the J3 jumper.
CAUTION!
Changing the jumper settings can result in the HBA being inoperable.
2.2

Installation in the Computer

Before you install the QLA2340/2340L HBA in your computer, you need the following:
A screwdriver (usually a Phillips #1)
An optical mutimode cable with an LC-style duplex connector
CAUTION!
2-2 FC2354601-00 A
The QLA2340/2340L HBA contains parts that can be damaged by ESD. Before handling the QLA2340/2340L HBA, use standard methods to discharge static electricity. Keep the QLA2340/2340L HBA in the antistatic bag until you are ready to install it. Place the HBA on the bag when you examine or configure it. Retain the bag for future use.
2 – QLA2340/2340L
Perform the following steps to install the QLA2340/2340L HBA in your PC:
1. Check the motherboard and make any configuration changes necessary to accommodate the QLA2340/2340L HBA.
The QLA2340/2340L HBA is self-configuring; however, some motherboards require manual configuration. For example, some systems have a PCI Device Configuration menu in the motherboard setup BIOS where you must enable HBAs, bus master slots, and IRQ levels. If the motherboard supports triggering, use level triggering for the QLA2340/2340L HBA. See the documentation supplied with your computer, or contact your computer dealer to determine if your motherboard requires configuration.
2. Power down the peripherals, then the computer.
3. Remove the computer cover and save the screws.
4. Choose any PCI bus slot that supports bus mastering. Most motherboards automatically assign an IRQ level and interrupt line; if your motherboard does not, you must assign the IRQ level and use interrupt line A for this slot.
NOTE:
Some motherboards have two kinds of PCI bus slots: master
and slave. The QLA2340/2340L HBA must be in a PCI bus master slot. (Some motherboards have PCI bus master slots that are shared with onboard devices. QLA2340/2340L HBAs do not work in shared slots.)
PCI connectors vary among system HBA manufacturers. The
QLA2340/2340L HBA is a 64-bit PCI device that can function in a 32-bit PCI slot; the slot conforms to the PCI specification (the rear edge of the PCI slot is notched). If you try to install the QLA2340/2340L HBA into a PCI slot that does not conform to the PCI specification, you may damage the QLA2340/2340L HBA.
PCI and PCI-X slots look the same. If the PC contains both PCI
and PCI-X slots, refer to the PC manufacturers instructions to determine the slot type.
The QLA2340/2340L HBAs are designed and tested to operate
at PCI bus speeds of up to 133 MHz.
Installation in the Computer
5. Remove the slot cover for the slot in which you will install the QLA2340/2340L HBA.
6. Place the QLA2340/2340L HBA into the slot. Carefully press the HBA into the slot until it seats firmly.
7. Secure the QLA2340/2340L HBA to the chassis. Follow the PC manufacturers instructions.
FC2354601-00 A 2-3
2 – QLA2340/2340L Installation in the Computer
8. Connect the appropriate cable from the devices to the corresponding connector.
9. Carefully reinstall the computer cover. Insert and tighten the computer cover screws.
10. Power up all external FC devices, then power up the PC and observe the monitor. The BIOS is disabled by default. Consequently, the devices attached to the QLA2340/2340L HBA are not identified. For example:
QLogic Corporation QLA23xx PCI Fibre Channel ROM BIOS Version x.xx Copyright (C) QLogic Corporation 2000 All rights reserved. www.qlogic.com
Press <CNTRL-Q> for Fast!UTIL
BIOS for Adapter 0 is disabled ROM BIOS not installed
NOTE:
SunSPARC systems do not display the BIOS banner.
Enable the BIOS only if the boot device is attached to the
QLA2340/2340L HBA. This allows the system to boot faster.
For further information about enabling the QLA2340/2340L
HBA BIOS, see section 2.3.
If the information displayed on your monitor is correct, congratulations! You have successfully installed the QLA2340/2340L HBA in your computer.
If you need FCode (Solaris SPARC systems), see section 2.4 for instructions on how to install or update the FCode on the QLA2340/2340L HBA.
See the appropriate section for detailed instructions on how to install the software drivers.
If the information displayed is not correct and you have checked the QLA2340/2340L HBA’s configuration, see section 4 for troubleshooting information.
2.2.1
Installation Help
If your system has an IDE hard disk, it may be assigned device number 80, which is the boot device. If your system does not have an IDE hard disk, a parallel SCSI host bus adapter (HBA), or a RAID adapter, the first bootable FC hard disk configured (the one with the lowest ID) is assigned device number 80 and becomes the boot device. The QLA2340/2340L HBA BIOS must be enabled if the boot device is connected to the QLA2340/2340L HBA.
2-4 FC2354601-00 A
2 – QLA2340/2340L
If you have a selectable boot BIOS and want to boot to an FC hard disk, set the motherboard BIOS parameters to None or Not Installed. The ROM BIOS on the QLA2340/2340L HBA automatically configures the FC peripherals.
Some new system BIOSs support selectable boot, which supersedes the QLA2340/2340L HBA BIOS selectable boot setting. Select the QLA2340/2340L HBA FC hard disk in the system BIOS to boot from an FC hard disk attached to the QLA2340/2340L HBA.
2.3

Fast!UTIL

Fast!UTIL
NOTE: The Fast!UTIL BIOS utility does not run on SunSPARC systems. Refer to
section 2.4 for information regarding adapter configuration settings and for
installing FCode on a QLA2340/2340L HBA in a SunSPARC system.
2.3.1
Introduction
This appendix provides detailed configuration information for advanced users who want to customize the configuration of the QLA2340/2340L HBA and the connected devices.
The QLA2340/2340L HBA can be configured using Fast!UTIL, QLogic’s BIOS-resident configuration tool. Access Fast!UTIL by pressing CNTRL+Q during the QLA2340/2340L HBA BIOS initialization (it may take a few seconds for the Fast!UTIL Options menu to display). If you have more than one QLA2340/2340L HBA, Fast!UTIL asks you to select the QLA2340/2340L HBA you want to configure. After changing the settings and exiting the utility, Fast!UTIL restarts your system to load the new parameters.
CAUTION!
If the configuration settings are incorrect, your QLA2340/2340L HBA may not function properly.
The following sections describe the Fast!UTIL options.
2.3.2
Configuration Settings
The first selection on the Fast!UTIL Options menu is Configuration Settings. These settings configure the FC devices and the QLA2340/2340L HBA to which they are attached.
FC2354601-00 A 2-5
2 – QLA2340/2340L Fast!UTIL
2.3.2.1
Host Adapter Settings
From the Configuration Settings menu in Fast!UTIL, select Host Adapter Settings. The default settings for the QLA2340/2340L HBA are listed in table 2-1
and described in the following paragraphs.
Table 2-1. Host Adapter Settin gs
Setting Options Default Host Adapter BIOS Enabled, Disabled Disabled Frame Size 512, 1024, 2048 2048 Loop Reset Delay 0–60 seconds 5 seconds Adapter Hard Loop ID Enabled, Disabled Disabled Hard Loop ID 0–125 0 Spin Up Delay Enabled, Disabled Disabled
Host Adapter BIOS. When this setting is Disabled, the ROM BIOS on the
QLA2340/2340L HBA is disabled, freeing space in upper memory. This setting must be enabled if you are booting from an FC hard disk attached to the QLA2340/2340L HBA. The default is Disabled.
Frame Size. This setting specifies the maximum frame length supported by
the QLA2340/2340L HBA. The default size is 2048, which provides maximum performance for F-Port (point-to-point) connections.
Loop Reset Delay. After resetting the loop, the firmware refrains from
initiating any loop activity for the number of seconds specified in this setting. The default is 5 seconds.
Adapter Hard Loop ID. This setting forces the adapter to attempt to use
the ID specified in the Hard Loop ID setting. The default is Disabled.
Hard Loop ID. If the Adapter Hard Loop ID setting is enabled, the adapter
attempts to use the ID specified in this setting. The default ID is 0.
Spin Up Delay . When this setting is Enabled, the BIOS waits up to 5 minutes
to find the first drive. The default is Disabled.
2.3.2.2
Selectable Boot Settings
The Select able Boot Settings option is accessed from the Configuration Settings menu. If you enable this option, you can select the node name from which you want to boot. Once enabled, this option forces the system to boot on the selected FC hard disk, ignoring any IDE hard disks attached to your system. If you disable this option, the system looks for a boot device (as selected in the system BIOS). In disabled mode, the Boot ID and Boot LUN parameters have no effect.
2-6 FC2354601-00 A
2 – QLA2340/2340L
Fast!UTIL
Some new system BIOSs support selectable boot, which supersedes the Fast!UTIL selectable boot setting. To boot from an FC hard disk attached to the QLA2340/2340L HBA, select the QLA2340/2340L HBA FC hard disk on the system BIOS.
NOTE: This option applies only to hard disks; it does not apply to tape drives and
other nondisk devices.
2.3.2.3
Restore Default Settings
The Resto re Default s option from the Configuration Settings menu restores the QLA2340/2340L HBA default settings.
2.3.2.4
Raw NVRAM Data
This option displays the adapters NVRAM contents in hexadecimal format. This is a QLogic troubleshooting tool; you cannot modify the data.
2.3.2.5
Advanced Adapter Settings
From the Configuration Settings menu in Fast!UTIL, select Advanced Adapter Settings. The default settings for the QLA2340/2340L HBA are listed in table 2-2
and described in the following paragraphs.
Table 2-2. Advanced Adapter Settings
Setting Options Default Execution Throttle 1–256 16 Fast Command Posting Enabled, Disabled Disabled >4GByte Addressing Enabled, Disabled Disabled Luns per Target 0, 8, 16, 32, 64, 128, 256 8 Enable LIP Reset Yes, No No Enable LIP Full Login Yes, No Yes Enable Target Reset Yes, No Yes Login Retry Count 0–255 8 Port Down Retry Count 0–255 30 Drivers Load RISC Code Enabled, Disabled Enabled Enable Database Updates Yes, No No
FC2354601-00 A 2-7
2 – QLA2340/2340L Fast!UTIL
Table 2-2. Advanced Adapter Settings (Continued)
Setting Options Default Disable Database Load Ye s , No No IOCB Allocation 1–512 buffers 256 buffers Extended Error Logging Enabled, Disabled Disabled
Execution Throttle. This setting specifies the maximum number of
commands executing on any one port. When a ports execution throttle is reached, no new commands are executed until the current command finishes executing. The valid options for this setting are 1–256. The default is 16.
Fast Command Posting. This setting decreases command execution time
by minimizing the number of interrupts. The default is Disabled.
>4GByte Addressing. This option should be Enabled if the system has
more than 4 GB of memory available. The default is Disabled.
LUNs per Target. This setting specifies the number of LUNs per target.
Multiple LUN support is typically for RAID boxes that use LUNs to map drives. The default is 8. If you do not need multiple LUN support, set the number of LUNs to 0.
Enable LIP Reset. This setting determines the type of loop initialization
process (LIP) reset that is used when the operating system initiates a bus reset routine. When this setting is Yes, the driver initiates a global LIP reset to clear the target device reservations. When this setting is No, the driver initiates a global LIP reset with full login. The default is No.
Enable LIP Full Login. This setting instructs the ISP chip to re-login to all
ports after any LIP. The default is Yes.
Enable Target Reset. This setting enables the drivers to issue a Target
Reset command to all devices on the loop when a SCSI Bus Reset command is issued. The default is Yes.
Login Retry Count. This setting specifies the number of times the software
tries to log in to a device. The default is 8 retries.
Port Down Retry Count. This setting specifies the number of times the
software retries a command to a port returning port down status. The default is 30 retries.
Drivers Load RISC Code. When this setting is Enabled, the
QLA2340/2340L HBA uses the RISC firmware that is embedded in the software driver. When this setting is Disabled, the software driver loads the RISC firmware that is stored in the QLA2340/2340L HBA BIOS. The default is Enabled.
2-8 FC2354601-00 A
2 – QLA2340/2340L
Fast!UTIL
NOTE: The driver being loaded must support this setting. If the driver does
not support this setting, the result is the same as Disabled regardless of the setting. Leaving this option enabled guaranties a certified combination of software driver and RISC firmware.
Enable Databa se Updates . When enabled, this setting allows the software
to save the loop configuration information in flash memory when the system powers down. The default is No.
Disable Database Loa d. When enabled, the device database is read from
the Registry during driver initialization. When disabled, the device database is created dynamically during driver initialization. The default is No.
NOTE: This option usually applies to the Windows NT and Windows 2000
operating environments.
IOCB Allocation. This setting specifies the maximum number of buffers
from the firmwares buffer pool that are allocated to any one port. The default is 256 buffers.
Extended Error Logging. This setting provides additional error and debug
information to the operating system. When Enabled, events are logged into the Windows NT/Windows 2000 Event Viewer. The default is Disabled.
2.3.2.6
Extended Firmware Settings
From the Configuration Settings menu in Fast!UTIL, select Exte nded Firmware Settings. The default settings for the QLA2340/2340L HBA are listed in table 2-3
and described in the following paragraphs.
Table 2-3. Extended Firmware Settings
Setting Options Default Extended Control Block Enabled, Disabled Enabled RIO Operation Mode 0, 1, 2, 3, 4 0 Connection Options 0, 1, 2 2 Class 2 Service Enabled, Disabled Disabled ACK0 Enabled, Disabled Disabled Fibre Channel Tape Support Enabled, Disabled Enabled Fibre Channel Confirm Enabled, Disabled Enabled Command Reference Number Enabled, Disabled Disabled Read Transfer Ready Enabled, Disabled Disabled Response Timer 0–255 0
FC2354601-00 A 2-9
2 – QLA2340/2340L Fast!UTIL
Table 2-3. Extended Firmware Settings (Continued)
Setting Options Default Interrupt Delay Timer 0–255 0 Data Rate 0, 1, 2 2
Extended Control Block. This setting enables all other extended firmware
settings. The default is Enabled.
RIO Operation Mode. This setting specifies the reduced interrupt operation
(RIO) modes, if supported by the software driver. RIO modes allow posting multiple command completions in a single interrupt (see table 2-4). The default is 0.
Table 2-4. RIO Operation Modes
Option Operation Mode
0 No multiple responses 1 Multiple responses, 16-bit handles, interrupt host 2 Multiple responses, 32-bit handles, interrupt host 3 Multiple responses, 16-bit handles, delay host interrupt 4 Multiple responses, 32-bit handles, delay host interrupt
Connection Options. This setting defines the type of connection (loop or
point-to-point) or connection preference (see table 2-5). The default is 2.
Table 2-5. Connection Options
Option Type of Conne c tion
0 Loop only 1 Point-to-point only 2 Loop preferred, otherwise point-to-point
Class 2 Service. This setting enables Class 2 service parameters to be
provided during all automatic logins (loop ports). The default is Disabled.
ACK0. This setting determines the type of ACK used. When this setting is
Enabled, sequence ACK is used. When this setting is Disabled, frame ACK is used. The default is Disabled.
NOTE: The Class 2 Service setting must be Enabled to use the ACK0
setting.
Fibre Channel Tape Support. This setting enables FCP-2 recovery. The
default is Enabled.
2-10 FC2354601-00 A
2 – QLA2340/2340L
Fibre Channel Confirm. This setting enables the host to send the FCP
confirmation frame when requested by the target. The default is Enabled. This setting must be Enabled if the Fibre Channel Tape Support setting is Enabled.
Command Reference Number. This setting is reserved. The default is
Disabled.
Read Transfer Ready. This setting is reserved. The default is Disabled.
Response Timer. This setting contains the value (in 100-microsecond
increments) used by a timer to limit the time waiting accumulating multiple responses. For example, if this field is 8, the time limit is 800 microseconds. The default is 0.
Interrupt Delay Timer . This setting contains the value (in 100-microsecond
increments) used by a timer to set the wait time between accessing (DMA) a set of handles and generating an interrupt. The default is 0.
Data Rate. This setting determines the data rate. When this setting is 1, the
QLA2340/2340L HBA runs at 2 Gbps. When this setting is 2, Fast!UTIL determines what rate your system can accommodate and sets the rate accordingly. The default is 2.
2.3.3
Fast!UTIL
Scan Fibre Channel Devices
This option scans the FC loop and lists all the connected devices by loop ID. Information about each device is listed, for example, vendor name, product name, and revision. This information is useful when configuring your QLA2340/2340L HBA and attached devices.
2.3.4
Fibre Disk Utility
This option scans the FC loop and lists all the connected devices by loop ID. You can select a hard disk and perform a low-level format or verify the hard disk.
CAUTION!
2.3.5
Performing a low-level format destroys all data on the hard disk.
Select Host Adapter
If you have multiple QLA2340/2340L HBAs in your system, use this setting to select and then configure or view the settings of a specific QLA2340/2340L HBA.
FC2354601-00 A 2-11
2 – QLA2340/2340L FCode
2.4

FCode

This section provides instructions for installing FCode on a QLA2340/2340L HBA installed in a Solaris SPARC system. A QLA2340/2340L HBA with FCode loaded in its flash ROM provides boot capability to its attached devices.
The following files are included. Be sure to review the Readme.txt file for both new and changed information.
ifp2312.promFCode code binary file
readme.txtFCode readme file
qla2x00flashSolaris flash utility
readmereadme for qla2x00flash
The procedure for installing FCode flash is summarized in the following steps and explained in detail in the following sections.
1. Flash the QLA2340/2340L HBA with FCode (see section 2.4.1).
2. Set the QLA2340/2340L HBA connection mode (see section 2.4.2).
3. Set the QLA2340/2340L HBA loop ID (see section 2.4.3).
4. Select the boot device (see section 2.4.5).
5. Build the bootable disk (see section 2.4.6).
2.4.1
Flashing a QLA2340/2340L HBA with FCode
Flash the QLA2340/2340L HBA with FCode if you want to update the existing FCode on the QLA2340/2340L HBA. A QLogic Solaris SPARC driver revision 3.06 or later must be installed before the flash utility can be run.
WARNING!!
Be careful when changing flash contents; incorrect data may render the QLA2340/2340L HBA unusable to the point that the operating system may not function.
Perform the following steps to run the flash utility:
1. Copy the qla2x00flash file and the ifp2312.prom file to the desired directory.
2. At the command line, enter the appropriate path. Use the information
obtained with the show-devs command (see step 1 in section 2.4.5). For example:
./qla2x00flash -l /devices/pci@1f,0/pci@1/QLGC,qla@4: devctl ifp2312.prom
2-12 FC2354601-00 A
2 – QLA2340/2340L
2.4.2
FCode
Setting the QLA2340/2340L HBA Connection Mode
Perform the following steps to view the current QLA2340/2340L HBA connection mode and change it if necessary.
NOTE: Due to possible equipment incompatibility, QLogic does not recommend
selecting connection mode 3.
1. Select the QLA2340/2340L HBA attached to the Fibre Channel device from
which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
2. To view the current connection mode, type the show-connection-mode
command:
ok show-connection-mode
The connection mode and options display. For example:
Current HBA connection mode: 3 - Point-to-point preferred, otherwise loop
Possible connection mode choices: 0 - Loop Only 1 - Point-to-point only 2 - Loop preferred, otherwise point-to-point
3. If the connection mode is not correct based on the devices connected to
the QLA2340/2340L HBA, change it using the set-connection-mode command. For example:
ok 0 set-connection-mode
The new connection mode displays. For example:
Calculating NVRAM checksum, please wait... Current HBA connection mode: 0 - Loop Only Possible connection mode choices:
0 - Loop Only 1 - Point-to-point only 2 - Loop preferred, otherwise point-to-point
FC2354601-00 A 2-13
2 – QLA2340/2340L FCode
2.4.3
Setting the QLA2340/2340L HBA Loop ID
When the QLA2340/2340L HBA is currently operating in loop mode (through connection mode 0 or connection mode 2), perform the following steps to view its loop ID and change it if necessary:
1. Select the QLA2340/2340L HBA attached to the Fibre Channel device from
which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
2. To view the loop ID, type the show-adapter-loopid command.
ok show-adapter-loopid
The loop ID displays. For example:
Adapter loopid - 7c
3. If the loop ID is not correct, change it using the set-adapter-loopid
command. For example:
ok 0 set-adapter-loopid
The new loop ID displays. For example:
Adapter loopid - 0
2.4.4
Setting and Viewing the Fibre Channel Data Rate
Use the show-data-rate command to view the current QLA2340/2340L Fibre Channel data rate. For example:
1. Select the QLA2340/2340L HBA attached to the Fibre Channel device from
which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
2. Type the following:
ok show-data-rate
3. The current data rate displays. For example:
Current HBA data rate: One Gigabit rate
2-14 FC2354601-00 A
2 – QLA2340/2340L
Use the set-data-rate command to change the current QLA2340/2340L Fibre Channel data rate. For example:
ok 1 set-data-rate Calculating NVRAM checksum, please wait...
Current HBA data rate: Two Gigabit rate
Table 2-6 lists the values to enter and their corresponding data rates. QLogic
recommends the Auto-negotiated rate (2), which works for most devices.
Table 2-6. Fibre Channel Data Rates
Value Data Rate
0 One gigabit 1 Two gigabits 2 Auto-negotiated rate
2.4.5
FCode
Selecting the Boot Device
Perform the following steps to select a Fibre Channel device that is attached to the QLA2340/2340L HBA as the boot device:
1. Use the show-devs command to display the device tree for all devices
attached to the machine.
ok show-devs
The device tree displays. The QLA2340/2340L HBAs with FCode are referenced with QLGC,qla@. For example:
ok show-devs . . /pci@1f,0/pci@1/QLGC,qla@4
2. Select the QLA2340/2340L HBA attached to the Fibre Channel device from
which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
3. Use the show-children command to view the devices attached to the
QLA2340/2340L HBA. For example:
ok show-children
4. The list of devices displays. Write down the boot devices world wide name (WWN), loop ID, and logical unit number (LUN).
5. Save the boot device information to the QLA2340/2340L HBA’s NVRAM. Use the set-boot-id command. Include the selected QLA2340/2340L HBA’s WWN, loop ID, and LUN. For example:
ok 2200002037009eeb 82 0 set-boot-id
FC2354601-00 A 2-15
2 – QLA2340/2340L FCode
The following displays:
Calculating NVRAM checksum, please wait.... done
Boot device login successful Boot WWN - 20000020 37009eeb WWPN - 22000020 37009eeb
Id - 82 Lun - 0
ok
6. To boot the QLA2340/2340L HBA, type the complete boot path, including the loop ID and LUN. The loop ID and LUN must match those entered in
step 5. For example:
ok boot /pci@1f,0/pci@1/QLGC,qla@4/sd@82,0
NOTE: Enter the reset command before attempting to boot if the boot was
interrupted or any of the QLogic FCode commands were executed.
2.4.6
Building the Bootable Disk
This procedure assumes that the system is already booted from an existing system hard disk, and that you have already performed a full system backup.
The device path on each system differs, depending on the PCI bus slot, target ID, LUN, etc. The device name shown in this example is for a device on the third PCI bus slot, target ID 130, LUN 0, slice 0.
You must have already completed the steps in the previous sections before attempting to create a bootable disk.
To build a bootable disk, perform the following steps:
1. Determine the amount of disk space used/available on your current boot disk. Use the df command for a listing. For example:
/usr/bin/df -k -l
Filesystem /dev/dsk/c0t0d0s0 /proc fd mnttab swap swap /dev/dsk/c0t0d0s7
kbytes 2577118
1310480 1311344 5135326
0 0 0
used 1650245
864 114
0 0 0 0
avail
875331
1310480 1310480 5083859
capacity
0 0 0
66%
0% 0% 0% 0% 1% 1%
Mounted on / /proc /dev/fd /etc/mnttab /var/run /tmp /home
This df example shows that the current boot disk is /dev/dsk/c0t0d0s(x). There are two partitions of interest, slice 0 (/) and slice 7 (/home). Slice 0 uses 1.65 GB and has 875 MB free. Slice 7 uses 114 MB and has 5 GB free. Therefore, slice 7 (/home) contains enough disk space to store the temporary saveset files.
2-16 FC2354601-00 A
2 – QLA2340/2340L
If there were not at least 1.7 GB free on this disk, you would need to create a partition on the new bootable disk large enough to hold the largest temporary saveset files plus the largest used space on a partition. In this example, it would be a 3.2 GB (1.6 GB+1.6 GB) partition.
2. Use the format command to create, label, and format partitions on the new
bootable disk. These partitions must be able to contain the contents of your temporary saveset files. If you are not familiar with the format command, refer to the Solaris documentation.
WARNING!!
a. At the root prompt, type format. b. A list of available hard disks displays. Specify the disk. c. At the format prompt, type partition. d. At the partition prompt, type print. The partition table displays, as in
the following example.
Misusing the format command can destroy the data on your current disk drives.
FCode
Part
0 1 2 3 4 5 6 7
unassigned unassigned unassigned unassigned unassigned
Tag root swap
backup
Flag
wm wu wu wm wm wm wm wm
Cylinders
0 - 8738
8739 - 9188
0 - 9201
210.94MB
0 0 0 0 0
Size
4.00GB
4.21GB
(8739/0/0) 8389440 (450/0/0) 432000 (9202/0/0) 8833920
0
(0/0/0) 0
0
(0/0/0) 0
0
(0/0/0) 0
0
(0/0/0) 0
0
(0/0/0) 0
e. At the partition prompt, type label. Enter the label. f. At the label prompt, type quit. g. Type quit until the system prompt displays.
3. To create the file system, use the newfs command. For example:
newfs -v /dev/rdsk/c3t130d0s0
NOTE: The target device ID (t130) is in decimal. The hexadecimal value
for the target ID is used in the boot command line shown in step 11.
4. Mount the boot partition to the /mnt mount point. For example:
mount /dev/dsk/c3t130d0s0 /mnt
5. Change to the root partition mount point directory. For example:
cd /mnt
Blocks
FC2354601-00 A 2-17
2 – QLA2340/2340L FCode
6. Use the ufsdump utility to copy the root partition to the new book disk. For
example:
ufsdump 0f - / | ufsrestore rf -
7. Use the rm command to delete the restoresymtable file:
rm restoresymtable
8. Install the boot block on the new boot disk. For example:
installboot /usr/platform/’uname -i’ /lib/fs/ufs/bootblk /dev/rdsk/c3t130d0s0
NOTE: Platform-specific information (’uname -i’) varies depending on
the hardware platform.
9. Edit the new vfstab file to properly mount the new partitions during boot. In this case, each reference to c0t0d0s0 is changed to c3t130d0s0. For example:
vi /mnt/etc/vfstab
10. Shut down the system. Type the following:
/sbin/init 0
11. Boot from the newly created boot disk. For example:
boot /pci@1f,0/pci@1/QLGC,qla@4/sd@82,0
NOTE: The target device ID (sd@82) is in hexadecimal. The decimal value
is used in step 3.
12. View the current dump device setting. For example:
# dumpadm Dump content: kernel pages Dump device: /dev/dsk/c0t0d0s1 (swap) Savecore directory: /var/crash/saturn Savecore enabled: yes
13. Change the dump device to the swap area of the new boot drive. For example:
# dumpadm -d /dev/dsk/c3t130d0s1
NOTE: Steps 14 and 15 set the newly created boot disk as the default boot
2-18 FC2354601-00 A
disk. These steps are performed at the system OBP (ok) prompt.
Loading...
+ 78 hidden pages