Tyan S8010 User guide


Add to my manuals
44 Pages

advertisement

Tyan S8010 User guide | Manualzz

SAS2 Integrated RAID™ Solution

User Guide

Version 1.0

July 2009

Revision History

Version and Date

Version 1.0, July 2009 Initial release of this document.

Description of Changes

LSI, the LSI logo, Fusion-MPT, Integrated RAID, Integrated Mirroring, and Integrated Striping are trademarks or registered trademarks of LSI Corporation or its subsidiaries. SPARC is a registered trademark of SPARC International, Inc. Linux is a registered trademark of Linus Torvalds. Windows and MS-DOS are registered trademarks of Microsoft Corporation. All other brand and product names may be trademarks of their respective companies.

LSI Corporation reserves the right to make changes to the product(s) or information disclosed herein at any time without notice. LSI Corporation does not assume any responsibility or liability arising out of the application or use of any product or service described herein, except as expressly agreed to in writing by LSI Corporation; nor does the purchase, lease, or use of a product or service from

LSI Corporation convey a license under any patent rights, copyrights, trademark rights, or any other of the intellectual property rights of LSI Corporation or of third parties.

This document contains proprietary information of LSI Corporation. The information contained herein is not to be used by or disclosed to third parties without the express written permission of LSI

Corporation.

Corporate Headquarters

Milpitas, CA

800-372-2447

Email [email protected]

Website www.lsi.com

Document Number: DB15-000543-00

Copyright © 2009 LSI Corporation

All Rights Reserved

SAS2 Integrated RAID Solutions User Guide Table of Contents

Table of Contents

Chapter 1: Introduction to the Integrated RAID Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.1 Benefits and Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.1.1 Host Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.1.2 Metadata Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.1.3 SMART Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.1.4 Fusion-MPT Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.2 Using this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Chapter 2: Overview of Integrated RAID Mirrored Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.2 Integrated Mirroring and Integrated Mirroring Enhanced Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.3 Operation of Mirrored Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2.4 Mirrored Volume Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.4.1 Resynchronization with Concurrent Host I/O Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.4.2 Hot Swapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.4.3 Hot Spare Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.4.4 Online Capacity Expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.4.5 Media Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.4.6 Disk Write Caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

2.4.7 NVSRAM Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

2.4.8 Background Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

2.4.9 Consistency Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

2.4.10 Make Data Consistent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

Chapter 3: Creating Mirrored Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11

3.1 Mirrored Volume Configuration Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11

3.2 Creating Mirrored Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11

3.2.1 Creating an Integrated Mirroring Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

3.2.2 Creating an Integrated Mirroring Enhanced or Integrated Mirroring + Striping Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

3.2.3 Expanding an Integrated Mirroring Volume with OCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14

3.3 Managing Hot Spare Disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15

3.3.1 Creating Hot Spare Disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15

3.3.2 Deleting Hot Spare Disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16

3.4 Other Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

3.4.1 Viewing Volume Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

3.4.2 Running a Consistency Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

3.4.3 Activating an Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18

3.4.4 Deleting an Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18

3.4.5 Locating Disk Drives in a Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

3.4.6 Selecting a Boot Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

Chapter 4: Overview of Integrated Striping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21

4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21

4.2 Integrated Striping Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21

4.3 Integrated Striping Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22

Chapter 5: Creating Integrated Striping Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23

5.1 Integrated Striping Configuration Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23

LSI Corporation Confidential

|

July 2009 Page i

Table of Contents SAS2 Integrated RAID Solutions User Guide

5.2 Creating Integrated Striping Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23

5.3 Other Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25

5.3.1 Viewing Volume Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25

5.3.2 Activating an Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25

5.3.3 Deleting an Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26

5.3.4 Locating a Disk Drive, or Multiple Disk Drives, in a Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26

5.3.5 Selecting a Boot Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27

Appendix A: Using the SAS2 Integrated RAID Configuration Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29

A.1 Hardware and Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29

A.1.1 Controller Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29

A.1.2 Operating System and Software Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29

A.2 Interface Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30

A.3 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30

A.3.1 Common Command-Line Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31

A.3.2 CREATE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31

A.3.3 DELETE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32

A.3.4 DISPLAY Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33

A.3.5 HOTSPARE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35

A.3.6 STATUS Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36

A.3.7 LIST Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37

A.3.8 MFGPAGE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37

A.3.9 CONSTCHK Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38

A.3.10 ACTIVATE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38

A.3.11 LOCATE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38

A.3.12 LOGIR Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38

Page ii LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 1: Introduction to the Integrated RAID Solution

|

Benefits and Features

Chapter 1

Introduction to the Integrated RAID Solution

This chapter provides an introduction to the features and benefits of the LSI Integrated

RAID™ solution for LSI SAS2 controllers.

„

„

„

The LSI Integrated RAID solution provides cost benefits for the server or workstation market that requires the extra performance, storage capacity, and/or redundancy of a

RAID configuration. LSI Integrated RAID includes the following RAID features:

„

The Integrated Mirroring™ solution, which provides features of RAID 1

The Integrated Mirroring + Striping solution, which provides features of RAID 10

The Integrated Mirroring Enhanced solution, which provides features of RAID 1

Enhanced (RAID 1E)

The Integrated Striping™ solution, which provides features of RAID 0

By simplifying the configuration options and by providing firmware support in its SAS2 host adapters, LSI can offer the Integrated RAID solution at a lower cost than a hardware RAID implementation.

LSI Fusion-MPT

firmware supports Integrated Mirroring volumes, Integrated Mirroring

+ Striping volumes, Integrated Mirroring Enhanced volumes, and Integrated Striping volumes. You can create up to two Integrated RAID volumes on each LSI SAS2 controller.

The LSI Integrated RAID solution supports the following LSI SAS2 controllers and the host bus adapters based on these controllers:

„

„

„

LSISAS2004 controller

LSISAS2008 controller

LSISAS2108 controller

LSI Integrated RAID firmware uses the same device drivers as the standard LSI

Fusion-MPT-based controllers. This eliminates the need for complex backup software or expensive RAID hardware. To conserve system resources, the Integrated RAID firmware operates independently from the operating system. The BIOS-based configuration utility, documented in

Chapter 3 and

Chapter 5 , makes it easy to configure mirrored

and striped volumes. The Integrated RAID solution is currently available as an optional component of the Fusion-MPT architecture on LSI SAS2 controllers.

1.1 Benefits and Features

The LSI Integrated RAID solution has the following benefits and features:

„

„

Support for up to 10 disks per Integrated RAID volume, with one or two volumes on each SAS2 controller. Each controller can support can support 14 volume drives including one or two hot spare disks.

Support for two-disk Integrated Mirroring volumes (RAID1)

LSI Corporation Confidential

|

July 2009 Page 1

Chapter 1: Introduction to the Integrated RAID Solution

|

Using this Manual

1.1.1 Host Interface

1.1.2 Metadata Support

1.1.3 SMART Support

1.1.4 Fusion-MPT Support

1.2 Using this Manual

Page 2

SAS2 Integrated RAID Solutions User Guide

„

„

„

„

„

„

„

„

Support for online capacity expansion (OCE) for RAID1 volumes. OCE allows you to increase the size of a RAID1 volume by replacing the disk drives with larger drives.

Low-cost RAID volume creation, which meets the needs of most internal RAID installations

Easy installation and configuration

Support for booting from any kind of Integrated RAID volume

Ability to operate without special operating system-specific software

High reliability and data integrity

— Nonvolatile write journaling

— Physical disks in a volume are not visible to the operating system (OS) or to application software

Low host CPU and PCI bus utilization

Processing power provided by Fusion-MPT architecture

— Shared-memory architecture minimizes external memory requests

— Device hardware and firmware contain the functionality

The Integrated RAID host interface uses the message passing interface, as described in the Fusion-MPT Message Passing Interface Specification. The Fusion-MPT interface gives the host OS access to the RAID volumes as well as to additional non-RAID physical disks.

The Integrated RAID firmware supports metadata, which describes the logical drive configuration stored on each member disk of a volume. After initialization, the firmware queries each member disk to read the metadata and verify the configuration.

The firmware reduces the usable disk space for each member disk when it creates the the volume, to make room for the metadata.

The Self-Monitoring Analysis and Reporting Technology (SMART) technology monitors disk drives for signs of future disk failure and generates an alert if it detects such signs.

The Integrated RAID firmware polls each physical disk in the volume at regular intervals. If the firmware detects a SMART ASC/ASCQ code on a physical disk in the volume, it processes the SMART data and stores it in a log. The volume does not support SMART directly because it is only a logical representation of the physical disks in the volume.

The Integrated RAID BIOS uses the LSI Fusion-MPT interface to communicate to the

SAS2 controller and firmware. This includes reading the Fusion-MPT configuration to access the parameters that define behavior between the SAS2 controller and the devices that connect to it. The Fusion-MPT drivers for all supported operating systems implement the Fusion-MPT interface to communicate with the controller and firmware.

Chapter 2 describes the features of the Integrated Mirroring, Integrated Mirroring +

Striping, and Integrated Mirroring Enhanced solutions. Chapter 3 explains how to create mirrored volumes, mirrored/striped volumes, and optional hot spare disks with the menu-driven LSI SAS2 BIOS configuration utility.

Chapter 4 describes the features of the Integrated Striping solution, and Chapter 5 explains how to create striped volumes with the LSI SAS2 BIOS configuration utility.

LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 1: Introduction to the Integrated RAID Solution

|

Using this Manual

Appendix A explains how to use the command-line-driven SAS2 Integrated RAID configuration utility (SAS2IRCU) to create Integrated RAID volumes in the manufacturing environment.

LSI Corporation Confidential

|

July 2009 Page 3

Chapter 1: Introduction to the Integrated RAID Solution

|

Using this Manual SAS2 Integrated RAID Solutions User Guide

Page 4 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 2: Overview of Integrated RAID Mirrored Volumes

|

Introduction

Chapter 2

Overview of Integrated RAID Mirrored Volumes

This chapter provides an overview of the LSI Integrated RAID features that support the creation of mirrored arrays.

2.1 Introduction

2.2 Integrated Mirroring and

Integrated Mirroring Enhanced

Features

„

„

„

As a result of the shift towards network-attached storage (NAS), Internet service providers need a cost-effective, fault-tolerant solution to protect the operating systems on small form factor, high-density, rack-mountable servers. The mirroring features of

LSI Integrated RAID provide data protection for the system boot volume to safeguard critical information such as the operating system on servers and high performance workstations. The Integrated RAID solution supports the following types of mirrored arrays:

The Integrated Mirroring solution, which provides features of RAID 1

The Integrated Mirroring + Striping solution, which provides features of RAID 10

The Integrated Mirroring Enhanced solution, which provides features of RAID 1

Enhanced (RAID 1E)

These three mirroring solutions provide a robust, high-performance, fault-tolerant solution to data storage needs at a lower cost than a dedicated RAID controller.

Mirrored volumes may have from two-to-ten disks to provide fault-tolerant protection for critical data. Mirrored volumes also support one or two global hot spare drives, with a maximum of 14 drives on each LSI SAS2 controller.

NOTE: Fourteen drives is the theoretical upper limit for a single LSI SAS2 controller, although the controller itself may support fewer than 14 drives. You can also configure one mirrored volume and one Integrated Striping volume on the same LSI SAS controller.

Each SAS2 controller can have two global hot spare disks available to automatically replace a failed disk in the one or two mirrored volumes configured on the controller.

The hot spares make the mirrored volumes even more fault-tolerant.

Integrated Mirroring, Integrated Mirroring + Striping, and Integrated Mirroring

Enhanced volumes support the following features:

„

„

Configurations of one or two mirrored volumes on each LSI SAS2 controller. Each volume can consist of two mirrored disks for an Integrated Mirroring volume; three-to-ten mirrored disks for an Integrated Mirroring Enhanced volume; or four, six, eight, or ten mirrored disks for an Integrated Mirroring + Striping volume.

(Optional) Two global hot spare disks per LSI SAS2 controller to automatically replace failed disks in mirrored volumes.

LSI Corporation Confidential

|

July 2009 Page 5

Chapter 2: Overview of Integrated RAID Mirrored Volumes

|

Operation of Mirrored Volumes

2.3 Operation of Mirrored

Volumes

SAS2 Integrated RAID Solutions User Guide

„

„

„

„

„

„

„

„

„

„

„

„

„

„

„

Ability of mirrored volumes to run in optimal mode or in degraded mode if one mirrored disk in an Integrated Mirroring volume fails or if one or more mirrored disks fail in an Integrated Mirroring + Striping volume or Integrated Mirroring

Enhanced volume.

Support for hot swapping.

Support for online capacity expansion (OCE) for RAID1 volumes. OCE allows you to increase the size of a RAID1 volume by replacing the existing disk drives with larger drives. Data is protected during the expansion process, and the RAID1 volume remains online.

Presentation of a single virtual drive to the operating system for each mirrored volume.

Support for both SAS and SATA disks, although the two types of disks cannot be combined in the same volume. However, an LSI SAS2 controller can support one volume with SATA disks and a second volume with SAS disks.

Automatic background initialization after volume creation.

Consistency checking.

Fusion-MPT architecture.

Menu-driven, BIOS-based configuration utility.

Error notification, in which the drivers update an OS-specific event log.

Support for SCSI Enclosure Services (SES) status LED.

Write journaling, which allows automatic synchronization of potentially inconsistent data after unexpected powerdown situations.

Use of metadata to store volume configuration on disks in a mirrored volume.

Automatic background resynchronization while host I/Os continue.

Background media verification, which ensures that data on mirrored volumes is always accessible.

The LSI Integrated RAID solution supports one or two mirrored volumes on each LSI

SAS2 controller (or one mirrored volume and one Integrated Striping volume).

Typically, one of these volumes is the boot volume. Boot support is available through the firmware of the LSI SAS2 controller that supports the standard Fusion-MPT interface. The runtime mirroring of the boot disk is transparent to the BIOS, the drivers, and the operating system. Host-based status software monitors the state of the mirrored disks and reports any error conditions. The following figure shows an

Integrated Mirroring volume in which the second disk is a mirrored copy of the data on the first (primary) disk.

Page 6 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 2: Overview of Integrated RAID Mirrored Volumes

|

Operation of Mirrored Volumes

Integrated Mirroring Volume

Primary Mirror

SAS

LSI

Fusion-MPT

SAS2 Controller

Memory Bus

NVSRAM

(For Write Journaling)

FLASH

(For Configuration)

3_00006-00

Figure 1: Typical Integrated Mirroring Implementation

The following figure shows the logical view and physical view of an Integrated

Mirroring volume. Each logical block address (LBA) is mirrored on the second disk.

Logical View Physical View

LBA 1

LBA 2

LBA 3

LBA 1

LBA 2

LBA 3

+

LBA 1'

LBA 2'

LBA 3'

LBA N LBA N LBA N’

3_00007-00

Figure 2: Integrated Mirroring Volume

You can configure an Integrated Mirroring Enhanced volume with up to 10 mirrored disks. The following figure shows the logical view and physical view of an Integrated

Mirroring Enhanced volume with three mirrored disks. The firmware writes each

mirrored stripe to a disk and mirrors it to an adjacent disk. RAID 1E is another term for this type of mirrored configuration.

LSI Corporation Confidential

|

July 2009 Page 7

Chapter 2: Overview of Integrated RAID Mirrored Volumes

|

Operation of Mirrored Volumes SAS2 Integrated RAID Solutions User Guide

Logical View

Mirrored Stripe 1

Mirrored Stripe 2

Mirrored Stripe 3

Mirrored Stripe 4

Physical View

Mirrored Stripe 1 Mirrored Stripe 1' Mirrored Stripe 2

Mirrored Stripe 2'

Mirrored Stripe 4

Mirrored Stripe 5'

Mirrored Stripe 3

+ Mirrored Stripe 4'

Mirrored Stripe 6

+

Mirrored Stripe 3'

Mirrored Stripe 5

Mirrored Stripe 6'

Logical View

Mirrored Stripe 1

Mirrored Stripe 2

Mirrored Stripe 3

Mirrored Stripe 4

Mirrored Stripe N Mirrored Stripe N-1' Mirrored Stripe N Mirrored Stripe N’

3_00008-00

Figure 3: Integrated Mirroring Enhanced with Three Disks

You can configure an Integrated Mirroring + Striping volume with an even number of disks, ranging from four minimum to ten maximum. The following figure shows the logical view and physical view of an Integrated Mirroring + Striping volume with four mirrored disks. The firmware writes each mirrored stripe to a disk and mirrors it to an adjacent disk. RAID 10 is another term for this type of mirrored/striped configuration.

Physical View

Mirrored Stripe 1

Mirrored Stripe 3

Mirrored Stripe 5

Mirrored Stripe 7

Mirrored Stripe 1' Mirrored Stripe 2 Mirrored Stripe 2'

Mirrored Stripe 3' Mirrored Stripe 4

+ Mirrored Stripe 5'

Mirrored Stripe 7'

+ Mirrored Stripe 6

Mirrored Stripe 8

Mirrored Stripe 4'

+ Mirrored Stripe 6'

Mirrored Stripe 8'

Mirrored Stripe N Mirrored Stripe N-1 Mirrored Stripe N-1' Mirrored Stripe N Mirrored Stripe N’

3_00009-00

Figure 4: Integrated Mirroring + Striping with Four Disks

The LSI SAS2 BIOS configuration utility enables you to create mirrored volumes during initial setup and to reconfigure them in response to hardware failures or changes in the environment.

CAUTION: All existing data on the disks is deleted when you select disk drives to use for mirrored arrays.

Page 8 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 2: Overview of Integrated RAID Mirrored Volumes

|

Mirrored Volume Features

2.4 Mirrored Volume Features

2.4.1 Resynchronization with

Concurrent Host I/O Operation

2.4.2 Hot Swapping

2.4.3 Hot Spare Disk

2.4.4 Online Capacity Expansion

2.4.5 Media Verification

This section describes features of Integrated Mirroring, Integrated Mirroring + Striping, and Integrated Mirroring Enhanced volumes. You can configure up to two mirrored volumes on each LSI SAS2 controller.

The Integrated RAID firmware allows host I/Os to continue on a mirrored volume while the volume is being resynchronized in the background. The firmware automatically starts resynchronizing data after a disk failure activates a hot spare, or after a physical disk in a mirrored volume has been hot swapped.

The Integrated RAID firmware supports hot swapping, and it automatically resynchronizes the hot-swapped disk in the background without any host or user intervention. The firmware detects hot-swap removal and disk insertion.

Following a hot-swap event, the firmware verifies that the new physical disk has enough capacity for the mirrored volume. The firmware resynchronizes all replaced hot-swapped disks, even if the same disk is re-inserted. In a mirrored volume with an even numbers of disks, the firmware marks the hot-swapped disk as a secondary disk and the other disk with data as the primary disk. The firmware resynchronizes all data from the primary disk onto the new secondary disk. In a mirrored volume with an odd number of disks, primary and secondary sets include three disks instead of two.

You can configure two disks as global hot spare disks to protect data on the mirrored volumes configured on the SAS2 controller. If the Integrated RAID firmware fails one of the mirrored disks, it automatically replaces the failed disk with a hot spare disk and then resynchronizes the mirrored data. The firmware automatically receives a notification when a hot spare replaces the failed disk, and it then designates that disk as the new hot spare.

The OCE feature enables you to expand the capacity of an existing two-disk Integrated

Mirroring (RAID1) volume by replacing the original disk drives with larger drives that have the same protocol (SAS or SATA).

NOTE: The new drives must be at least 50 GB larger than the original drives of the volume.

After you replace the disk drives and run the Online Capacity Expansion command, you must use a commercial tool specific to the operating system to move or increase the size of the partition on the volume.

The Integrated RAID firmware supports a background media verification feature that runs at regular intervals when the mirrored volume is in optimal state. If the verification command fails for any reason, the firmware reads the other disk’s data for this segment and writes it to the failing disk in an attempt to refresh the data. The firmware periodically writes the current media verification logical block address to nonvolatile memory so the media verification can continue approximately where it left off prior to a power cycle.

LSI Corporation Confidential

|

July 2009 Page 9

Chapter 2: Overview of Integrated RAID Mirrored Volumes

|

Mirrored Volume Features

2.4.6 Disk Write Caching

2.4.7 NVSRAM Usage

2.4.8 Background Initialization

2.4.9 Consistency Check

2.4.10 Make Data Consistent

SAS2 Integrated RAID Solutions User Guide

By default, the Integrated RAID firmware disables disk write caching for mirrored volumes. It does this to assure that the write journal entry stored in non-volatile static

RAM (NVSRAM) is always valid. If disk write caching were enabled (not recommended), the disk write log could be invalid.

The Integrated RAID firmware requires at least a 32-KB NVSRAM to perform write journaling for mirrored volumes on LSI SAS2 controllers. The NVSRAM also preserves configuration information across reboots. The firmware uses write journaling to verify that the disks in the mirrored volume are synchronized with each other.

Background initialization (BGI) is the process of copying data from primary to secondary disks in a mirrored volume. The Integrated RAID firmware starts BGI automatically as a background task when it creates a volume. The volume remains in

Optimal state while BGI is in progress.

A consistency check is the process of reading data from primary and secondary disks in a mirrored volume and comparing it to make sure it is identical. You can use the LSI

SAS2 BIOS Configuration Utility to start a consistency check on a mirrored volume.

Make data consistent (MDC) is an optional background task similar to a consistency check. If enabled, the Integrated RAID firmware starts MDC automatically when you move a redundant volume from one SAS controller to another SAS controller. MDC verifies that data on the primary and secondary disks is the same.

Page 10 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 3: Creating Mirrored Volumes

|

Mirrored Volume Configuration Overview

Chapter 3

Creating Mirrored Volumes

This chapter explains how to create Integrated Mirroring, Integrated Mirroring +

Striping, and Integrated Mirroring Enhanced volumes with the LSI SAS2 BIOS

Configuration Utility (SAS2 BIOS CU).

3.1 Mirrored Volume

Configuration Overview

3.2 Creating Mirrored Volumes

The LSI SAS2 BIOS CU is a menu-driven utility program that enables you to easily configure and manage Integrated RAID volumes. You can use the SAS2 BIOS CU to create one or two mirrored volumes on each LSI SAS2 controller, with up to two optional global hot spare disks. You must connect all disks in a mirrored volume to the same LSI SAS2 controller.

Although you can use disks of different size in mirrored volumes, the smallest disk in the volume determines the logical size of all disks in the volume. In other words, the volume does not use the excess space of the larger member disk(s). For example, if you create an Integrated Mirroring Enhanced volume with two 100-GB disks and two

120-GB disks, the volume uses only 100 GB on each of the larger disks.

Refer to

Chapter 2, Overview of Integrated RAID Mirrored Volumes

, for more information about the features of Integrated Mirroring, Integrated Mirroring + Striping, and

Integrated Mirroring Enhanced volumes.

The SAS2 BIOS CU is part of the Fusion-MPT BIOS. When the BIOS loads during the startup sequence and you see the message about the LSI Configuration Utility, press

Ctrl-C to start the SAS2 BIOS CU. After you do this, the message changes to:

Please wait, invoking SAS Configuration Utility...

After a brief pause, the main menu (Adapter List window) of the SAS2 BIOS CU appears.

On some systems, however, the following message appears next:

LSI Corp Configuration Utility will load following initialization!

In this case, the SAS2 BIOS CU loads after the system has completed its power-on self test.

You can configure one or two Integrated Mirroring, Integrated Mirroring + Striping, and

Integrated Mirroring Enhanced volumes on each LSI SAS2 controller. You can also configure one mirrored volume and one Integrated Striping volume on the same controller, up to a maximum of 14 physical disk drives for the two volumes. This includes up to two optional hot spare disks for the mirrored volume(s).

LSI Corporation Confidential

|

July 2009 Page 11

Chapter 3: Creating Mirrored Volumes

|

Creating Mirrored Volumes SAS2 Integrated RAID Solutions User Guide

3.2.1 Creating an Integrated Mirroring

Volume

„

„

„

All physical disks in a volume must be either SATA (with extended command set support) or SAS (with SMART support). You cannot combine SAS and SATA disks in the same volume. However, you can create one volume with SAS disks and a second volume with SATA disks on the same controller.

Disks must have 512-byte blocks and must not have removable media.

Integrated mirroring volumes must have two disks, Integrated Mirroring Enhanced volumes can have three-to-ten disks, and Integrated Mirroring + Striping volumes can have an even number of disks ranging from four-to-ten disks.

NOTE: LSI strongly recommends that you create global hot spare disks for all mirrored volumes to increase the level of data protection. If a disk in a mirrored volume fails, the

Integrated RAID firmware rebuilds it using one of the global hot spares, and the data is safe. If you create two mirrored volumes on an LSI SAS 2 controller, either of the two mirrored volumes can use the global hot spares if a disk fails.

Follow these steps to create a two-disk Integrated Mirroring (RAID 1) volume with the

SAS2 BIOS CU. The steps begin with the Adapter List window that appears when the configuration utility starts:

1. On the Adapter List window, use the arrow keys to select an LSI SAS adapter and then press Enter.

The Adapter Properties window appears, as the following figure shows.

Page 12

Figure 5: Adapter Properties Window

2. Use the arrow keys to select RAID Properties, and then press Enter.

The Create Array window appears.

3. Select Create RAID 1 Volume.

The Create New Array window appears.

LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 3: Creating Mirrored Volumes

|

Creating Mirrored Volumes

4. Move the cursor to the RAID Disk column and select a line that has a No entry in this column, indicating that the disk is not already part of the volume being created. To add the disk to the new array, change the No to Yes by pressing the space bar.

This is the Primary disk in the array.

CAUTION: If any of the disks contains data that you want to keep, back it up before you start creating the volume. The utility deletes all data from a disk when you select it to use in a mirrored volume.

5. Move the cursor to another line and press the space bar to add the second disk to the array.

This is the Secondary disk in the array.

6. Press C to create the array.

A menu screen appears.

7. From the menu options, select Save changes then exit this menu.

A Processing message appears briefly, and then the SAS2 BIOS CU returns to the

Adapter Properties window. Initialization of the new array continues in the background.

NOTE: To create a second Integrated Mirroring volume, repeat these instructions starting with Step 2. Alternatively, follow the instructions in the next section to create an

Integrated Mirroring Enhanced or Integrated Mirroring + Striping volume.

3.2.2 Creating an Integrated Mirroring

Enhanced or Integrated Mirroring +

Striping Volume

NOTE: See the instructions in

Section 3.3, Managing Hot Spare Disks , if you want to

create one or two global hot spares.

Integrated Mirroring Enhanced volumes can have from three-to-ten physical disks.

Data is written to a disk and mirrored on an adjacent disk. Integrated Mirroring +

Striping volumes can have a minimum of four and a maximum of 10 physical disks, in even numbers. In an Integrated Mirroring Enhanced or Integrated Mirroring + Striping volume, the data is both mirrored and striped.

Follow these steps to create an Integrated Mirroring Enhanced (RAID 1E) or Integrated

Mirroring + Striping (RAID 10) volume with the SAS2 BIOS CU. The steps begin with the

Adapter List window that appears when the configuration utility starts:

1. On the Adapter List window, use the arrow keys to select an LSI SAS adapter and then press Enter.

The Adapter Properties window appears, as shown in

Figure 5 .

2. Use the arrow keys to select RAID Properties, and then press Enter.

The Create Array window appears.

3. Select Create RAID 1E Volume.

The Create New Array window appears.

LSI Corporation Confidential

|

July 2009 Page 13

Chapter 3: Creating Mirrored Volumes

|

Creating Mirrored Volumes

3.2.3 Expanding an Integrated

Mirroring Volume with OCE

Page 14

SAS2 Integrated RAID Solutions User Guide

4. Move the cursor to the RAID Disk column and select a line that has a No entry in this column, indicating that the disk is not already part of the volume being created. To add the disk to the new array, change the No to Yes by pressing the space bar.

CAUTION: If any of the disks contains data that you want to keep, back it up before you start creating the volume. The utility deletes all data from a disk when you select it to use in a mirrored volume.

5. Move the cursor to another line and press the space bar to add another disk to the array.

If you select an odd number of disks, the SAS2 BIOS CU creates an Integrated

Mirroring Enhanced array. If you select an even number of disks, it creates an

Integrated Mirroring + Striping array. As you add disks, the Array Size field changes to reflect the size of the new array.

6. Press C to create the array.

A menu screen appears.

7. From the menu options, select Save changes then exit this menu.

A Processing message appears briefly, and then the SAS2 BIOS CU returns to the

Adapter Properties window. Initialization of the new array continues in the background.

NOTE: To create a second Integrated Mirroring Enhanced or Integrated Mirroring +

Striping volume, repeat the instructions above.

NOTE: See the instructions in

Section 3.3, Managing Hot Spare Disks , if you want to

create one or two global hot spares.

You can use the online capacity expansion (OCE) feature to expand the capacity of a two-disk Integrated Mirroring (RAID1) volume by replacing the original disks with two larger disk drives while the volume remains online. This process maintains data integrity at all times, even if one of the disks fails during the replacement process. The new disks must be at least 50 GB larger than the disks they are replacing, and they must use the same protocol (SAS or SATA) as the disks they are replacing.

Follow these steps to expand an existing RAID1 volume with OCE:

1. Physically replace one of the two volume disk drives with a drive that is at least

50 GB larger.

If necessary, you can identify the disks in the volume by following the instructions in

Section 3.4.5, Locating Disk Drives in a Volume .

2. Wait until synchronization is complete on the new disk and the volume returns to the Optimal state, as indicated in the Adapter Properties window of the SAS2 BIOS

CU.

3. Physically replace the other volume disk drive with a drive that is at least 50 GB larger.

LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 3: Creating Mirrored Volumes

|

Managing Hot Spare Disks

3.3 Managing Hot Spare Disks

3.3.1 Creating Hot Spare Disks

4. Again, wait until synchronization is complete on the new disk and the volume returns to the Optimal state.

5. In the Adapter List window of the SAS2 BIOS CU, use the arrow keys to select the LSI

SAS adapter with the RAID1 volume and then press Enter.

The Adapter Properties window appears.

6. Use the arrow keys to select RAID Properties, and then press Enter.

The Select New Array Type window appears.

7. Select View Existing Array.

The View Array window appears. If necessary, press Alt + N to switch to the RAID1 volume with the new, larger disk drives.

8. Select Manage Array.

The Manage Array window appears.

9. Select Online Capacity Expansion.

A menu screen appears with a warning message and with options to start the expansion process or quit.

10. Press Y to start the expansion.

The RAID Properties screen appears when the expansion process is complete. This typically occurs in a very short amount of time.

11. Run a commercial tool specific to the operating system to move or increase the size of the partition on the newly-expanded RAID1 volume.

You can create one or two global hot spare disks to protect the data on mirrored volumes on an LSI SAS2 controller. You can also delete hot spare disks.

Follow these steps to add global hot spare disks to an existing volume. The steps begin with the Adapter List window that appears when the configuration utility starts:

1. In the Adapter List window, use the arrow keys to select the LSI SAS adapter with the volume that needs hot spare disks and then press Enter.

The Adapter Properties window appears, as shown in

Figure 5 .

2. Use the arrow keys to select RAID Properties, and then press Enter.

The Select New Array Type window appears.

3. Select View Existing Array.

The View Array window appears. If necessary, press Alt + N to switch to another array on this adapter.

4. Select Manage Array.

The Manage Array window appears.

5. Select Manage Hot Spares, which is the first option, as shown in the following figure.

LSI Corporation Confidential

|

July 2009 Page 15

Chapter 3: Creating Mirrored Volumes

|

Managing Hot Spare Disks SAS2 Integrated RAID Solutions User Guide

3.3.2 Deleting Hot Spare Disks

Page 16

Figure 6: Manage Array Window

The Manage Hot Spares window appears.

6. Identify a disk that is not part of a RAID volume (i.e., the value in the Drive Status column is not RAID) and that is not already identified as a hot spare disk.

A global hot spare disk must have 512-byte blocks and nonremovable media. The disk type must be either SATA with extended command set support or SAS with

SMART support.

7. Move the highlight to the Hot Spr (Hot Spare) field for this disk and press the space bar.

The Hot Spare status changes to Yes.

8. (Optional) Repeat the preceding step to select a second global hot spare disk

9. Press C to create the hot spare disk.

A menu window appears. An error message appears if the selected disk is not at least as large as the smallest disk used in the existing volume(s). An error message also appears if you try to add a SATA disk as a hot spare for volumes that use SAS disks, or vice versa.

10. Select Save changes then exit this menu to create the hot spare disk(s).

The SAS2 BIOS CU pauses while it configures the global hot spares.

Follow these steps to delete a global hot spare disk:

1. Access the Manage Hot Spares window by following steps 1 through 5 of

Section 3.3.1

.

2. Select the disk that you no longer wish to use as a hot spare, and press C.

3. Select Save changes then exit this menu to commit the changes.

The configuration utility pauses while it removes the global hot spare.

LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 3: Creating Mirrored Volumes

|

Other Configuration Tasks

3.4 Other Configuration Tasks

3.4.1 Viewing Volume Properties

3.4.2 Running a Consistency Check

This section explains how to perform other configuration and maintenance tasks for mirrored volumes.

Follow these steps to view the RAID properties of the mirrored volume(s):

1. In the SAS2 BIOS CU, select an LSI SAS2 adapter from the Adapter List.

The Adapter Properties window appears.

2. Select RAID Properties.

The Select New Array Type window appears.

3. Select View Existing Array.

The View Array window appears, showing information about the array and each disk in it. The window includes hot spare information, if you have created global hot spare disks.

NOTE: If you create one volume using SAS disks, another volume using SATA disks, and global hot spare disks, the hot spare disks only appear when you view the mirrored volume that uses the same type of disks as the hot spare disks.

4. If the currently displayed array is not the one you want, press Alt+N to view another array on the adapter.

Use the Consistency Check command to verify that the data is synchronized on the mirrored disks in the volume.

Follow these steps to run a consistency check on a selected mirrored volume:

1. In the Adapter List window, use the arrow keys to select an LSI SAS adapter.

The Adapter Properties window appears.

2. Use the arrow keys to select RAID Properties, and then press Enter.

The Select New Array Type window appears.

3. Select View Existing Array.

The View Array window appears. If necessary, press Alt + N to switch to another array on this adapter.

4. Select Manage Array.

The Manage Array window appears.

5. Select Consistency Check on the Manage Array window.

A menu window appears.

6. Press Y to start the consistency check.

The consistency check runs a read-read-compare algorithm in the background. If it encounters any data miscompares, it stores the information in a bad block table.

LSI Corporation Confidential

|

July 2009 Page 17

Chapter 3: Creating Mirrored Volumes

|

Other Configuration Tasks

3.4.3 Activating an Array

3.4.4 Deleting an Array

SAS2 Integrated RAID Solutions User Guide

A volume (array) can become inactive if, for example, you remove it from one controller or computer and install it on a different one. The Activate Array option allows you to reactivate an inactive volume. This option is available only when the selected volume is currently inactive.

Follow these steps to activate a selected volume:

1. In the Adapter List window, use the arrow keys to select an LSI SAS adapter and press Enter.

The Adapter Properties window appears.

2. Select RAID Properties, and then press Enter.

The Select New Array Type window appears.

3. Select View Existing Array.

The View Array window appears. If necessary, press Alt + N to switch to another array on this adapter.

4. Select Manage Array.

The Manage Array window appears.

5. Select Activate Array on the Manage Array window.

A menu window appears.

6. Press Y to activate the array.

The array becomes active after a pause.

CAUTION: Before you delete an array, be sure to back up all data on the array that you want to keep.

Follow these steps to delete a selected volume (array):

1. In the Adapter List window, use the arrow keys to select an LSI SAS adapter.

The Adapter Properties window appears.

2. Use the arrow keys to select RAID Properties, and then press Enter.

The Select New Array Type window appears.

3. Select View Existing Array.

The View Array window appears. If necessary, press Alt + N to switch to another array on this adapter.

4. Select Manage Array.

The Manage Array window appears.

5. Select Delete Array.

A menu window appears.

6. Press Y to delete the array, or press N to cancel the deletion process.

Page 18 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 3: Creating Mirrored Volumes

|

Other Configuration Tasks

3.4.5 Locating Disk Drives in a Volume

3.4.6 Selecting a Boot Disk

After a pause, the utility deletes the array. If there is another remaining array and one or two hot spare disks, the BIOS checks the hot spare disks to determine if they are compatible with the remaining volume. If they are not compatible (too small or wrong disk type), the BIOS deletes them also.

You can use the SAS2 BIOS CU to locate and identify a specific physical disk drive in a disk enclosure by flashing the drive’s LED. You can also flash the LEDs of all the disk drives in a RAID volume, if they are in a disk enclosure.

When you add a disk drive to a new mirrored volume, the LED on the disk drive starts flashing. The LED stops flashing when you finish creating the volume.

You can locate individual disk drives from the SAS Topology window by flashing their

LEDs. To do this, follow these steps:

1. Select the desired SAS2 controller on the Adapter List window and press Enter.

The Adapter Properties window appears.

2. Highlight SAS Topology and press Enter.

The SAS Topology window appears.

3. Select the disk in the Device Identifier column and press Enter.

The LED on the disk flashes until you press a key to stop it.

4. To identify all the disk drives in a volume, select the volume in the left column of the

SAS Topology window and press Enter.

The LEDs flash on all disk drives in the volume until you press a key to stop them.

NOTE: The LEDs on the disk drives will flash as described above if the firmware is correctly configured and the drives are in a disk enclosure.

You can select a boot disk in the SAS Topology window. The next time you boot the computer, the firmware moves this disk to scan ID 0, making it the new boot disk. This makes it easier to set BIOS boot device options and to keep the boot device constant during device additions and removals. You can also select an alternative boot device. If the BIOS cannot find the preferred boot device when it loads, it will attempt to boot from the alternate device.

Follow these steps to select a boot disk:

1. In the SAS2 BIOS CU, select an adapter from the Adapter List.

2. Select the SAS Topology option. If a device is currently configured as the boot device, the Device Info column on the SAS Topology window lists the word Boot, as shown in the following figure.

LSI Corporation Confidential

|

July 2009 Page 19

Chapter 3: Creating Mirrored Volumes

|

Other Configuration Tasks SAS2 Integrated RAID Solutions User Guide

Page 20

Figure 7: Boot Device on SAS Topology Window

If a device is currently configured as the alternate boot device, the Device Info column shows the word Alt.

3. To select the preferred boot disk, move the cursor to the disk and press Alt+B.

4. To remove the boot designator, move the cursor to the current boot disk and press

Alt+B.

This controller will no longer have a disk designated as boot.

5. To change the boot disk, move the cursor to the new boot disk and press Alt+B.

The Boot designator moves to this disk.

6. To select an alternate boot disk, move the cursor to the disk and press Alt+A.

NOTE: To change the alternate boot device from one disk to another, follow steps 4 and

5 above, but use Alt+A instead of Alt+B.

LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 4: Overview of Integrated Striping

|

Introduction

Chapter 4

Overview of Integrated Striping

This chapter provides an overview of the LSI Integrated RAID features that support the creation of striped arrays.

4.1 Introduction

LSI Integrated RAID enables you to create Integrated Striping volumes for applications that require the faster performance and increased storage capacity of striping. The low-cost Integrated Striping feature has many of the advantages of a more expensive

RAID striping solution. You can configure an Integrated Striping volume as the boot disk or as a data disk.

The Integrated Striping solution provides better performance and more capacity than individual disks, without burdening the host CPU. The firmware splits host I/Os over multiple disks and presents the disks as a single logical drive. In general, striping is transparent to the BIOS, the drivers, and the operating system.

You use the LSI SAS2 BIOS CU to configure Integrated Striping volumes. These volumes can consist of two-to-ten disks.

4.2 Integrated Striping Features

Integrated Striping supports the following features:

„

„

„

„

„

„

„

„

„

„

„

„

Support for volumes with two-to-ten disks

Support for two Integrated Striping volumes with up to 14 drives total on a SAS2 controller.

Support for combining one Integrated Striping volume and one Integrated

Mirroring, Integrated Mirroring + Striping, or Integrated Mirroring Enhanced volume on a single controller.

Support for both SAS and SATA drives, although the two types of drives cannot be combined in one volume

Fusion-MPT architecture

Easy-to-use SAS BIOS configuration utility

Error notification

Disk write caching, which is enabled by default on all Integrated Striping volumes

Use of metadata to store volume configuration on disks

OS-specific event log

Error display inside the Fusion-MPT BIOS

SCSI Enclosure Services (SES) status LED support for drives used in Integrated

Striping volumes

LSI Corporation Confidential

|

July 2009 Page 21

Chapter 4: Overview of Integrated Striping

|

Integrated Striping Description

4.3 Integrated Striping

Description

SAS2 Integrated RAID Solutions User Guide

On Integrated Striping volumes, the firmware writes data across multiple disks instead of onto one disk. It does this by partitioning each disk’s storage space into 64-KB stripes. The firmware interleaves the stripes round-robin so that the combined storage space consists alternately of stripes from each disk.

The following figure shows an example of integrated striping: the firmware writes segment 1 to disk 1, segment 2 to disk 2, segment 3 to disk 3, and so on. When the firmware reaches the end of the disk list, it continues writing data at the next available segment of disk 1.

LSI SAS2

Controller

SAS

Disk 1 Disk 2 Disk 3 Disk 4

Segment 1

Segment 5

Segment 9

Segment 2

Segment 6

Segment 10

Segment 3

Segment 7

Segment 11

Segment 4

Segment 8

Segment 12

3_00010-00

Figure 8: Integrated Striping Example

The following figure shows a logical view and a physical view of an Integrated Striping volume with three disks.

Logical View Physical View

Stripe 1

Stripe 2

Stripe 3

Stripe 1

Stripe 4

Stripe 7

+

Stripe 2

Stripe 5

Stripe 8

+

Stripe 3

Stripe 6

Stripe 9

Stripe N Stripe N-2 Stripe N-1 Stripe N

3_00011-00

Figure 9: Integrated Striping - Logical and Physical Views

Speed is the primary advantage of the Integrated Striping solution because it transfers data to or from multiple disks simultaneously. However, there is no data redundancy.

The data is lost if one disk fails, unless you have backed it up on other media.

Page 22 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 5: Creating Integrated Striping Volumes

|

Integrated Striping Configuration Over-

Chapter 5

Creating Integrated Striping Volumes

This chapter explains how to create Integrated Striping volumes using the LSI SAS2

BIOS Configuration Utility (SAS2 BIOS CU).

5.1 Integrated Striping

Configuration Overview

The LSI SAS2 BIOS CU is a menu-driven utility program that enables you to easily configure and manage Integrated RAID volumes. You can use the SAS2 BIOS CU to create one or two Integrated Striping volumes on each LSI SAS2 controller. Each volume can have from two-to-ten drives. All disks in an Integrated Striping volume must be connected to the same LSI SAS2 controller.

Although you can use disks of different size in Integrated Striping volumes, the smallest disk in the volume determines the logical size of all disks in the volume. In other words, the firmware does not use the excess space of the larger member disk(s). For example, if you create an Integrated Striping volume with two 100-GB disks and two 120-GB disks, the firmware uses only 100 GB on each of the larger disks for the volume. The supported stripe size is 64 kilobytes.

Refer to

Chapter 4 for more information about Integrated Striping volumes.

5.2 Creating Integrated Striping

Volumes

The SAS2 BIOS CU is part of the Fusion-MPT BIOS. When the BIOS loads during boot and you see the message about the LSI Configuration Utility, press Ctrl-C to start the CU.

After you do this, the message changes to:

Please wait, invoking SAS Configuration Utility...

After a brief pause, the main menu of the SAS2 BIOS CU appears. On some systems, however, the following message appears next:

LSI Corp Configuration Utility will load following initialization!

In this case, the SAS2 BIOS CU loads after the system has completed its power-on self test.

You can configure any combination of up to two Integrated Striping (RAID 0) volumes and mirrored volumes on each LSI SAS2 controller, up to a maximum of 14 physical disk drives for the two volumes. (This includes one or two hot spare disks for mirrored arrays.)

The following guidelines apply when creating an Integrated Striping volume:

„

„

All physical disks in an Integrated Striping volume must be either SATA (with extended command set support) or SAS (with SMART support). You cannot combine SAS and SATA disks in the same volume. However, you can create one volume with SAS disks and a second volume with SATA disks on the same controller.

Disks must have 512-byte blocks and must not have removable media.

LSI Corporation Confidential

|

July 2009 Page 23

Chapter 5: Creating Integrated Striping Volumes

|

Creating Integrated Striping Volumes SAS2 Integrated RAID Solutions User Guide

„ Integrated Striping volumes must have at least two disks and no more than 10 disks.

Integrated Striping volumes do not support hot spare disks.

Follow these steps to configure an Integrated Striping volume with the SAS2 BIOS CU.

The procedure assumes that the required controller(s) and disks are already installed in the computer.

1. On the Adapter List window, select an LSI SAS adapter and press Enter.

The Adapter Properties screen appears, as the following figure shows.

Page 24

Figure 10: Adapter Properties Screen

2. Select RAID Properties and press Enter.

The Create Array window appears.

3. Select Create RAID 0 Volume.

The Create New Array window appears.

4. Move the cursor to the RAID Disk column and select a line that has a No entry in this column, indicating that the disk is not already part of the volume being created. To add the disk to the new array, change the No to Yes by pressing the space bar.

5. Move the cursor to another line and press the space bar to add another disk to the array.

6. Continue adding disks in this way until you have added the number you want.

7. Press C to create the array.

A menu appears.

8. From the menu options, select Save changes then exit this menu.

A Processing message appears briefly, and then the SAS2 BIOS CU returns to the

Adapter Properties window. Initialization of the new array continues in the background.

LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Chapter 5: Creating Integrated Striping Volumes

|

Other Configuration Tasks

NOTE: Repeat the instructions above to create a second Integrated Striping volume, if desired and if enough additional disks are available.

5.3 Other Configuration Tasks

5.3.1 Viewing Volume Properties

5.3.2 Activating an Array

This section explains how to perform other configuration and maintenance tasks for

Integrated Striping volumes.

Follow these steps to view the RAID properties of a volume:

1. In the SAS2 BIOS CU, select an LSI SAS2 adapter from the Adapter List.

The Adapter Properties window appears.

2. Select RAID Properties.

The Select New Array Type window appears.

3. Select View Existing Array.

The View Array window appears, showing information about the array and each disk in it.

4. If the currently displayed array is not the one you want, press Alt+N to view another array on the adapter.

A volume (array) can become inactive if, for example, you remove it from one controller or computer and install it on a different one. The Activate Array option allows you to reactivate an inactive volume. This option is available only when the selected volume is currently inactive.

Follow these steps to activate a selected volume:

1. In the Adapter List window, use the arrow keys to select an LSI SAS adapter and press Enter.

The Adapter Properties window appears.

2. Select RAID Properties, and then press Enter.

The Select New Array Type window appears.

3. Select View Existing Array.

The View Array window appears. If necessary, press Alt + N to switch to another array on this adapter.

4. Select Manage Array.

The Manage Array window appears.

5. Select Activate Array on the Manage Array window.

A menu window appears.

6. Press Y to activate the array.

The array becomes active after a pause.

LSI Corporation Confidential

|

July 2009 Page 25

Chapter 5: Creating Integrated Striping Volumes

|

Other Configuration Tasks SAS2 Integrated RAID Solutions User Guide

5.3.3 Deleting an Array

5.3.4 Locating a Disk Drive, or Multiple

Disk Drives, in a Volume

CAUTION: Before you delete an array, be sure to back up all data on the array that you want to keep.

Follow these steps to delete a selected volume (array):

1. In the Adapter List window, use the arrow keys to select an LSI SAS adapter.

The Adapter Properties window appears.

2. Use the arrow keys to select RAID Properties, and then press Enter.

The Select New Array Type window appears.

3. Select View Existing Array.

The View Array window appears. If necessary, press Alt + N to switch to another array on this adapter.

4. Select Manage Array.

The Manage Array window appears.

5. Select Delete Array.

A menu window appears.

6. Press Y to delete the array, or press N to cancel the deletion process.

After a pause, the utility deletes the array.

You can use the SAS2 BIOS CU to locate and identify a specific physical disk drive in a disk enclosure by flashing the drive’s LED. You can also flash the LEDs of all the disk drives in a RAID volume, if they are in a disk enclosure.

When you add a disk drive to a new mirrored volume, the LED on the disk drive starts flashing. The LED stops flashing when you finish creating the volume.

You can locate individual disk drives from the SAS Topology window by flashing their

LEDs. To do this, follow these steps:

1. Select the desired SAS2 controller on the Adapter List window and press Enter.

The Adapter Properties window appears.

2. Highlight SAS Topology and press Enter.

The SAS Topology window appears.

3. Select the disk in the Device Identifier column and press Enter.

The LED on the disk flashes until you press a key to stop it.

4. To identify all the disk drives in a volume, select the volume in the left column of the

SAS Topology window and press Enter.

The LEDs flash on all disk drives in the volume until you press a key to stop them.

NOTE: The LEDs on the disk drives will flash as described above if the firmware is correctly configured and the drives are in a disk enclosure.

Page 26 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide

5.3.5 Selecting a Boot Disk

Chapter 5: Creating Integrated Striping Volumes

|

Other Configuration Tasks

You can select a boot disk in the SAS Topology window. The next time you boot the computer, the firmware moves this disk to scan ID 0, making it the new boot disk. This makes it easier to set BIOS boot device options and to keep the boot device constant during device additions and removals. You can also select an alternative boot device. If the BIOS cannot find the preferred boot device when it loads, it will attempt to boot from the alternate device.

Follow these steps to select a boot disk:

1. In the SAS2 BIOS CU, select an adapter from the Adapter List.

2. Select the SAS Topology option. If a device is currently configured as the boot device, the Device Info column on the SAS Topology window lists the word Boot, as shown in the following figure.

LSI Corporation Confidential

|

July 2009

Figure 11: Boot Device on SAS Topology Window

If a device is currently configured as the alternate boot device, the Device Info column shows the word Alt.

3. To select the preferred boot disk, move the cursor to the disk and press Alt+B.

4. To remove the boot designator, move the cursor to the current boot disk and press

Alt+B.

This controller will no longer have a disk designated as boot.

5. To change the boot disk, move the cursor to the new boot disk and press Alt+B.

The Boot designator moves to this disk.

6. To select an alternate boot disk, move the cursor to the disk and press Alt+A.

NOTE: To change the alternate boot device from one disk to another, follow steps 4 and

5 above, but use Alt+A instead of Alt+B.

Page 27

Chapter 5: Creating Integrated Striping Volumes

|

Other Configuration Tasks SAS2 Integrated RAID Solutions User Guide

Page 28 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Appendix A:

|

Hardware and Software Requirements

Appendix A

Using the SAS2 Integrated RAID Configuration Utility

This appendix explains how to use the SAS2 Integrated RAID Configuration Utility

(SAS2IRCU) to create RAID volumes on LSI SAS2 controllers.

SAS2IRCU is a command-line utility that you use to configure the Integrated RAID functions of LSI SAS2 controllers. SAS2IRCU runs in the DOS, Linux, EFI, and Windows

Pre-Installation (WinPE) environments. It is a minimally interactive program that you can execute from a command-line prompt or a shell script. When you use SAS2IRCU commands, the program sends results to the environment through the program status value that it returns when it exits.

OEMs can use SAS2IRCU to configure Integrated RAID devices on the LSI family of

MPT2.0-based SAS2 controllers. Typical uses for this utility include, but are not limited to, system configuration on the manufacturing floor, post-delivery configuration by end users, and ongoing configuration and monitoring of Integrated RAID devices.

NOTE: SAS2IRCU is a configuration utility for the manufacturing environment. End users should use the LSI SAS2 BIOS Configuration Utility (SAS2 BIOS CU) to create and manage Integrated RAID volumes. For more information, see

Chapter 3

and Chapter 5

.

A.1 Hardware and Software

Requirements

A.1.1 Controller Support

A.1.2 Operating System and Software

Support

„

„

„

„

SAS2IRCU runs on the following platforms.

X86 - X86 or compatible

EFI - UEFI 2

EM64T/AMD64

Sun SPARC® (v9)

SAS2IRCU works with storage devices that are compliant with existing SCSI standards.

„

„

„

SAS2IRCU supports the following LSI SAS2 controllers and the host bus adapters based on these controllers:

LSISAS2004

LSISAS2008

LSISAS2108

SAS2IRCU requires PCI 2.x or PCI 3.0 firmware and MPI v2.0. SAS2IRCU supports the following operating systems:

„ WinPE 1.x (Server 2003/XP), WinPE 2.0 (Vista), WinPE 2.1 (Server 2008)

„

Requires Windows® driver v2.00.00.17 or greater.

UEFI 2.1

LSI Corporation Confidential

|

July 2009 Page 29

Appendix A:

|

Interface Description

A.2 Interface Description

A.3 Commands

SAS2 Integrated RAID Solutions User Guide

„ Linux® 2.6 Kernel - RHEL 5, SLES 10

„

Requires Linux driver v00.255.04.00 or greater.

MS-DOS® 6.22 and FreeDOS 1.0

SAS2IRCU runs on DOS only if the system BIOS supports 32-bit BIOS services, including the PCI BIOS services. SAS2IRCU uses these services to locate the controller and its interface registers because it needs to directly access the controller chip’s interface registers.

Format commands as follows for the SAS2IRCU command-line interface: sas2ircu <controller #> <command> <parameters>

Use a space to separate the program name, controller number, command, and parameters fields. The format of <parameters> is command specific.

Information passes between the user environment and the SAS2IRCU through the command line, the standard output and standard error interfaces, and the program return value. You can redirect the output streams as permitted by the operating system. When the program exits, it returns a value of 0 if the command is successful.

Otherwise, it returns a value of 1.

If a RAID command fails, the SAS2IRCU prints the IOCStatus and IOCLogInfo on the console. You can use this information to analyze the cause of the failure.

The following table shows which commands the SAS2IRCU supports on each operating system.

Table 1: SASIRCU Commands

DOS Linux EFI WinPE

CREATE

DELETE

DISPLAY

HOTSPARE

LIST

STATUS

MFGPAGE

CONSTCHK

ACTIVATE

LOCATE

LOGIR x x x x x x x x x x x x x x x x x x x x x

— x x x x x x x x x x

— x x x x x x x x x x

Page 30 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide

A.3.1 Common Command-Line

Parameters

A.3.2 CREATE Command

LSI Corporation Confidential

|

July 2009

Appendix A:

|

Commands

„

„

„

„

The commands are not case sensitive. The command descriptions use the following conventions:

„

Enter the text in italics exactly as shown on the command line.

Replace text enclosed in < > with a required parameter.

Replace text enclosed in [ ] with an optional parameter.

Enter parameters enclosed in { } one or more times, as required for the command being executed.

Do not enter the command-line definition characters < >, [ ], and { } on the command line.

This section describes command-line parameters that are common to more than one command.

„ <controller #>

The unique controller number that the program assigns to each PCI function found on supported controller chips in the system, starting with controller # 0. For example, in a system containing two LSISAS2008 controllers, controller # 0 references the first controller and controller # 1 references the other controller.

„

Valid controller number values are 0 to 255 (decimal).

<Enclosure:Bay>

The enclosure and bay/slot of a peripheral device attached to the bus. The argument must use a colon (:) as a separator and must follow the enclosure:bay format. Enclosure is a 16-bit EnclosureHandle value set by the IOC. A value of 0 is invalid. Bay/Slot is a 16-bit slot value set by the IOC. Use the DISPLAY command to get the enclosure and slot numbers of a drive.

The CREATE command creates Integrated RAID volumes on LSI SAS2 controllers.

When you add a disk to an Integrated RAID volume, some of its storage capacity may not be used. For example, if you add a 300-GB disk drive to a volume that only uses

200 GB of capacity on each disk drive, the volume does not use the remaining 100 GB of capacity on the disk drive.

The disk identified by the first Enclosure:Bay on the command line becomes the primary

disk drive when you create an Integrated Mirroring (RAID 1) volume. If the controller resyncs the disk drives, the data on the primary disk drive becomes available when you access the newly created volume.

When the IR firmware creates a RAID1 volume, it starts a background initialization of the volume. You can use the STATUS command to monitor the status of the initialization.

„

„

Observe the following rules when creating Integrated RAID volumes and hot spare disks:

„ All disks that are part of a volume, including hot spares for that volume, must be on the same SAS2 controller.

You can create RAID0, RAID1, RAID1E, and RAID10 Integrated RAID volumes.

You can create a maximum of two Integrated RAID volumes per controller.

Page 31

Appendix A:

|

Commands SAS2 Integrated RAID Solutions User Guide

A.3.2.1 Command Line

A.3.2.2 Parameters

A.3.2.3 Program Return Value

A.3.3 DELETE Command

A.3.3.1 Command Line

A.3.3.2 Parameters

„ The configuration of the Integrated RAID firmware determines the maximum and minimum number of drives that you can use in Integrated RAID volumes. The configuration is specified in the following fields of IOC Page 6:

MaxDrivesRAID0, MaxDrivesRAID1, MaxDrivesRAID10, MaxDrivesRAID1E

MinDrivesRAID0, MinDrivesRAID1, MinDrivesRAID10, MinDrivesRAID1E,

MaxVolumes, MaxPhysDisks, MaxGlobalHotSpares, MaxPhysDisks (maximum number of physical drives combined in all volumes on the controller)

For more information, see the description of the IOC configuration pages in Chapter

14 of the Fusion MPT 2.0 MPI Specification Guide.

„

„

„

SAS2IRCU does not allow you to create an Integrated RAID volume that combines

SAS and SATA HDDs.

SAS2IRCU does not allow you to create an Integrated RAID volume that combines

SSDs (solid-state drives) and hard disk drives.

SAS2IRCU does allow you to use both SATA and SAS solid-state drives in a single

Integrated RAID volume, if the Integrated RAID firmware supports it. Support for such a mixing is specified by values in static fields in Manufacturing Page 4 in the

MPI2 specification and is specific for SSD drives only.

sas2ircu <controller #> create <volume type> <size>

{<enclosure:bay>} [VolumeName] [noprompt]

„

„

„

„

„

„

<controller #> – The index of the controller for the newly-created volume.

<volume type> – Volume type for the new volume. Valid values are RAID0, RAID1,

RAID10, or RAID1E.

<size> – Size of the RAID volume in Mbytes, or MAX for the maximum size available.

<enclosure:bay> - The enclosure:bay value of the disk drive for the new RAID volume.You can get these values from the output of the DISPLAY command. DOS does not support addressing by enclosure:bay.

VolumeNameA user-specified string to identify the volume.

noprompt – This optional parameter prevents warnings and prompts from appearing while the command is running.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

The DELETE command deletes all Integrated RAID volumes and hot spare drives from the specified LSI SAS2 controller. No other controller configuration parameters are changed.

sas2ircu <controller #> delete [noprompt]

„

„

<controller #> – The index of the controller with the volume(s) that you want to delete.

noprompt – This optional parameter prevents warnings and prompts from appearing while the command is running.

Page 32 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Appendix A:

|

Commands

A.3.3.3 Program Return Value

A.3.4 DISPLAY Command

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

The DISPLAY command displays information about LSI SAS2 controller configurations, including controller type, firmware version, BIOS version, volume information, physical drive information, and enclosure. See the following Sample Output example.

The physical device information section displays the duplicate device of a dual ported

SAS drive.

NOTE: One MB is 1,048,576 bytes. The command rounds all amounts stated in MB down to the nearest MB.

A.3.4.1 Command Line

A.3.4.2 Parameters

A.3.4.3 Program Return Value

sas2ircu <controller #> display [filename]

„

„

<controller #> – The index of the controller for which you want to display information.

[filename] – An optional valid filename to store the command output to a file.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

A.3.4.4 Sample Output Here is a sample of the information that the DISPLAY command returns.

Read configuration has been initiated for controller 0

------------------------------------------------------------

Controller information

------------------------------------------------------------

Controller type

BIOS version

Firmware version

Channel description

: SAS2008

: 7.00.02.00

: 00.250.19.0

: 1 Serial Attached SCSI

Initiator ID

Maximum physical devices

Concurrent commands supported

: 112

: 62

: 266

Segment : 0

Bus : 64

Device : 1

Function : 0

RAID Support : Yes

------------------------------------------------------------

IR Volume information

------------------------------------------------------------

------------------------------------------------------------

Physical device information

------------------------------------------------------------

LSI Corporation Confidential

|

July 2009 Page 33

Appendix A:

|

Commands SAS2 Integrated RAID Solutions User Guide

Initiator at ID #112

Device at ID #335524

Device is a Hard disk

Enclosure # : 2

Slot # : 2

Connector ID : 4

State : Ready (RDY)

Size (in MB)/(in sectors) : 70007/143374738

Manufacturer : HP

Model Number : DG072A9BB7

Firmware Revision : HPD0

Serial No : B365P720H7330709

Protocol : SAS

Drive Type : SAS

Device at ID #335525

Device is a Hard disk

Enclosure # : 2

Slot # : 1

Connector ID : 4

State : Ready (RDY)

Size (in MB)/(in sectors) : 70007/143374738

Manufacturer : HP

Model Number : DG072A9BB7

Firmware Revision : HPD0

Serial No : B365P720H7L70709

Protocol : SAS

Drive Type : SAS

------------------------------------------------------------

Enclosure information

------------------------------------------------------------

Enclosure# : 1

Logical ID : 51234567:89012345

Numslots : 8

StartSlot : 0

Logical drive status values are as follows:

„

„

„

„

„

„

Okay (OKY) – The volume is Active and drives are functioning properly. User data is protected if the current RAID level provides data protection.

Degraded (DGD) – The volume is Active. User data is not fully protected due to a configuration change or drive failure.

Failed (FLD) – The volume has failed.

Missing (MIS) – The volume is missing.

Initializing (INIT) – The volume is initializing.

Online (ONL) – The volume is online.

„

„

Physical device status values are as follows:

Online (ONL) – The drive is operational and is part of a logical drive.

Hot Spare (HSP) – The drive is a hot spare that is available to replace a failed drive in an array.

Page 34 LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide

A.3.5 HOTSPARE Command

LSI Corporation Confidential

|

July 2009

Appendix A:

|

Commands

„

„

„

„

„

„

„

„

„

Ready (RDY) – The drive is ready for use as a normal disk drive, or it is ready to be assigned to a disk array or a hot spare pool.

Available (AVL) – The drive may or may not be ready, and it is not suitable for use in an array or a hot spare pool.

Failed (FLD) – The drive was part of a logical drive or was a hot spare drive, and it failed. The drive is now offline.

Missing (MIS) – The drive was part of a logical drive or was a hot spare drive, and it is missing. It has been removed or is not responding.

Standby (SBY) – The device is not a hard disk device.

Out of Sync (OSY) – The drive, which is part of a logical drive, is not in sync with other drives that are part of the logical drive.

Degraded (DGD) – The drive is part of a logical drive and is in degraded state.

Rebuilding (RBLD) – The drive is part of a logical drive and is currently rebuilding.

Optimal (OPT) – The drive is optimal and is part of a logical drive.

Physical device Drive Type values are as follows:

„

„

„

„

SAS_HDD – The drive is a SAS hard-disk drive (HDD).

SATA_HDD – The drive is a SATA hard-disk drive (HDD).

SAS_SSD – The drive is a SAS solid-state drive (SSD).

SATA_SSD – The drive is a SATA solid-state drive (SSD).

„

„

Physical device Protocol values are as follows:

SAS – The drive supports SAS protocol.

SATA – The drive supports SATA protocol.

The HOTSPARE command adds a hot spare drive to spare pool 0 or deletes a hot spare drive. The capacity of the hot spare drive must be greater than or equal to the capacity of the smallest drive in the RAID volume. You can verify this by using the DISPLAY command on the drive.

„

„

Observe the following rules when creating hot spare disks:

„

„

„

You cannot create a hot spare disk unless at least one RAID1, RAID10, or RAID1E volume already exists.

You cannot create a hot spare and add it to an inactive Integrated RAID volume.

For hard-disk drives, you cannot add a SAS hot spare disk if the existing volumes on the controller use SATA disks. You cannot add a SATA hot spare disk if the existing volumes on the controller use SAS disks.

For solid-state drives only, you can add a SAS hot spare SSD to a volume with SATA

SSDs and you can add a SATA hot spare SSD to a volume with SAS SSDs, if the

Integrated RAID firmware allows it. This depends on the values in the static fields in

Manufacturing Page 4. For more information, see the Fusion-MPT 2.0 MPI

Specification Guide.

The maximum allowable number of hot spare drives depends on the value of the

MaxGlobalHotSpares field in IOC Page 6. (Normally, the maximum is two global hot spares per controller.)

Page 35

Appendix A:

|

Commands SAS2 Integrated RAID Solutions User Guide

A.3.5.1 Command Line

A.3.5.2 Parameters

A.3.5.3 Program Return Value

A.3.6 STATUS Command

Page 36

A.3.6.1 Command Line

A.3.6.2 Parameters

A.3.6.3 Program Return Value

A.3.6.4 Sample Output

„ You cannot add a solid-state drive hot spare to a volume with hard-disk drives, or vice versa.

sas2ircu <controller #> hotspare [delete] <enclosure:bay>

„

„

„

<controller #> – The index of the controller on which you want to create the hot spare disk.

<enclosure:bay> - The enclosure:bay value for the hot spare disk drive. You can get these values from the output of the DISPLAY command. DOS does not support addressing by enclosure:bay.

delete – This optional command deletes the hot spare disk at enclosure:bay.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

The STATUS command displays the current status of any existing Integrated RAID volumes and the status of any operation that is currently in progress on the selected controller. If no operation is in progress, the SAS2IRCU prints a message indicating this before it exits.

sas2ircu <controller #> status

„ <controller #> – The index of the controller with the volumes whose status you want to display.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

Here is an example of the information that the STATUS command returns when a volume resynchronization is in progress:

Background command progress status for controller 0...

IR Volume 1

Volume ID : 6

Current operation : Synchronize

Volume status : Enabled

Volume state : Degraded

Physical disk I/Os : Not quiesced

Volume size (in sectors) : 70311936

Number of remaining sectors : 68250624

Percentage complete : 2.93%

Here is an example of the status information that the STATUS command returns if a background volume operation is not in progress:

Background command progress status for controller 0...

IR Volume 1

Current operation : None

Volume ID : 6

LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Appendix A:

|

Commands

A.3.7 LIST Command

A.3.7.1 Command Line

A.3.7.2 Parameters

A.3.7.3 Program Return Value

A.3.7.4 Sample Output

A.3.8 MFGPAGE Command

A.3.8.1 Command Line

A.3.8.2 Parameters

A.3.8.3 Program Return Value

Volume status : Enabled

Volume state : Optimal

Physical disk I/Os : Not quiesced

The possible values for the fields in the status data are as follows:

„

„

„

„

Current operation: Synchronize, Consistency Check, OCE, Background Init, or None

Volume status: Enabled or Disabled

Volume state: [Inactive] Optimal, Degraded, Missing, or Failed

Physical disk I/Os: Quiesced or Not quiesced

The LIST command displays a listing of all controllers present in system, along with each corresponding controller index. You use the controller index as an input parameter for other SAS2IRCU commands.

sas2ircu list

None

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Command failed.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

Here is an example of the output of the LIST command. The format and fields in the output may vary depending on the types of installed controllers.

Adapter Vendor Device SubSys SubSys

Index Type ID ID Pci Address Ven ID Dev ID

----- --------- ------ ------ ---------------- ------- ------

0 SAS2008 1000h 72h 00h:01h:00h:00h 1000h 00dah

1 SAS2008 1000h 72h 00h:05h:00h:00h 1000h 00dah

The MFGPAGE command updates information on manufacturing pages. Only DOS and

EFI support this command.

sas2ircu <controller #> mfgpage <passcode> <mfgpage #>

<offset> <value>

„

„

„

„

„

<controller #> – The index of the controller with the manufacturing pages you want to update.

<passcode> – A passcode is required for DOS access, which is restricted.

<mfgpage #> – The manufacturing page (4 or 10) that needs to be updated.

<offset> – The dword offset in the specified manufacturing page that needs to be updated, in hex format.

<value> – The value for the offset that is being modified, in hex format.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

LSI Corporation Confidential

|

July 2009 Page 37

Appendix A:

|

Commands SAS2 Integrated RAID Solutions User Guide

A.3.9 CONSTCHK Command

A.3.9.1 Command Line

A.3.9.2 Parameters

A.3.9.3 Program Return Value

A.3.10 ACTIVATE Command

A.3.10.1Command Line

A.3.10.2Parameters

A.3.10.3Program Return Value

A.3.11 LOCATE Command

A.3.11.1Command Line

A.3.11.2Parameters

A.3.11.3Program Return Value

A.3.12 LOGIR Command

A.3.12.1Command Line

Page 38

The CONSTCHK command sends requests to the Integrated RAID firmware to start a consistency check operation on the specified volume.

sas2ircu <controller #> constchk <volumeId> [noprompt]

„

„

„

<controller #> – The index of the controller on which the consistency check operation needs to run.

<volumeId> – The volume ID of an Integrated RAID volume, as listed in the

DISPLAY command, on which the consistency check operation needs to start.

noprompt – This optional parameter prevents warnings and prompts from appearing while the command is running.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

The ACTIVATE command activates an inactive Integrated RAID volume.

sas2ircu <controller #> activate <volumeId>

„

„

<controller #> – The index of the controller with the volume that needs to be activated.

<volumeId> – The volume ID of an Integrated RAID volume currently in the

Inactive state.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

The LOCATE command locates specific drives in a volume by turning on their location indicator.

sas2ircu <controller #> locate <Encl:Bay> <action>

„

„

„

<controller #> – The index of the controller with the drives that you need to locate.

<Encl:Bay> – The Enclosure and Bay number of the drive.

<action> – The possible actions are as follows:

— ON – Turn on the location indicator of the drive.

— OFF – Turn off the location indicator of the drive.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

The LOGIR command uploads or clears the Integrated RAID log information.

sas2ircu <controller #> logir <action> [filename] [noprompt]

LSI Corporation Confidential

|

July 2009

SAS2 Integrated RAID Solutions User Guide Appendix A:

|

Commands

A.3.12.2Parameters

A.3.12.3Program Return Value

„

„

„

„

<controller #> – The index of the controller with the logs that you need to upload or clear.

<action> – The possible actions are as follows:

— UPLOAD – Upload the controller logs to a file.

— CLEAR – Clear the controller logs.

filename – This optional parameter specifies the filename where the logs need to be uploaded. The default filename is LOGIR.LOG.

noprompt – This optional parameter prevents warnings and prompts from appearing while the command is running.

0x00 SUCCESS: Command completed successfully.

0x01 FAILURE: Bad command-line arguments or operational failure.

0x02 ADAPTER_NOT_FOUND: Cannot find specified adapter.

LSI Corporation Confidential

|

July 2009 Page 39

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents