Adaptec SCSI RAID 2120S/2200S Software Reference Guide
Adaptec SCSI RAID Software Reference Guide Copyright © 2000 - 2002 Adaptec, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written consent of Adaptec, Inc., 691 South Milpitas Blvd., Milpitas, CA 95035. Trademarks Adaptec and the Adaptec logo are trademarks of Adaptec, Inc., which may be registered in some jurisdictions.
Contents 1 Getting Started Audience 1-2 Supported Platforms 1-2 Organization 1-2 Conventions 1-3 Related Documentation 1-4 2 Accessing the Command Line Interface Accessing the CLI from the MS-DOS Prompt 2-2 Accessing the CLI from the Windows Start Button 2-2 To access the CLI from the UNIX/Linux prompt, display a window and type aaccli in any directory. When the system displays the CLI> prompt, you can use CLI commands. For the commands to work in any directory, the path in the startup file (.login or .
Adaptec SCSI RAID Software Reference Guide 3 Syntax and Conventions for CLI Commands CLI Features 3-1 CLI Command Syntax 3-2 Class 3-3 Action 3-3 Object 3-3 Switch 3-3 Value 3-4 Parameter 3-4 Blank Space 3-4 CLI Parameter and Switch Value Types 3-4 boolean 3-5 integer 3-5 string 3-6 scsi_device 3-7 free_space 3-8 container 3-9 CLI Status Information 3-10 The Stat and Task Items 3-10 The Func Item 3-11 The Ctr and State Items 3-12 iv
Adaptec SCSI RAID Software Reference Guide 4 General Control Commands close 4-2 Syntax 4-2 exit 4-2 Syntax 4-2 help, ? 4-2 Syntax 4-2 Parameters 4-2 Switches 4-2 history_size 4-3 Command Availability 4-3 Syntax 4-3 Parameters 4-3 open 4-3 Syntax 4-3 Parameters 4-3 Switches 4-4 reset_window 4-5 Command Availability 4-5 Syntax 4-5 toggle_more 4-5 Command Availability 4-5 Syntax 4-5 v
Adaptec SCSI RAID Software Reference Guide 5 container Commands container add_level 5-3 Syntax 5-3 Parameters 5-3 Examples 5-3 Related Information 5-4 container create mirror 5-5 Syntax 5-5 Parameters 5-5 Switches 5-6 Examples 5-6 Related Information 5-8 container create mmirror 5-9 Notes 5-9 Syntax 5-9 Parameters 5-9 Switches 5-10 Examples 5-11 Related Information 5-12 container create mstripe 5-14 Notes 5-14 Syntax 5-14 Parameters 5-15 Switches 5-15 Examples 5-16 Related Information 5-18 container c
Adaptec SCSI RAID Software Reference Guide Switches 5-25 Examples 5-27 Related Information 5-29 container create stripe 5-30 Notes 5-30 Syntax 5-30 Parameters 5-30 Switches 5-31 Examples 5-32 Related Information 5-34 container create volume 5-35 Notes 5-35 Syntax 5-35 Parameters 5-35 Switches 5-36 Examples 5-37 Related Information 5-39 container delete 5-40 Notes 5-40 Syntax 5-40 Parameters 5-40 Switches 5-40 Examples 5-41 Related Information 5-42 container extend file_system 5-43 Notes 5-43 Command An
Adaptec SCSI RAID Software Reference Guide container extend volume 5-50 Command And Switch Availability 5-50 Syntax 5-50 Parameters 5-50 Examples 5-51 Related Information 5-53 container list 5-54 Syntax 5-54 Parameters 5-54 Switches 5-54 Examples 5-55 Related Information 5-64 container lock 5-65 Syntax 5-65 Parameters 5-65 Examples 5-65 Related Information 5-66 container move 5-67 Notes 5-67 Syntax 5-67 Parameters 5-67 Examples 5-68 Related Information 5-68 container promote 5-69 Notes 5-69 Syntax 5-69
Adaptec SCSI RAID Software Reference Guide Examples 5-74 Related Information 5-75 container reconfigure 5-76 Notes 5-77 Syntax 5-77 Parameters 5-78 Switches 5-78 Examples 5-81 Related Information 5-82 container release_cache 5-83 Syntax 5-83 Parameters 5-83 Examples 5-83 Related Information 5-83 container remove drive_letter 5-84 Command Availability 5-84 Syntax 5-84 Parameters 5-84 Examples 5-84 Related Information 5-85 container remove failover 5-86 Syntax 5-86 Parameters 5-86 Examples 5-87 Related I
Adaptec SCSI RAID Software Reference Guide Syntax 5-92 Parameters 5-92 Examples 5-92 Related Information 5-93 container scrub 5-94 Syntax 5-94 Parameters 5-94 Switches 5-94 Examples 5-95 Related Information 5-96 container set cache 5-97 Notes 5-97 Syntax 5-97 Parameters 5-98 Switches 5-98 Examples 5-99 Related Information 5-100 container set failover 5-101 Syntax 5-101 Parameters 5-101 Examples 5-101 Related Information 5-102 container set global_failover 5-103 Syntax 5-103 Parameters 5-103 Examples 5-
Adaptec SCSI RAID Software Reference Guide container show cache 5-110 Syntax 5-110 Parameters 5-110 Examples 5-110 Related Information 5-115 container show failover 5-116 Syntax 5-116 Parameters 5-116 Examples 5-116 Related Information 5-116 container split 5-117 Syntax 5-117 Parameters 5-118 Examples 5-118 Related Information 5-120 container unlock 5-121 Syntax 5-121 Parameters 5-121 Examples 5-121 Related Information 5-122 container unmirror 5-123 Syntax 5-123 Parameters 5-123 Examples 5-123 Related
Adaptec SCSI RAID Software Reference Guide 6 controller Commands controller details 6-2 Syntax 6-2 Examples 6-2 Related Information 6-6 controller firmware compare 6-7 Syntax 6-7 Switches 6-7 Examples 6-7 Related Information: 6-7 controller firmware save 6-8 Syntax 6-8 Switches 6-8 Examples 6-8 Related Information: 6-9 controller firmware update 6-10 Syntax 6-10 Switches 6-10 Examples 6-10 Related Information: 6-10 controller list 6-11 Syntax 6-11 Parameters 6-11 Switches 6-11 Examples 6-11 Related I
Adaptec SCSI RAID Software Reference Guide Parameters 6-17 Examples 6-17 controller resume_io 6-18 Syntax 6-18 Examples 6-18 Related Information 6-18 controller set automatic_failover 6-19 Notes 6-19 Syntax 6-19 Examples 6-20 Related Information 6-20 controller set array_verify 6-21 Syntax 6-21 Examples 6-21 Related Information 6-22 controller show automatic_failover 6-23 Syntax 6-23 Examples 6-23 Related Information 6-23 controller show channels 6-24 Syntax 6-24 Examples 6-24 Related Information 6-26
Adaptec SCSI RAID Software Reference Guide 7 disk Commands disk blink 7-2 Syntax 7-2 Parameters 7-2 Switches 7-2 Examples 7-2 disk initialize 7-3 Syntax 7-3 Parameters 7-3 Switches 7-3 Examples 7-4 disk list 7-5 Syntax 7-5 Parameters 7-5 Switches 7-5 Examples 7-5 Related Information 7-8 disk remove dead_partitions 7-9 Syntax 7-9 Parameters 7-9 Examples 7-9 Related Information 7-9 disk set default 7-10 Syntax 7-10 Parameters 7-10 Examples 7-10 Related Information 7-11 disk set smart 7-12 Syntax 7-12
Adaptec SCSI RAID Software Reference Guide disk show defects 7-16 Syntax 7-16 Parameters 7-16 Switches 7-16 Examples 7-16 disk show partition 7-18 Syntax 7-18 Examples 7-18 disk show smart 7-21 Syntax 7-21 Parameters 7-21 Switches 7-21 Examples 7-22 Related Information 7-24 disk show space 7-25 Syntax 7-25 Parameters 7-25 Switches 7-25 Examples 7-25 disk verify 7-28 Syntax 7-28 Parameters 7-28 Switches 7-28 Examples 7-29 disk zero 7-30 Command And Switch Availability 7-30 Syntax 7-30 Parameters 7-30 S
Adaptec SCSI RAID Software Reference Guide 8 diagnostic Commands diagnostic clear boot_parameters 8-2 Syntax 8-2 Examples 8-2 Related Information 8-2 diagnostic dump structures 8-3 Syntax 8-3 Parameters 8-3 Examples 8-3 Related Information 8-3 diagnostic dump text 8-4 Notes 8-4 Syntax 8-4 Examples 8-5 Related Information 8-5 diagnostic load_arrays 8-6 Syntax 8-6 Examples 8-6 Related Information 8-6 diagnostic moderation set count 8-7 Syntax 8-7 Parameters 8-7 Related Information 8-7 diagnostic modera
Adaptec SCSI RAID Software Reference Guide Syntax 8-12 Parameters 8-12 Related Information 8-12 diagnostic show history 8-13 Syntax 8-13 Switches 8-13 9 logfile Commands logfile end 9-2 Syntax 9-2 Examples 9-2 Related Information 9-2 logfile start 9-3 Syntax 9-3 Parameter 9-3 Switches 9-3 Examples 9-3 Related Information 9-4 10 task Commands task list 10-2 Syntax 10-2 Parameters 10-2 Switches 10-2 Examples 10-2 The Specific2 Column 10-6 Related Information 10-7 task resume 10-8 Syntax 10-8 Paramet
Adaptec SCSI RAID Software Reference Guide Switches 10-10 Examples 10-10 Related Information 10-11 task suspend 10-12 Syntax 10-12 Parameters 10-12 Switches 10-12 Examples 10-12 Related Information 10-13 11 enclosure Commands enclosure activate slot 11-3 Syntax 11-3 Parameters 11-3 Examples 11-3 Related Information 11-4 enclosure identify slot 11-5 Syntax 11-5 Parameters 11-5 Switches 11-5 Examples 11-5 Related Information 11-6 enclosure list 11-7 Syntax 11-7 Parameters 11-7 Switches 11-7 Examples 11
Adaptec SCSI RAID Software Reference Guide Examples 11-14 Related Information 11-14 enclosure set door 11-15 Syntax 11-15 Parameters 11-15 Switches 11-15 Examples 11-15 Related Information 11-15 enclosure set fan 11-16 Syntax 11-16 Parameters 11-16 Switches 11-17 Examples 11-17 Related Information 11-17 enclosure set interval 11-18 Syntax 11-18 Parameters 11-18 Examples 11-18 Related Information 11-19 enclosure set power 11-20 Syntax 11-20 Parameters 11-20 Switches 11-20 Examples 11-20 Related Informat
Adaptec SCSI RAID Software Reference Guide Syntax 11-27 Parameters 11-27 Examples 11-28 Related Information 11-29 enclosure show power 11-30 Syntax 11-30 Parameters 11-30 Examples 11-30 Related Information 11-32 enclosure show slot 11-33 Syntax 11-33 Parameters 11-33 Examples 11-34 Related Information 11-36 enclosure show status 11-37 Syntax 11-37 Parameters 11-37 Examples 11-37 Related Information 11-40 enclosure show temperature 11-41 Syntax 11-41 Parameters 11-41 Examples 11-41 Related Information 1
Adaptec SCSI RAID Software Reference Guide 12 Using the Adaptec Flash Utility Introduction 12-1 Overview of the AFU 12-2 System Requirements 12-3 Firmware Floppy Kit 12-4 Running the AFU 12-5 Accessing the AFU from the GUI 12-5 Accessing the AFU from the Command Line 12-5 Flashing the Firmware Using AFU 12-7 AFU Commands 12-8 HELP 12-9 LIST 12-9 RESET 12-10 SAVE 12-10 UPDATE 12-11 VERIFY 12-12 VERSION 12-12 AFU Error Handling 12-13 13 Using the Array Configuration Utility Introducing the Array Configura
Adaptec SCSI RAID Software Reference Guide xxii
1 Getting Started In this Chapter Audience 1-2 Supported Platforms 1-2 Organization 1-2 Conventions 1-3 Related Documentation 1-4 The Adaptec SCSI RAID controller integrates advanced RAID technology with state-of-the-art controller hardware to deliver leadership performance, data availability, and storage management features.
Adaptec SCSI RAID Software Reference Guide Audience This reference guide is written for system administrators and experienced users who are familiar with SCSI device configuration and who have a general understanding of Microsoft Windows NT® 4.0 / Windows 2000 (basic disk) /Windows XP (basic disk). If you are running under NetWare, the guide assumes you are familiar with NetWare-related concepts and commands.
Getting Started Chapter 8, diagnostic Commands, describes the commands used to help fix problems that may occur during controller operation. Chapter 7, disk Commands, describes the commands related to disks. Chapter 9, logfile Commands, describes the commands used to record CLI command activities. Chapter 10, task Commands, describes the commands used to work with tasks. Chapter 11, enclosure Commands, describes the enclosure commands, which operate on enclosure management devices.
Adaptec SCSI RAID Software Reference Guide Related Documentation Use this reference guide when you need specific information about a CLI command (for example, syntax and parameter descriptions).
2 Accessing the Command Line Interface In this Chapter Accessing the CLI from the MS-DOS Prompt 2-2 Accessing the CLI from the Windows Start Button 2-2 Accessing the CLI from the NetWare Server Console 2-3 Accessing the CLI from the UNIX Prompt 2-3 Note: When the CLI executes an asynchronous command, it displays status information in the title bar of a DOS command prompt window. The status information includes a percent number that indicates percentage completion.
Adaptec SCSI RAID Software Reference Guide Accessing the CLI from the MS-DOS Prompt To access the CLI from the MS-DOS prompt, move to the directory containing the afacli executable and then type afacli, as in the following example: C:\>cd Program Files\Adaptec_SCSI_RAID\AAC C:\Program Files\Adaptec_SCSI_RAID\AAC>afacli Note: To access the CLI from any location, the path in the Windows NT/Windows 2000 (basic disk only)/Windows XP (basic disk only) Registry or System Variables must include the directory whe
Accessing the Command Line Interface ■ From the NetWare server console To access the CLI from the NetWare server console, type aaccli at the prompt. When the system displays the CLI> prompt, which indicates that you can now use CLI commands. ■ From the UNIX/Linux prompt To access the CLI from the UNIX/Linux prompt, display a window and type aaccli in any directory. When the system displays the CLI> prompt, you can use CLI commands.
Adaptec SCSI RAID Software Reference Guide 2-4
3 Syntax and Conventions for CLI Commands In this Chapter CLI Features 3-1 CLI Command Syntax 3-2 CLI Parameter and Switch Value Types 3-4 CLI Status Information 3-10 CLI Features To use the CLI efficiently, you need to understand the following features: ■ Case sensitivity—CLI syntax elements are not case-sensitive except for strings. ■ Command abbreviations—You can abbreviate commands, subcommands, and switches. You must provide enough characters so the commands are not ambiguous.
Adaptec SCSI RAID Software Reference Guide To enter subcommand mode, type the first part of any command that has subcommands and press Enter. The command you entered replaces the CLI> prompt and becomes the first part of any subsequent command you enter. For example, to use subcommand mode for the array command: 1 Type array at the CLI> prompt, and press Enter. The CLI> prompt changes to _array >. 2 Enter valid subcommands, switches, and parameters for any array command and press Enter.
Syntax and Conventions for CLI Commands All commands use the following syntax: [class] action [object] [/switch1[=value1] [/switch2[=value2]...]] [parameter1 [parameter2...]] The CLI syntax uses the following conventions: [text] The text element within brackets is optional. {type} The type specified within braces is the value type (for example, boolean, integer, string, and so on). parameter{type} The parameter defined by the value type. [text...] Two or more text elements.
Adaptec SCSI RAID Software Reference Guide Value A value is a type that applies to a switch. For each switch, you can have only one type of value. For example, a switch that is defined as a string value can never take an integer value. A space may be used within a value only within a quoted string. Examples of valid value types include Boolean, integer, string, scsi_device, free_space, and array.
Syntax and Conventions for CLI Commands boolean A boolean has a value of either TRUE or FALSE and can be specified with any of the following key words: ■ TRUE can be specified with TRUE, 1, ON, or YES. For switches, you can also specify TRUE by using the switch without any switch value. For example, /readonly and / readonly=TRUE are identical. ■ FALSE can be specified with FALSE, 0, OFF, or NO.
Adaptec SCSI RAID Software Reference Guide Table 3-1. Letters and Multiplicative Values Letter Action K (kilobytes) multiplies by 1024 M (megabytes) multiplies by 1024*1024 G (gigabytes) multiplies by 1024*1024*1024 T (terabytes) multiplies by 1024*1024*1024*1024 You cannot use decimal points. To specify 1.5 GB, for example, you must use (3G/2). Note: All suffixes are case-insensitive! That is, you can use upper or lower-case characters. For example you can specify 10 M or 10 m.
Syntax and Conventions for CLI Commands a quotation mark of the same type used to surround the string can be specified by repeating that quotation mark twice in the string. Table 3-3 lists examples of valid strings and their corresponding values: Table 3-3. Strings and Corresponding Values String Value VOL_set VOL_set "VOL label" VOL label ’Use " mark’ Use " mark "Use ’ mark" Use ’ mark "Use Both "" and ’ mark" Use Both " and ’ mark scsi_device Specifies a SCSI device.
Adaptec SCSI RAID Software Reference Guide Table 3-4. SCSI Device Switch Abbreviations Abbreviation Syntax SCSI channel number, SCSI device ID ({integer},{integer}) SCSI device ID ({integer}) SCSI device ID {integer} Table 3-5 displays valid SCSI device specifiers. The second two examples contain a default LUN number, and the last two examples contain default channel and LUN numbers. You can specify these defaults using the disk set default command (see page 7-10). Table 3-5.
Syntax and Conventions for CLI Commands used is the first offset that starts a freespace area large enough to fit size bytes. Table 3-6 lists valid free_space specifiers. Table 3-6.
Adaptec SCSI RAID Software Reference Guide CLI Status Information When invoked from the MS-DOS prompt or the Windows NT/ Windows 2000 (basic disk only)/Windows XP (basic disk only) Start button, the CLI displays status information in the title bar of a DOS command prompt window as it executes an asynchronous command. On NetWare, the status information appears in a different window. On UNIX systems, the CLI displays this status information at the bottom of the CLI window.
Syntax and Conventions for CLI Commands The Func Item The Func item displays the type of task running on the controller. Table 3-7 describes the values that the Func item can display. Table 3-7. Function Values Value Meaning FSV File system verify task. FSX File system extend task. The array extend mvolume and array extend volume commands cause the FSX value to display. FTF array format task with a FAT file system specified.
Adaptec SCSI RAID Software Reference Guide The Ctr and State Items The Ctr item displays the ID number of the array associated with the task. In the example, the array’s ID is 0 (zero). The State item displays the state of the task along with a running percentage value that indicates the progress of the currently running task. The item shows the percentage in tenths of a percent increments. The currently running task is complete when the State item displays 100%.
4 General Control Commands In this Chapter close 4-2 exit 4-2 help, ? 4-2 history_size 4-3 open 4-3 reset_window 4-5 toggle_more 4-5 The CLI general control commands are discussed in alphabetical order and use the following syntax: command [subcommand] [/switch{=value}] [parameter] 4-1
Adaptec SCSI RAID Software Reference Guide close To close the currently opened controller when all access is completed, use the close command. Syntax close exit To close the currently opened controller and exit the CLI, use the exit command. Syntax exit help, ? To invoke general or topical Help commands, use the help command or the ? (question mark).
General Control Commands history_size To set the size of the command history buffer, use the history_size command. Command Availability This command is supported only on UNIX. Syntax history_size {buffer_size} Parameters {buffer_size} Specifies the size of the command history buffer. The default size is 200. open To open a controller, use the open command. The open command prepares a particular controller for access by the CLI.
Adaptec SCSI RAID Software Reference Guide If the computer name has a dash (-) in the name (for example, proj-athena), enclose the entire string within quotes. For example: “\\proj-athena\aac0” Switches /readonly{=boolean} Specifies whether to open the controller for read-only access. A value of TRUE indicates the CLI opens the controller for readonly access. If you do not specify this switch, it defaults to / readonly=FALSE (which means the CLI opens the controller for read/write access).
General Control Commands reset_window To reset the window, use the reset_window command. Command Availability This command is supported only on UNIX. Syntax reset_window toggle_more To turn on or off the functionality, use the toggle_more command. After you type toggle_more on the NetWare console, the command displays an appropriate message indicating whether the functionality is on or off.
Adaptec SCSI RAID Software Reference Guide 4-6
5 container Commands In this Chapter container add_level 5-3 container create mirror 5-5 container create mmirror 5-9 container create mstripe 5-14 container create mvolume 5-19 container create raid5 5-24 container create stripe 5-30 container create volume 5-35 container delete 5-40 container extend file_system 5-43 container extend mvolume 5-46 container extend volume 5-50 container list 5-54 container lock 5-65 container move 5-67 container promote 5-69 container readonl
Adaptec SCSI RAID Software Reference Guide container remove drive_letter 5-84 container remove failover 5-86 container remove file_system 5-88 container remove global_failover 5-90 container restore RAID5 5-92 container scrub 5-94 container set cache 5-97 container set failover 5-101 container set global_failover 5-103 container set io_delay 5-105 container set label 5-108 container show cache 5-110 container show failover 5-116 container split 5-117 container unlock 5-121 con
container Commands container add_level To create a multilevel volume set from an existing array by adding a volume set on top of the array, use the container add_level command. The existing array cannot be a multilevel array. The container add_level command enables dynamic expansion of an array and can be executed even while an array is in use. After executing the command, you can use the container extend mvolume command to add more space.
Adaptec SCSI RAID Software Reference Guide Use the container list command after using the container add_level command to display information about the multilevel volume set, as in the following example: AAC0>container list Executing: container list Num Dr Label Type -- ----- -----0 Volume 63 Stripe Total Oth Stripe Scsi Partition Size Ctr Size Usage C:ID:L Offset:Size ------ --- ------ ------- ------ ------------45MB None 45MB 32KB 0:02:0 64.0KB: 15.0MB 0:03:0 64.0KB: 15.0MB 0:04:0 64.0KB: 15.
container Commands container create mirror To create a mirror set from a single-partition volume set and freespace, use the container create mirror command. Any data on the original volume set remains intact during mirror creation and the user sees no interruption in service. If you created a mirror set on a NetWare server, you can run the list devices command on the NetWare console to verify its creation and then create the necessary NetWare disk partitions and volumes.
Adaptec SCSI RAID Software Reference Guide Switches /wait{=boolean} Specifies whether to create the mirror set synchronously. If you set this switch to TRUE, the command prompt does not return until the mirror-set creation completes. If you set this switch to FALSE, the mirror-set creation starts asynchronously and the command prompt returns immediately. /io_delay{=integer} Specifies the number of milliseconds the controller waits between the I/Os required to create the mirror set.
container Commands See page 3-10 for detailed information on the status information that the command displays in the title bar as it executes the task.
Adaptec SCSI RAID Software Reference Guide Related Information container commands: ■ container create mmirror (page 5-9) ■ container list (page 5-54) ■ container split (page 5-117) ■ container unmirror (page 5-123) disk commands: ■ 5-8 disk remove dead_partitions (page 7-9)
container Commands container create mmirror To create a multilevel array of mirror sets from a multilevel array of single-partition volume sets and freespace, use the container create mmirror command. Typically, you use this command after promoting a volume set built from multiple partitions with the container promote command. The container create mmirror command is fully dynamic. If you use this command, users will not see any change or experience any interruption in service.
Adaptec SCSI RAID Software Reference Guide {scsi_device} Specifies the ID for the SCSI device whose freespace you want to use to create the multilevel array of mirror sets. The size of this freespace should be greater than or equal to the size of the first underlying volume set. A SCSI ID consists of a SCSI bus number (e.g., 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive).
container Commands Examples Before creating a multilevel array of mirror sets, use the container list command to obtain information about any existing arrays.
Adaptec SCSI RAID Software Reference Guide Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------F: 0 Volume 30M NTFS 63 Mirror 15MB 0:02:0 64.0KB: 15.0MB 0:04:0 64.0KB: 15.0MB 62 Mirror 15MB 0:03:0 64.0KB: 15.0MB 0:05:0 64.0KB: 15.
container Commands disk commands: ■ disk remove dead_partitions (page 7-9) 5-13
Adaptec SCSI RAID Software Reference Guide container create mstripe To create a multilevel stripe set from equally sized arrays, use the container create mstripe command. The top level of a multilevel stripe array can only be a stripe set.
container Commands Parameters {container} Specifies the ID number (0 to 63) of the array from which you want to create the multilevel stripe set. {container}... Specifies the ID number or numbers (0 to 63) of one or more arrays from which you want to create the multilevel stripe set. You can use up to 16 arrays to create a multilevel stripe set. All specified arrays must be the same size as the first container parameter and separated by blank spaces.
Adaptec SCSI RAID Software Reference Guide Examples Before creating a multilevel stripe set, use the container list command to obtain information about any existing arrays. As the following example shows, there are two existing arrays (mirror sets) on this controller at the time the multilevel stripe set is created. These mirror sets were previously created with the container create mirror command.
container Commands The following list describes the change to the display as the result of creating a multilevel stripe set with the container create mstripe command: ■ The Num Label column displays the ID number (in the example, 0) of the newly created multilevel stripe set and (indented to the right) the ID numbers of the arrays that make up the multilevel stripe set. In the example, arrays 63 and 62 are the arrays (mirror sets) that make up the multilevel stripe set.
Adaptec SCSI RAID Software Reference Guide ■ The State column displays Normal for arrays 0, 63, and 62 to indicate that the state of the array is normal. Note that this column appears only if you specify the /full switch with the container list command. ■ The Scsi C:ID:L column displays the SCSI device ID for the disk on which you created the multilevel stripe set. It also displays the SCSI device ID(s) for the disk(s) on which the array(s) that make up the multilevel stripe set reside.
container Commands container create mvolume To create a multilevel volume set, use the container create mvolume command.
Adaptec SCSI RAID Software Reference Guide {container}... Specifies the ID (0 to 63) of one or more additional arrays from which you want to create the multilevel volume set. You can use up to 16 arrays. Typically, the additional arrays you specify are the same type as the first array. For example, if the first array is a stripe set then any subsequent arrays are also stripe sets. Switches /label{=string} Specifies a label to be assigned to the newly created multilevel volume set.
container Commands The following example shows how to create a multilevel volume set from two single arrays: AAC0> container create mvolume 0 1 Executing: container create mvolume 0 1 container 0 created On UNIX systems, the message displayed after you execute the container create mvolume command includes the root special file associated with the newly created multilevel volume set.
Adaptec SCSI RAID Software Reference Guide ■ The Type column displays the type name Volume for the newly created multilevel volume set. The Type column also displays the array type for the underlying arrays. In the example, Stripe appears in the Type column to indicate that the arrays that make up the multilevel volume set are stripe sets. ■ The Total Size column displays the total size for the multilevel volume set. This size is the total of all the underlying arrays.
container Commands Related Information container commands: ■ container create mmirror (page 5-9) ■ container create raid5 (page 5-24) ■ container create stripe (page 5-30) ■ container set label (page 5-108) 5-23
Adaptec SCSI RAID Software Reference Guide container create raid5 To create a RAID-5 set, use the container create raid5 command. The RAID-5 set must have a minimum of three disks. When creating the RAID-5 set, you must initialize the array parity by using the scrub method (the /scrub switch). Notes If you created a RAID-5 set you can run the list devices command on the NetWare console to verify its creation and then create the necessary NetWare disk partitions and volumes.
container Commands The command uses the freespace(s) from the SCSI device(s) you specify to create the RAID-5 set. The size that the command uses from these device(s) is identical to the one you specify in the free_space parameter. The minimum number of partitions in a RAID-5 set is 3, and the maximum number of partitions is 16. Switches /cache{=boolean} Specifies whether to enable the array’s raw array cache.
Adaptec SCSI RAID Software Reference Guide /clear{=boolean} Specifies whether to set up the parity during RAID-5 creation by clearing the entire RAID-5 set. If you specify TRUE, the command sets up the parity during RAID-5 creation by clearing the RAID-5 set. The default is FALSE; the command does not clear the entire RAID-5 set. If you use neither this switch nor the /scrub switch, the command uses the scrub method by default.
container Commands Although the drive is immediately available, it is not parityprotected until the background scrub action completes. This switch defaults to TRUE. If you set this switch to FALSE, the command will set up parity by clearing the RAID-5 set. In other words, setting / scrub=FALSE enables the same behavior as /clear=TRUE. This switch is supported on the following operating systems: ■ Windows NT ■ Windows 2000 ■ Windows XP ■ NetWare For UNIX, the RAID-5 set is always scrubbed.
Adaptec SCSI RAID Software Reference Guide AAC0>container create raid5 /stripe_size=64K /scrub ((0,02,0),10M) (0,03,0) (0,04,0) (0,05,0) Executing: container create raid5 /stripe_size=65,536 scrub=TRUE ((CHANNEL=0,ID=2,LUN=0),10,485,760 ) (CHANNEL=0,ID=3,LUN=0) (CHANNEL=0,ID=4,LUN=0) (CHANNEL=0,ID=5,LUN=0) / container 0 created As the command executes, note that the title bar of the MS-DOS window displays the status of the command. For example: Stat:OK!Task:101,Func:R5S Ctr:0,State:RUN 84.
container Commands ■ The Type column displays RAID-5 to indicate that the newly created array is a RAID-5 set. ■ The Total Size column displays the total size of the freespace available. In this example, 40.0 MB of freespace was specified, which means that this column displays 30.0 MB as available. ■ The Stripe Size column displays the stripe size you specified as the stripe_size parameter, which in the example is 64 KB.
Adaptec SCSI RAID Software Reference Guide container create stripe To create a stripe set from freespace, use the container create stripe command. Notes If you created a stripe set you can run the list devices command on the NetWare console to verify its creation and then create the necessary NetWare disk partitions and volumes. For information on how to create partitions and volumes, see the appropriate NetWare documentation.
container Commands Switches /cache{=boolean} Specifies whether to enable the array’s raw array cache.You can use this switch only if a native operating system’s file system – for Windows NT/Windows 2000 (basic disk only)/ Windows XP (basic disk only), the NTFS or FAT file system – resides on the array. If you do not want to enable the stripe set’s raw array cache when you create it, you can do so later by using the container set cache command.
Adaptec SCSI RAID Software Reference Guide If you do not specify the switch, it defaults to no label. If you do not specify a label, you can do so later by using the container set label command. Note that this label is not the label that displays in Windows Explorer. The label displayed by Windows Explorer comes from the label specified with the container format command.
container Commands Use the container list command after using the container create stripe command to display information about the stripe set, as in the following example: AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------0 Stripe 45.0MB 64KB None 0:02:0 64.0KB: 15.0MB 0:03:0 64.0KB: 15.0MB 0:04:0 64.0KB: 15.
Adaptec SCSI RAID Software Reference Guide ■ The Scsi C:ID:L column displays the SCSI device ID(s) for the disk(s) whose associated freespaces you used to create the stripe set. In this example, the display shows 0:02:0, 0:03:0, and 0:04:0. ■ The Partition Offset: Size column displays the partition offset(s) and the size(s) for the disk(s) whose associated freespaces you used to create the stripe set. In this example, the display shows 64.0KB:15MB, 64.0KB:15.0MB, and 64.0KB:15.0MB.
container Commands container create volume To create a volume set from freespace, use the container create volume command. Notes If you created a volume set you can run the list devices command on the NetWare console to verify its creation and then create the necessary NetWare disk partitions and volumes. For information on how to create partitions and volumes, see the appropriate NetWare documentation.
Adaptec SCSI RAID Software Reference Guide {scsi_device},{free_space}... Specifies any additional SCSI devices and associated freespaces used to create the volume set. A volume set can have a maximum of 16 partitions (or freespaces, since each freespace becomes a partition). Note that you must explicitly specify the entire ID for any additional SCSI devices (the SCSI channel number, device ID, and device logical unit number).
container Commands /label{=string} Specifies a label to be assigned to the newly created volume set. You can specify a maximum of sixteen characters for the label. If you do not specify the switch, it defaults to no label. If you do not specify a label, you can do so later by using the container set label command. Note that this label is not the label that displays in Windows Explorer. The label displayed by Windows Explorer comes from the label specified with the container format command.
Adaptec SCSI RAID Software Reference Guide Use the container list command after executing the container create volume command to display information about the volume set, as in the following example: AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------0 Volume 15.0MB None 0:02:0 64.0KB: 15.
container Commands Related Information container commands: ■ container extend volume (page 5-50) ■ container format (page 5-54) ■ container list (page 5-54) ■ container promote (page 5-69) ■ container set cache (page 5-97) ■ container set label (page 5-108) disk commands: ■ disk show space (page 7-25) 5-39
Adaptec SCSI RAID Software Reference Guide container delete To delete an array from the currently opened controller, use the container delete command. Notes If you are deleting an array on a NetWare system, you must first go to the NetWare console and remove the corresponding volume and partition. For information on how to perform these operations, see the appropriate NetWare documentation.
container Commands /unconditional{=boolean} Specifies whether to delete the array, even if the array has open files on it. If you specify TRUE, the command deletes the array even if it has open files on it. The switch defaults to FALSE (that is, the container delete command does not delete an array that has open files on it). WARNING: Unconditionally deleting an array that is in use can cause a system crash under some circumstances.
Adaptec SCSI RAID Software Reference Guide Note that in the example, the deletion of array 0 caused the deletion of all the underlying (hidden) arrays (arrays 63, 62, and 61).
container Commands container extend file_system To extend a file system so that it uses all of the space in an array, use the container extend file_system command. This command allows you to extend the NTFS file system. Typically, you use this command after extending an array (by adding a level to it with the container add_level command and, possibly, by extending it with the container extend mvolume command).
Adaptec SCSI RAID Software Reference Guide Command And Switch Availability This command and its associated switches (if any) are supported on the following operating systems: ■ Windows NT ■ Windows 2000 (basic disk only) ■ Windows XP (basic disk only) Syntax container extend file_system {container} Parameters {container} Specifies the ID number (0 to 63) of the array whose file system you want to extend.
container Commands 3 Assign a drive letter to the volume set created in Step 1 with the container assign drive_letter command. 4 Create an NTFS file system on the volume set created in Step 1 with the container format command. 5 Create a second volume set of 100 MB on disk (1,1,0) with the container create volume command. 6 Create a third volume set of 100 MB on disk (1,2,0) with the container create volume command.
Adaptec SCSI RAID Software Reference Guide container extend mvolume To extend a multilevel volume set by adding one or more arrays to it, use the container extend mvolume command. Any file system on the multilevel volume set remains intact, and can be extended to include the added space.
container Commands {container}... Specifies the ID number (0 to 63) of the array or arrays to add to the previously specified multilevel volume set. The previous file system information applies to these additional arrays as well. Examples Before extending a multilevel volume set, use the container list command to obtain information about any existing arrays. As the following example shows, there is an array 0 (a multilevel volume set) on this controller.
Adaptec SCSI RAID Software Reference Guide multilevel array of volume sets after you extend it, as in the following example: AAC0>container list Executing: container list Num Total Oth Stripe Dr Label Type Size Ctr Size Usage -- ----- ------ ------ --- ------ ------F: 0 Volume 40MB NTFS 63 Volume 10MB 62 Volume 15MB 61 Volume 15MB Scsi Partition C:ID:L Offset:Size ------ ------------0:02:0 64.0KB: 0:03:0 64.0KB: 0:04:0 64.0KB: 10.0MB 15.0MB 15.
container Commands ■ The Partition Offset:Size column displays the offsets and sizes for the partition(s) on which the volume sets were created, which in the example are 64.0KB:10MB, 64.0KB:15.0MB, and 64KB:15MB. If a partition is dead, the “:” (colon) in the Partition Offset:Size column changes to a “!” (exclamation point). See the disk remove dead_partitions (page 7-9) command for more information on dead partitions.
Adaptec SCSI RAID Software Reference Guide container extend volume To extend a volume set by adding freespace to it, use the container extend volume command. The file system on the volume set remains intact and can be extended to include the added space.
container Commands Examples Before extending a volume set, use the container list command to obtain information about any existing arrays.
Adaptec SCSI RAID Software Reference Guide Use the container list command after using the container extend volume command to display information about the volume set after you extend it, as in the following example: AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------E: 1 Volume 164MB NTFS 2:02:0 200MB: 100MB 2:00:0 64.0KB: 32.0MB 2:01:0 64.0KB: 32.
container Commands Related Information container commands: ■ container create volume (page 5-35) ■ container list (page 5-54) disk commands: ■ disk remove dead_partitions (page 7-9) ■ disk show space (page 7-25) 5-53
Adaptec SCSI RAID Software Reference Guide container list To display information about one or all arrays on the controller, use the container list command. The display contains such information as the container’s ID number and other useful information. Typically, you use the container list command to obtain specific information about arrays prior to using other arrayrelated commands.
container Commands Examples The following example shows how to list nondetailed information about all arrays on the system: AAC0>container list Executing: container list Num Total Oth Dr Label Type Size Ctr -- ----- ------ ------ --0 Volume 15.0MB 1 Stripe 45.0MB Stripe Size Usage ------ ------None 32KB None Scsi C:ID:L -----0:02:0 0:02:0 0:03:0 0:04:0 Partition Offset:Size ------------64.0KB: 15.0MB 15.0MB: 15.0MB 64.0KB: 15.0MB 64.0KB: 15.
Adaptec SCSI RAID Software Reference Guide The Dr Column On Windows NT/Windows 2000 (basic disk only)/Windows XP (basic disk only) systems, this column displays a blank space if you did not assign a drive letter to the array. Otherwise, the column contains the letter associated with the array. Use the container assign drive_letter command to assign a drive letter to an array. The Dr column does not appear on UNIX or NetWare systems.
container Commands The Type Column This column displays the type of array. Table 5-1 describes the type values that can display in the Type column. Table 5-1. Container Types container Type Meaning Mirror The container is a mirror set. Stripe The container is a stripe set. Volume The container is a volume set. RAID-5 The container is a RAID-5 set. Reconf The container was reconfigured.
Adaptec SCSI RAID Software Reference Guide The Stripe Size Column This column displays the stripe size for the array. You specify the stripe size when using the container create mstripe, container create raid5, and container create stripe commands. The Usage Column This column displays information about the data on or the status of the array. Specifically, the column can display the items listed in Table 5-2. Table 5-2. Container Usage Items Item Meaning FAT The FAT file system resides on this array.
container Commands The Scsi C:ID:L Column This column displays the SCSI channel number, the SCSI ID, and the SCSI logical unit number for the SCSI disk or disks on which the array was created. The Partition Offset:Size Column This column displays the offset and size for the underlying partitions. If a partition is dead, the “:” (colon) in the Partition Offset:Size column changes to a “!” (exclamation point). See the disk remove dead_partitions (page 7-9) command for more information on dead partitions.
Adaptec SCSI RAID Software Reference Guide The RO Column This column displays the letters RO if the array is read-only. Otherwise, if the array is read-write the column displays a blank space. You can explicitly make an array read-only and read-write with the container readonly and container readwrite commands. Some CLI commands cause an array to temporarily become readonly without the use of the container readonly command. The Lk Column This column displays the letter L if the array is locked.
container Commands Table 5-4. Task Types (Continued) Task Meaning FmtNTFS An array format NTFS file system task is running on the specified array. The format NTFS file system task runs as a result of using the container format command with the /file_system switch set to NTFS. Rebuild A rebuild task is running on the specified array. Typically, the rebuild task runs when the controller is in a rebuild for a redundant array (RAID-5 set, mirror set, or multilevel array of mirror sets).
Adaptec SCSI RAID Software Reference Guide Table 5-4. Task Types (Continued) Task Meaning Zero A clear disk task is running on the specified SCSI disk. When the clear disk task completes, the specified SCSI disk is cleared (that is, all data is erased and cannot be recovered). The clear disk task runs as a result of using the disk zero command. The Done % Column This column displays a running percentage value that indicates the progress of the currently running task.
container Commands 11:55:49 As the example shows, the command displays the time in the form hhmmss where ■ hh is a two-digit number that indicates the hour at which you created the array. ■ mm is a two-digit number that indicates the minute at which you created the array. ■ ss is a two-digit number that indicates the second at which you created the array. The Boot Device Column This column displays a value that indicates whether the array resides on the boot device.
Adaptec SCSI RAID Software Reference Guide Related Information container commands: ■ container create mirror (page 5-5) ■ container create mstripe (page 5-14) ■ container create raid5 (page 5-24) ■ container create stripe (page 5-30) ■ container scrub (page 5-94) disk commands: ■ disk verify (page 7-28) ■ disk zero (page 7-30) 5-64
container Commands container lock ! Caution: Use the container lock command only under the direction of technical support. To lock an array into volatile memory space on the currently opened controller, use the container lock command. When an array is locked into volatile memory space, the container reconfigure command has no effect. A locked array cannot be moved, deleted, made read-only, or used to create a multilevel array.
Adaptec SCSI RAID Software Reference Guide Use the container list command (with the /full switch) after using the container lock command to display information about the array you just locked, as in the following example: AAC0>container list /full Executing: container list /full=TRUE Num Total Oth Stripe Scsi Dr Label Type Size Ctr Size Usage C:ID:L -- ----- ------ ------ --- ------ ------- -------F: 0 Volume 10.
container Commands container move To renumber an array, use the container move command. If another array already has the new number, the command returns an error. Notes A controller currently supports 24 visible arrays. A visible array is an array that is visible to the operating system and users. Visible arrays are identified with container IDs 0 through 23. Container IDs 24 through 63 are reserved for hidden arrays.
Adaptec SCSI RAID Software Reference Guide Examples Before renumbering an array, use the container list command to obtain information about any existing arrays. As the following example shows, there is an array 0 (a volume set) on this controller: AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------F: 0 Volume 20.0MB NTFS 0:02:0 64.0KB: 10.0MB 0:03:0 64.0KB: 10.
container Commands container promote To create a multilevel volume set from a stripe set or volume set, use the container promote command. In this case, the resulting array is an array of single-partition volume sets, each of which has a single partition from the original array. Typically, you use the container promote command as part of a process to provide fault tolerance for existing volume sets.
Adaptec SCSI RAID Software Reference Guide Examples Before promoting an array to a multilevel array, use the container list command to obtain information about any existing arrays. As the following example shows, there is an array 0 (a stripe set) on this controller: AAC0>container list Executing: container list Num Total Oth Dr Label Type Size Ctr -- ----- ------ ------ --0 Stripe 45.0MB Stripe Scsi Partition Size Usage C:ID:L Offset:Size ------ ------- ------ ------------32KB None 0:02:0 64.0KB: 15.
container Commands ■ The Type column displays the Volume array type for the three underlying volume sets. ■ The Total Size column displays the sizes of the arrays. Note that the underlying arrays are each 15.0 MB and array 0’s size is the total of the two underlying arrays. ■ The Scsi C:ID:L column displays the SCSI channel number, SCSI device ID, and SCSI logical unit number for the underlying arrays.
Adaptec SCSI RAID Software Reference Guide container readonly To change an array’s read-write status to read-only status, use the container readonly command. Subsequent modifications to the data on the array are prohibited. To use the container readonly command, the array cannot be in use by any application. Syntax container readonly {container} Parameters {container} Specifies the ID number (0 to 63) of the array to make readonly.
container Commands Use the container list command (with the /full switch) after using the container readonly command to display information about the array you just made read-only, as in the following example: AAC0>container list /full Executing: container list /full=TRUE Num Total Oth Stripe Scsi Dr Label Type Size Ctr Size Usage C:ID:L -- ----- ------ ------ --- ------ ------- -------F: 0 Volume 10.
Adaptec SCSI RAID Software Reference Guide container readwrite To change an array’s read-only status to read-write status, use the container readwrite command. Subsequent modifications to the data on the array are allowed. To use the container readwrite command, none of the array’s files can be open. Syntax container readwrite {container} Parameters {container} Specifies the ID number (0 to 63) of the array to make readwrite.
container Commands Use the container list command (with the /full switch) after using the container readwrite command to display information about the array you just made read-write, as in the following example: AAC0>container list /full Executing: container list /full=TRUE Num Total Oth Stripe Scsi Dr Label Type Size Ctr Size Usage C:ID:L -- ----- ------ ------ --- ------ ------- -------F: 0 Volume 10.
Adaptec SCSI RAID Software Reference Guide container reconfigure To change the configuration of an array, use the container reconfigure command. The container reconfigure command allows you to perform the following operations: ■ Transform an array from one type to another type You can transform an array from one type to another type. For example, you can transform a stripe set into a RAID-5 set. In this case, the stripe set changes to a RAID-5 set and remains the same size.
container Commands ■ Extend an existing file system You can extend an existing file system by specifying the appropriate switch. (The command extends the file system after completing the reconfigure operation.) ■ Move partitions to other disks You can move an array’s partitions to other disks by specifying the appropriate switches with a valid partition or partitions. For example, you can move three entries of a RAID-5 set to new disks. You can combine the previously listed operations.
Adaptec SCSI RAID Software Reference Guide Parameters {container} Specifies the ID number (0 to 63) of the array you want to reconfigure. {scsi_device}... Specifies one or more SCSI devices. Typically, you specify one or more SCSI devices when adding more drives to an array or moving an array’s partitions. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), a SCSI device ID (0 through 15 inclusive), and a SCSI device logical unit number (0 through 7 inclusive).
container Commands This switch applies only to those multilevel volume sets on which an NTFS file system resides. If you extend an NTFS file system, you must reboot your system in order for the extension to take effect. If you do not specify this switch, you can later extend the file system with the container extend file_system command.
Adaptec SCSI RAID Software Reference Guide /raid5{=boolean} Specifies whether to reconfigure the existing array into a RAID-5 set. If you specify TRUE, the command reconfigures the existing array into a RAID-5 set. If you specify FALSE, the command does not reconfigure the existing array into a RAID5 set. This switch defaults to FALSE. /raid10{=boolean} Specifies whether to reconfigure the existing array into a RAID-10 set.
container Commands /wait{=boolean} Specifies whether the command performs the array reconfiguration operation synchronously or asynchronously. If you set this switch to TRUE, the command performs the array reconfiguration operation synchronously, which means the command prompt does not return until the array reconfiguration operation completes. If you set this switch to FALSE, the command performs the array reconfiguration operation asynchronously, which means the command prompt returns immediately.
Adaptec SCSI RAID Software Reference Guide Use the container list command after using the container reconfigure command to display information about the array you just reconfigured, as in the following example: AAC0>container list Executing: container list Num Total Oth Stripe Dr Label Type Size Ctr Size Usage -- ----- ------ ------ --- ------ ------0 Mirror 15.0MB None Tigris E: 1 Stripe 15.0MB NTFS Scsi C:ID:L -----1:02:0 1:03:0 1:00:0 Partition Offset:Size ------------64.0KB: 15.0MB 64.0KB: 15.0MB 64.
container Commands container release_cache To release the cache buffers associated with a specific array, use the container release_cache command. When a disk fails or you remove a disk, the cache buffers associated with specific arrays remain locked on the controller. This allows the opportunity for the disk to come back online or gives you the opportunity to replace the disk. In this case the arrays regain the previously locked buffers.
Adaptec SCSI RAID Software Reference Guide container remove drive_letter To remove a drive letter, use the container remove drive_letter command. To use the container remove drive_letter command, none of the array’s files can be open.
container Commands Use the container list command after using the container remove drive_letter command to display information about the array on which you just removed a drive letter, as in the following example: AAC0>container list Executing: container list Num Dr Label Type -- ----- -----0 Volume Total Oth Stripe Scsi Partition Size Ctr Size Usage C:ID:L Offset:Size ------ --- ------ ------- ------ ------------10.0MB NTFS 0:02:0 64.0KB: 10.
Adaptec SCSI RAID Software Reference Guide container remove failover To remove one or more failover disks that were assigned to an array using the container set failover command, use the container remove failover command. Syntax container remove failover {container} {scsi_device} [{scsi_device}...] Parameters {container} Specifies the ID number (0 to 63) of the array whose assigned failover disk(s) you want to remove.
container Commands Examples Before removing one or more failover disks from an array, use the container show failover command to obtain information about any existing failover disks assigned to arrays.
Adaptec SCSI RAID Software Reference Guide container remove file_system To remove the file system from an array, use the container remove file_system command. Use this command when the file system on the array is no longer needed. This command fails if there are open files on the array.
container Commands The following example removes the file system from array 0: AAC0>container remove file_system 0 Executing: container remove file_system 0 Use the container list command after removing a file system from an array with the container remove file_system command to display information about the container, as in the following example: AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --
Adaptec SCSI RAID Software Reference Guide container remove global_failover To remove one or more failover disks that were assigned to all arrays through the container set global_failover command, use the container remove global_failover command. Syntax container remove global_failover {scsi_device} [{scsi_device}...] Parameters {scsi_device} Specifies the ID for the SCSI device that you want to remove as a failover disk for all arrays.
container Commands The following example removes SCSI device 1:02:0 as an assigned failover disk for all arrays: AAC0>container remove global_failover (1,2,0) Executing: container remove global_failover (CHANNEL=1,ID=2,LUN=0) Use the container show failover command after removing a failover disk from an array’s failover disk list with the container remove failover command to display information about the array’s failover disk list, as in the following example: AAC0>container show failover Executing: conta
Adaptec SCSI RAID Software Reference Guide container restore RAID5 To restore a RAID-5 set, use the container restore RAID5 command. Typically, you use this command to restore a RAID-5 set that contains one or more dead partitions. This command does not always succeed and, in fact, you should use this command if all other measures to restore the RAID-5 set fail.
container Commands AAC0>container restore RAID5 0 Executing: container restore RAID5 0 Use the container list command after using the container restore RAID5 command to display information about the RAID-5 set: AAC0>container list Executing: container list Num Total Oth Dr Label Type Size Ctr -- ----- ------ ------ --0 RAID-5 30.0MB Stripe Scsi Partition Size Usage C:ID:L Offset:Size ------ ------- ------ ------------64.0KB None 0:02:0 64.0KB: 10.0MB 0:03:0 64.0KB: 10.0MB 0:04:0 64.0KB: 10.0MB 0:05:0 64.
Adaptec SCSI RAID Software Reference Guide container scrub To scrub a redundant array, use the container scrub command. A mirror set, a multilevel array of mirror sets, and a RAID-5 set are examples of redundant arrays. For a mirror set or a multilevel array of mirror sets, this means the command reconstructs the data on both mirror halves (partitions), if found to be different. For RAID-5 sets, the command recalculates and replaces, if necessary, the parity information.
container Commands /wait{=boolean} Specifies whether the command performs the scrub action synchronously or asynchronously. If you set this switch to TRUE, the command performs the scrub action synchronously, which means the command prompt does not return until the scrub action completes. If you set this switch to FALSE, the command performs the scrub action asynchronously, which means the command prompt returns immediately.
Adaptec SCSI RAID Software Reference Guide Use the container list command after using the container scrub command to display information about the scrubbed array, as in the following example: AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------D: 0 Mirror 10.0MB NTFS 0:02:0 64.0KB: 10.0MB 0:02:0 10.0MB: 10.
container Commands container set cache To set cache parameters for a specific array, use the container set cache command. You can use this command only if a native operating system’s file system—for Windows NT/Windows 2000 (basic disk only)/Windows XP (basic disk only), NTFS, or FAT— resides on the array.
Adaptec SCSI RAID Software Reference Guide Parameters {container} Specifies the ID number (0 to 63) of the array on which you want to set cache parameters. Switches /read_cache_enable{=boolean} Specifies whether to enable the read-ahead cache. If you set this switch to TRUE, the command enables the read-ahead cache for the specified array. This switch should always be enabled to optimize performance, unless your application-which is unlikely--is doing completely random reads. This switch defaults to TRUE.
container Commands Table 5-5 summarizes the values for the /write_cache_enable and /unprotected switches: Table 5-5. Switch Values and Results /write_cache_enable Switch Setting /unprotected Switch Setting FALSE FALSE The NVRAM write-back cache setting for the specified array is disabled. FALSE TRUE Not allowed. An appropriate error message displays. TRUE FALSE The NVRAM write-back cache setting for the specified array is enabled when protected.
Adaptec SCSI RAID Software Reference Guide The following example sets cache parameters for array 0 by accepting all of the defaults: AAC0>container set cache 0 Executing: container set cache 0 After setting cache parameters for a specific array, use the container show cache command to display cache parameter information, as in the following example: AAC0>container show cache 0 Executing: container show cache 0 Global container Read Cache Size : 5345280 Global container Write Cache Size : 1970176 Read Cach
container Commands container set failover To assign an automatic failover disk(s) for a single array, use the container set failover command. If the array was already assigned a failover disk(s), the command adds the specified disk(s) to the array’s list of failover disk(s). Although all array types accept failover assignments, only mirror set and RAID-5 set (redundant) array types use the failover assignment if a disk fails. Syntax container set failover {container} {scsi_device} [{scsi_device}...
Adaptec SCSI RAID Software Reference Guide As the following example shows, there is an array 0 (a mirror set) on this controller: AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------D: 0 Mirror 10.0MB NTFS 0:02:0 64.0KB: 10.0MB 0:02:0 10.0MB: 10.0MB The following example assigns two SCSI failover disks to array 0.
container Commands container set global_failover To assign an automatic failover disk(s) for all arrays, use the container set global_failover command. If the array was already assigned a failover disk(s), the command adds the specified disk(s) to the array’s list of failover disk(s). Although all array types accept failover assignments, only mirror set and RAID-5 set (redundant) array types use the failover assignment if a disk fails. Syntax container set global_failover {scsi_device} [{scsi_device}...
Adaptec SCSI RAID Software Reference Guide The following example assigns two SCSI failover disks to all arrays. If you assign only one SCSI disk as a failover device, ensure that there is sufficient freespace. If you assign more than one SCSI disk as failover devices, you need ensure that only one of these disks has sufficient space. The reason for this is that the failover operation will look for the disk that has enough space.
container Commands container set io_delay To set the I/O delay for an array, use the container set io_delay command. You can specify an I/O delay for the following array-related tasks: ■ Creating a mirror set ■ Creating a multilevel array of mirror sets from a multilevel array of volume sets ■ Scrubbing a redundant array You use this command to change the I/O delay from the one you specified in the command for the previously listed tasks.
Adaptec SCSI RAID Software Reference Guide Examples Before setting the I/O delay on an array, use the container list command to obtain information about any existing arrays. As the following example shows, there is an array 0 (a volume set) on this controller: AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------F: 0 Volume 10.0MB NTFS 0:02:0 64.0KB: 10.
container Commands Related Information container commands: ■ container create mirror (page 5-5) ■ container create mmirror (page 5-9) ■ container list (page 5-54) ■ container scrub (page 5-94) 5-107
Adaptec SCSI RAID Software Reference Guide container set label To assign a new label to the specified array or to assign a label to an array that has no label, use the container set label command.
container Commands AAC0>container list Executing: container list Num Total Oth Stripe Scsi Partition Dr Label Type Size Ctr Size Usage C:ID:L Offset:Size -- ----- ------ ------ --- ------ ------- ------ ------------0 Volume 15.0MB None 0:02:0 64.0KB: 15.
Adaptec SCSI RAID Software Reference Guide container show cache To display the current cache parameters associated with a specific array, use the container show cache command. Typically, you use this command after setting cache parameters for a specific array using the container set cache command. Syntax container show cache {container} Parameters {container} Specifies the ID number (0 to 63) of the array whose associated cache parameters you want to display.
container Commands The following example displays cache parameters for array 0: AAC0>container show cache 0 Executing: container show cache 0 Global container Read Cache Size : 5345280 Global container Write Cache Size : 1970176 Read Cache Setting Write Cache Setting Write Cache Status : ENABLED : ENABLED : ENABLED The following list provides a brief description of the items that appear as a result of using the container show cache command: ■ Global array Read Cache Size This item indicates the number o
Adaptec SCSI RAID Software Reference Guide Table 5-6. Values for the Write Cache Setting Value Meaning DISABLE The write cache is disabled for this array ENABLE ALWAYS The write cache setting for the specified array is enabled always. This means the controller forces the enabling of the array’s write cache even if write data could be lost due to no battery or a bad battery. ENABLE WHEN PROTECTED The write cache setting for the specified array is enabled when protected.
container Commands Table 5-7 displays the values for Write Cache Status: Table 5-7. Values for Write Cache Status Value Meaning Active, not protected The status of the write cache for this array is as follows: ■ Active – The write cache can accept write operations from the array. ■ Not protected – The write cache is forceenabled. Thus, the write cache accepts write operations even if write data could be lost due to no battery present or a bad battery on the controller.
Adaptec SCSI RAID Software Reference Guide Table 5-7. Values for Write Cache Status (Continued) Value Meaning Active, not protected, battery reconditioning The status of the write cache for this array is as follows: ■ Active – The write cache can accept write operations from the array. ■ Not protected – The write cache is forceenabled. Thus, the write cache accepts write operations even if write data could be lost due to no battery present or a bad battery on the controller.
container Commands Table 5-7. Values for Write Cache Status (Continued) Value Meaning Inactive, cache disabled The status of the write cache for this array is as follows: ■ Inactive – The write cache cannot accept write operations from the array. ■ Cache disabled – The user disabled the write cache by using the container set cache command and setting the appropriate switches.
Adaptec SCSI RAID Software Reference Guide container show failover To display a list of failover disks assigned to an array, use the container show failover command. You assign failover disks to an array with the container set failover command. Syntax container show failover [{container}] Parameters {container} Specifies the ID number (0 to 63) of the array whose assigned failover disk(s) you want to display.
container Commands container split To split a mirror set or a multilevel array of mirror sets into two separate single-partition volume sets or two multilevel arrays of single-partition volume sets, use the container split command. Once this command completes execution, the two volume sets cannot be merged. Before using this command to split an array, shut down system applications (such as, databases) in order to flush application data to the controller.
Adaptec SCSI RAID Software Reference Guide Parameters {container} Specifies the ID number (0 to 63) of the array (mirror set or multilevel array of mirror sets) to split into two separate arrays. Examples Before splitting a mirror set or a multilevel array of mirror sets, use the container list command to obtain information about any existing arrays.
container Commands Use the container list command after using the container split command to display information about the split mirror set, as in the following example: AAC0>container list Executing: container list Num Total Oth Stripe Dr Label Type Size Ctr Size Usage -- ----- ------ ------ --- ------ ------F: 0 Volume 10.0MB NTFS 1 Volume 10.0MB NTFS Scsi C:ID:L -----0:02:0 0:02:0 Partition Offset:Size ------------64.0KB: 10.0MB 10.0MB: 10.
Adaptec SCSI RAID Software Reference Guide Related Information container commands: ■ container create mirror (page 5-5) ■ container create mmirror (page 5-9) ■ container list (page 5-54) ■ container unmirror (page 5-123) disk commands: ■ 5-120 disk remove dead_partitions (page 7-9)
container Commands container unlock ! Caution: Use the container unlock command only under the direction of Technical Support. To unlock an array so it can be moved, deleted, made read-only, and used to create a multilevel array, use the container unlock command. Syntax container unlock {container} Parameters {container} Specifies the ID number (0 to 63) of the array to unlock.
Adaptec SCSI RAID Software Reference Guide The following example shows how to unlock array 0: AAC0>container unlock 0 Executing: container unlock 0 Use the container list command (with the /full switch) after using the container unlock command to display information about the unlocked array, as in the following example: AAC0>container list /full Executing: container list /full=TRUE Num Total Oth Stripe Scsi Dr Label Type Size Ctr Size Usage C:ID:L -- ----- ------ ------ --- ------ ------- -------F: 0 Volu
container Commands container unmirror To unmirror a mirror set, resulting in a single-partition volume set and freespace, use the container unmirror command. Note that there is no equivalent command for a multilevel array of mirror sets. To unmirror a multilevel array of mirror sets, use this command for each underlying mirror set. Syntax container unmirror {container} Parameters {container} Specifies the ID number (0 to 63) of the mirror set to unmirror.
Adaptec SCSI RAID Software Reference Guide The following example shows how to unmirror a mirror set from the mirror set that resides on SCSI device (0,3,0): AAC0>container unmirror 0 Executing: container unmirror 0 Note that the example eliminates some items in the container list display so that you can see an example of the State column.
6 controller Commands In this Chapter controller details 6-2 controller firmware compare 6-7 controller firmware save 6-8 controller firmware update 6-10 controller list 6-11 controller pause_io 6-13 controller rescan 6-16 controller reset_scsi_channel 6-17 controller resume_io 6-18 controller set automatic_failover 6-19 controller set array_verify 6-21 controller show automatic_failover 6-23 controller show channels 6-24 controller show array_verify 6-27 6-1
Adaptec SCSI RAID Software Reference Guide controller details To display details about the currently opened controller and software, use the controller details command. These details include the controller type and software revision levels.
controller Commands Device Name Item The Device Name: item displays the name of the controller. This is the controller name specified when you opened the controller with the open command. In the example, the controller name is AAC0. The Controller type Item The Controller type: item displays the controller type. In the example, the controller type is Adaptec 5400S. The Access Mode Item The Access Mode: item displays the access mode of the controller.
Adaptec SCSI RAID Software Reference Guide Table 6-1. Controller CPU Types Controller CPU Type Meaning Strong Arm 110 The CPU type on the controller is a Digital Strong Arm 110. The example uses this CPU type. The Controller CPU Speed and Controller Memory Items The Controller CPU Speed: item (if available) displays the clock speed (in megahertz) of the CPU that resides on the controller. In the example, the speed is 233 Mhz.
controller Commands The Component Revisions Items Table 6-3 describes each of the Component Revisions: items. This information is useful if you ever need to contact a technical support representative. Table 6-3. Component Revision Items Component Revision Item Meaning CLI: Displays the revision level of the Command Line Interface. In the example, the revision level is 3.0-0 (Build #5523). API: Displays the revision level of the controller’s application programming interface (API).
Adaptec SCSI RAID Software Reference Guide Related Information General control commands: ■ 6-6 open (page 4-3)
controller Commands controller firmware compare To compare the contents of each of the flash components on a controller to the corresponding image in a pair of user flash image (UFI) files and indicate whether they match, use the controller firmware compare command. Syntax controller firmware compare [/C[{controller_ID}][{controller_ID}...] [/D{UFI_file_path}] Switches /C{controller_ID} Specifies the controller ID representing the set of controllers on which to perform the firmware comparison.
Adaptec SCSI RAID Software Reference Guide controller firmware save To save the contents of a controller’s flash in a pair of user flash image (UFI) files, use the controller firmware save command. The names of the pair of UFI files are based on the controller type and cannot be changed. Syntax controller firmware save [/ C[{controller_ID}][{controller_ID}...
controller Commands Related Information: controller commands: ■ controller firmware compare (page 6-7) ■ controller firmware update (page 6-10) 6-9
Adaptec SCSI RAID Software Reference Guide controller firmware update To update a controller’s flash components from the flash image data in a pair of user flash image (UFI) files, use the controller firmware update command. This command can update the flash components on a single controller or multiple controllers. Syntax controller firmware update [/C[{controller_ID}][{controller_ID}...
controller Commands controller list To list all controllers on a specified computer or display specific information about the currently opened controller, use the controller list command. Syntax controller list [/domain{=string}] [{string}] Parameters {string} Specifies the computer name from which you want to display a list of controllers or specific information about the currently opened controller. If you do not specify a computer name, the command displays only the controllers on the local computer.
Adaptec SCSI RAID Software Reference Guide The Adapter Name and Adapter Type Items The Adapter Name item displays the name(s) of all controllers on the local or remote computers. In the example, there is only one controller on the local computer and it is called AAC0. The Adapter Type item displays the controller type. In the example, the controller type is Adaptec 5400S. The Availability Item The Availability item displays the availability of the controller.
controller Commands controller pause_io To pause all I/O activity on the currently opened controller, use the controller pause_io command. While I/O activity is paused, you can make changes to devices attached to the controller without rebooting. For example, you can add, remove, or change SCSI channel assignments.
Adaptec SCSI RAID Software Reference Guide Command And Switch Availability This command is supported on the following operating systems: ■ Windows NT ■ Windows 2000 (basic disk only) ■ Windows XP (basic disk only) ■ NetWare Notes The controller automatically performs a rescan of the SCSI channel before the I/O is resumed. Using this command when there is a pagefile on an array could cause unexpected behavior.
controller Commands Related Information controller commands: ■ controller resume_io (page 6-18) task commands: ■ task list (page 10-2) 6-15
Adaptec SCSI RAID Software Reference Guide controller rescan To rescan the SCSI channels on the currently opened controller and update all underlying structures, use the controller rescan command. The effect of this command is to verify currently connected disks or to recognize new disks added to the channel. This command rescans the disks for the arrays and loads the volatile array and the partition tables from disks again.
controller Commands controller reset_scsi_channel To reset a specific SCSI channel, use the controller reset_scsi_channel command. Syntax controller reset_scsi_channel {integer} Parameters {integer} Specifies the controller channel (for example, 0, 1, 2, 3, etc.) on which you want to reset this SCSI channel. See the installation guide for your controller to determine the number of channels it actually supports.
Adaptec SCSI RAID Software Reference Guide controller resume_io To rescan the SCSI channels and resume all I/O activity on the currently opened, previously paused controller, use the controller resume_io command. You use this command after pausing the controller with the controller pause_io command.
controller Commands controller set automatic_failover Automatic failover allows you to replace a failed disk with a replacement disk. The controller then automatically assigns the disk you insert as a failover disk without your having to first assign it with the array set failover or array set global_failover command. Note that the automatic failover feature works only with disks that reside in a SAF-TE enclosure management device.
Adaptec SCSI RAID Software Reference Guide Specifies whether to turn on or off automatic failover on the specified controller. You must set this switch to TRUE if you want to turn on automatic failover on the specified controller. To turn off automatic failover on the specified controller, set this switch to FALSE. The command defaults to TRUE, which means the command turns on automatic failover on the specified controller.
controller Commands controller set array_verify To enable or disable the array verify operation, use the controller set verify command. This command allows you to enable or disable the array verify operation for all arrays controlled by the specified controller. Syntax controller set array_verify [/verify_enabled{=boolean}] /verify_enabled{=boolean} Specifies whether to turn on or off the array verify feature on the specified controller.
Adaptec SCSI RAID Software Reference Guide The controller show array_verify command indicates that the controller’s array verify feature is currently on (enabled). The command also displays the number of errors (if any) found as a result of the array verify operation.
controller Commands controller show automatic_failover To display the automatic failover status (enabled or disabled) for the specified controller, use the controller show automatic_failover command.
Adaptec SCSI RAID Software Reference Guide controller show channels To show all of the channels on a controller and the associated characteristics of each channel, use the controller show channels command. See the installation guide for your controller to determine the number of channels it actually supports.
controller Commands The Host ID item displays the SCSI device ID of the host controller, which in the example is 7 for all channels. The Targets and Type Items The Targets item displays the number of SCSI device IDs not including the controller ID, which in the example is 15 for all channels. The Type item displays the SCSI channel type the channel is capable of supporting, which in the example is NoInfo for all channels.
Adaptec SCSI RAID Software Reference Guide The Max Usage Item The Max Usage item displays the best speed the channel is running at, which in the example is NoInfo for all channels. If drives other than Ultra-2 are present on the system, the entire channel is limited to UltraWide.
controller Commands controller show array_verify To display the array verify status (enabled or disabled) for the specified controller, use the controller show array_verify command. Syntax controller show array_verify Examples Before turning the array verify feature on or off, check its status by using the controller show array_verify command. The following example shows that the controller’s automatic failover is currently on (enabled).
Adaptec SCSI RAID Software Reference Guide 6-28
7 disk Commands In this Chapter disk blink 7-2 disk initialize 7-3 disk list 7-5 disk remove dead_partitions 7-9 disk set default 7-10 disk set smart 7-12 disk show default 7-15 disk show defects 7-16 disk show partition 7-18 disk show smart 7-21 disk show space 7-25 disk verify 7-28 disk zero 7-30 Use the following syntax for disk commands: disk command [object] [/switch{=value}] [parameter] 7-1
Adaptec SCSI RAID Software Reference Guide disk blink To cause a SCSI disk access light to blink (or stop blinking), use the disk blink command. Syntax disk blink [/wait{=boolean}] {scsi_device} {integer} Parameters {scsi_device} Specifies the ID for the SCSI disk you want to blink. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive).
disk Commands disk initialize To initialize a SCSI disk for use with the currently opened controller, use the disk initialize command. This command writes data structures to the disk so that the controller can use the disk. Syntax disk initialize [/always{=boolean}] [/unconditional{=boolean}]{scsi_device} Parameters {scsi_device} Specifies the ID for the SCSI disk you want to prepare and initialize for controller use. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.
Adaptec SCSI RAID Software Reference Guide The default is FALSE; that is, the disk initialize command does not initialize a disk that has open files on it. WARNING: Unconditionally deleting an array that is in use can cause a system crash under some circumstances.
disk Commands disk list To display a list of the disks available on the currently opened controller, use the disk list command. Syntax disk list [/all{=boolean}] [/full{=boolean)] [{scsi_device}] Parameters {scsi_device} Specifies the ID for a specific SCSI device for which you want to display information. A SCSI device consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive).
Adaptec SCSI RAID Software Reference Guide AAC0>disk list Executing: disk list C:ID:L Device Type Blocks ------ ---------- --------2:00:0 Disk 8887200 2:01:0 Disk 8887200 2:02:0 Disk 8496960 2:03:0 Disk 8887200 Bytes/Block ----------512 512 512 512 Usage Shared Rate ----------- ------ ---Initialized NO 40 Initialized NO 40 Initialized NO 40 Initialized NO 40 The detailed disk list display contains the previous columns of information plus the following columns: ■ Removable media ■ Vendor-ID ■ Product
disk Commands Value Meaning Printer The device type is a SCSI printer device. Processor The device type is a processor device. Write once The device type is a SCSI write once and read many times device. Typically, these devices are referred to as WORM disk drives. CDROM The device type is a SCSI CD-ROM (read-only direct access device). Scanner The device type is a SCSI scanner device. Optical The device type is a SCSI optical disk device.
Adaptec SCSI RAID Software Reference Guide The Usage Column The Usage column displays the usage of the SCSI device. The disk list command can display one of the values listed in Table 7-2. Table 7-2. SCSI Disk Device Usage Values Value Meaning Detached The system detected that the diskset in the detached state. When a diskset is detached, it is not available for use. DOS The SCSI device was prepared for use (initialized) with MS-DOS partitions.
disk Commands disk remove dead_partitions To remove all dead partitions from a SCSI disk, use the disk remove dead_partitions command. A dead partition is a partition that is no longer used by any array. Typically, you use this command only under specific circumstances. For example, if you remove a disk from a redundant array and then later add the disk to the controller, the partition on the reinserted disk (which was previously part of the redundant array) is no longer useful.
Adaptec SCSI RAID Software Reference Guide Related Information array commands: ■ 7-10 array list (page 5-54)
disk Commands disk set default To set the default SCSI ID for use in subsequent CLI commands, use the disk set default command. This command allows you to set defaults for a specific SCSI device’s SCSI device channel number and SCSI device logical unit number. Then, in subsequent commands, you need only specify the SCSI device ID on the command line. Syntax disk set default {scsi_device} Parameters {scsi_device} Specifies the ID for the SCSI device.
Adaptec SCSI RAID Software Reference Guide See the disk list command for information on the items in the display.
disk Commands disk set smart To change a device’s S.M.A.R.T. configuration, use the disk set smart command. The acronym S.M.A.R.T. stands for SelfMonitoring, Analysis and Reporting Technology. This technology is an industry standard for hard drives that monitors a variety of disk parameters, such as the rate of read-write errors. In addition, S.M.A.R.T. can send an alert to system administrators about potential problems caused by disk errors.
Adaptec SCSI RAID Software Reference Guide Switches /all{=boolean} Specifies whether to enable S.M.A.R.T. configurations (enable exception reporting) for all disks on the system. If you specify TRUE for this switch, the command enables S.M.A.R.T. configurations for all disks on the system. The default is FALSE; the disk set smart command does not enable S.M.A.R.T. configurations for all disks on the system. In this case, you would want to specify a SCIS ID to enable S.M.A.R.T.
disk Commands /mrie={integer} > /perf{=boolean} Specifies whether to report exceptions according to the MRIE mode taking into account performance. If you specify TRUE for this switch, the command performs exception reporting as long as performance is not an issue. If performance is an issue, the command does not report exceptions. If you specify FALSE for this switch, exceptions are reported according to the MRIE mode regardless of performance issues.
Adaptec SCSI RAID Software Reference Guide disk show default To display the current default for the SCSI device ID, use the disk show default command. You previously set this default using the disk set default command.
disk Commands disk show defects To show the number of defects and/or the defect list for a specific SCSI disk drive, use the disk show defects command. Syntax disk show defects [/full{=boolean}]{scsi_device} Parameters {scsi_device} Specifies the ID for the SCSI device for which you want to display defect information. A SCSI device consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive).
Adaptec SCSI RAID Software Reference Guide The following list explains the items in the display: ■ Number of PRIMARY defects on drive: This item shows the details regarding any primary disk defects. In the example, there are two defects. ■ Defect 1 at cylinder 12, head 5, sector 59 This item shows where defect 1 occurred. In the example, the defect occurred on head 5 of cylinder 12 located in sector 59. ■ Defect 2 at cylinder 550, head 1, sector 44 This item shows where defect 2 occurred.
disk Commands disk show partition To display a list of partitions on the disks attached to the currently opened controller, use the disk show partition command. Syntax disk show partition Examples The following example shows a sample output from the disk show partition command: AAC0>disk show partition Executing: disk show Scsi Partition C:ID:L Offset:Size ------ ------------- partition Array MultiLevel Num Type Num Type R/W --- ------ --- ------ --- 0:02:0 64.0KB:20.
Adaptec SCSI RAID Software Reference Guide The Array Num and Array Type Columns The Array Num column displays the ID of the primary array in the partition. In the example, the array ID is 0. The Array Type column displays the type of array in which the partition resides. Table 7-3 lists the possible values that the command can display in the Type column. Table 7-3. Primary Array Values Value Meaning None This partition is not in an array. Mirror This partition is part of a mirror set.
disk Commands The R/W Column The R/W column displays whether the partition is read-only or read-write. Specifically, the column can display the values listed in Table 7-5. Table 7-5. R/W Array Values Value Meaning RO The partition is read-only. RW The partition is read-write.
Adaptec SCSI RAID Software Reference Guide disk show smart To display S.M.A.R.T. configuration information for one or all disks, use the disk show smart command. The acronym S.M.A.R.T. stands for Self-Monitoring, Analysis and Reporting Technology. This technology is an industry standard for hard drives that monitors a variety of disk parameters, such as the rate of read-write errors. In addition, S.M.A.R.T. can send an alert to system administrators about potential problems caused by disk errors.
disk Commands information. If you specify FALSE, the command does not display detailed S.M.A.R.T. configuration information. This switch defaults to FALSE. /view_changeable{=boolean} Specifies whether to display the configuration information that can be set on a S.M.A.R.T. disk. If you specify TRUE for this switch, the command displays the letter “X” in the column for the configuration information that can be set. For example, an “X” appears in the Enable Exception Control column for those S.M.A.R.T.
Adaptec SCSI RAID Software Reference Guide the currently opened controller. (The display shows only one disk if you specified a particular disk.) In the example, the command displays the SCSI channel number, the SCSI device ID, and the SCSI device logical unit number for the four disks on the open controller. The Smart Capable Device Column The Smart Capable Device column displays the value Y if the device is S.M.A.R.T. capable or the value N if the device is not S.M.A.R.T. capable.
disk Commands If you specified the /view_changeable switch, the command displays an X in this column for those disks on which you can enable log errors. The Interval Timer (secs.) Column The Interval Timer (secs.) column displays the number of seconds specified for the exception reporting interval. If you specified the / view_changeable switch, the command displays an X in this column for those disks on which you can set the number of seconds for the exception reporting interval.
Adaptec SCSI RAID Software Reference Guide disk show space To display space usage information on a SCSI disk, use the disk show space command. Syntax disk show space [/all{=boolean}] [{scsi_device}] Parameters {scsi_device} Specifies the ID for the SCSI device for which you want to display space usage information. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), a SCSI device ID (0 through 15 inclusive), and a SCSI device logical unit number (0 through 7 inclusive).
disk Commands The following example shows space usage information for SCSI disk device (0,2,0): AAC0>disk show space (0,2,0) Executing: disk show space (ID=2) Scsi C:ID:L Usage Size ----------- --------------------0:02:0 Array 64.0KB: 20.0MB 0:02:0 Free 20.0MB: 29.0MB The following sections provide more information on the columns that the disk show space command displays.
Adaptec SCSI RAID Software Reference Guide The Size Column The Size column displays the offset (in bytes) into the SCSI device and the size of the partition or space (in bytes). In the example, the offset and sizes for the first two disks are as follows: ■ For the 0:02:0 disk The offset is 64.0 KB for the partition and 20.0 MB for the unused space. The size is 20.0 MB for the partition and 29.0 MB for the unused space. ■ For the 0:03:0 disk The offset is 64.0 KB and the size is 49.
disk Commands disk verify To verify all blocks on a SCSI disk device and, optionally, repair any bad blocks, use the disk verify command. Syntax disk verify [/repair{=boolean}] [/wait{=boolean}] {scsi_device} Parameters {scsi_device} Specifies the ID for the SCSI disk device that you want to verify. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), a SCSI device ID (0 through 15 inclusive), and a SCSI logical unit number (0 through 7 inclusive).
Adaptec SCSI RAID Software Reference Guide Examples The following example synchronously verifies and repairs all blocks on disk (0,2,0): AAC0>disk verify /repair=TRUE /wait=TRUE (0,2,0) Executing: disk verify (CHANNEL=0,ID=2,LUN=0) As the command executes, note the title bar of the DOS window displays the status of the command. For example: Stat:OK!Task:100,Func:SCV,State:RUN 97.
disk Commands disk zero To clear an entire SCSI disk, use the disk zero command. When you clear a disk, all data is erased and cannot be recovered.
Adaptec SCSI RAID Software Reference Guide /wait{=boolean} Specifies whether to clear the disk synchronously or asynchronously. If you set this switch to TRUE, the command clears the disk synchronously and the command prompt does not return until the clear disk task completes. The default is FALSE; the command clears the disk asynchronously and the command prompt returns immediately. Examples The following example clears SCSI disk (0,2,0). There is data on the disk.
8 diagnostic Commands In this Chapter diagnostic clear boot_parameters 8-2 diagnostic dump structures 8-3 diagnostic dump text 8-4 diagnostic load_arrays 8-6 diagnostic moderation set count 8-7 diagnostic moderation set timer 8-8 diagnostic moderation show count 8-9 diagnostic moderation show timer 8-10 diagnostic set boot_parameter 8-11 diagnostic show boot_parameter 8-12 diagnostic show history 8-13 The diagnostic commands are used to help fix problems that can occur during controll
Adaptec SCSI RAID Software Reference Guide diagnostic clear boot_parameters To clear all boot-time parameters contained in the currently opened controller’s parameters, use the diagnostic clear boot_parameters command. Under normal conditions, no boottime parameters are set. Caution: Use this command only under the direction of ! technical support.
diagnostic Commands diagnostic dump structures To save internal data structures to a file for use by technical support, use the diagnostic dump structures command. Caution: Use this command only under the direction of ! technical support. Syntax diagnostic dump structures Parameters {string} Specifies the name of the file to contain the internal data structures. Use the file naming conventions associated with the operating system on which the controller is running.
Adaptec SCSI RAID Software Reference Guide diagnostic dump text To display diagnostic information on the console display for use by technical support during bug reporting, use the diagnostic dump text command. ! Caution: Use this command only under the direction of technical support. Notes Before using this command on Windows NT/Windows 2000 (basic disk only)/Windows XP (basic disk only), you might want to make sure to set up your MS-DOS window to scroll data.
diagnostic Commands Examples The following example displays diagnostic information on the console display: AAC0>diagnostic dump text Executing: diagnostic dump text Partitions:6 The command displays a variety of information in table format. It also displays: *** HISTORY BUFFER FROM LAST RUN *** [00]: *** HISTORY BUFFER FROM CURRENT CONTROLLER RUN *** [00]: ============== Dump Complete.
Adaptec SCSI RAID Software Reference Guide diagnostic load_arrays To load arrays when the system is in maintenance mode, use the diagnostic load_arrays command. This command differs from controller rescan in that it does not rescan the SCSI channel. Caution: Use this command only under the direction of ! technical support.
diagnostic Commands diagnostic moderation set count To set the default interrupt count on the controller, use the diagnostic moderation set count command. Caution: Use this command only under the direction of ! technical support. Syntax diagnostic moderation set count {integer} Parameters {integer} Specifies the value (for example, 700) you want to set as the default interrupt count on the controller.
Adaptec SCSI RAID Software Reference Guide diagnostic moderation set timer To set the default interrupt timer on the controller, use the diagnostic moderation set timer command. Caution: Use this command only under the direction of ! technical support. Syntax diagnostic moderation set timer {integer} Parameters {integer} Specifies the value (for example, 10) you want to set as the default interrupt timer on the controller.
diagnostic Commands diagnostic moderation show count To display the number of outstanding I/Os necessary to allow the delay of I/O request responses to the host computer, use the diagnostic moderation show count command. You may have previously specified the default interrupt count (the number of outstanding I/Os) with the diagnostic moderation set count command. Caution: Use this command only under the direction of ! technical support.
Adaptec SCSI RAID Software Reference Guide diagnostic moderation show timer To display the time in 100 microsecond units that the controller batches I/O request responses before issuing an interrupt to the host computer, use the diagnostic moderation show timer command. You may have previously specified the default interrupt timer (the time in 100 microsecond units) with the diagnostic moderation set timer command. Caution: Use this command only under the direction of ! technical support.
diagnostic Commands diagnostic set boot_parameter To set boot-time parameters that a technical support representative might need, use the diagnostic set boot_parameter command. Caution: Use this command only under the direction of ! technical support. Syntax diagnostic set boot_parameter Parameters {string} Specifies the name of the boot-time parameter to be set. If you need to use this command, a technical support representative will tell you the name of the boot-time parameter to use.
Adaptec SCSI RAID Software Reference Guide diagnostic show boot_parameter To display a specific boot-time parameter (if one exists) that a technical support representative might need, use the diagnostic show boot_paramter command. Caution: Use this command only under the direction of ! technical support. Syntax diagnostic show boot_parameter Parameters {string} Specifies the boot-time parameter character string whose associated value you want to display.
diagnostic Commands diagnostic show history To display an internal history log of operations kept in the currently opened controller that a technical support representative might need, use the diagnostic show history command. Syntax diagnostic show history [/old{=boolean}] [/current{=boolean}] Switches /old{=boolean} Specifies whether to display the controller’s operations history log from the previous boot of the operating system.
Adaptec SCSI RAID Software Reference Guide 8-14
9 logfile Commands In this Chapter logfile end 9-2 logfile start 9-3 Use the following syntax for logfile commands: logfile command [/switch{=value}] [parameter] 9-1
Adaptec SCSI RAID Software Reference Guide logfile end To end the logging of all output, use the logfile end command. Syntax logfile end Examples The following example stops logging information to the file aac0log17Nov01.txt (which was previously started with the logfile start command): AAC0> logfile end Executing: logfile end Log file closed.
logfile Commands logfile start To begin the logging of all CLI command line activity to a specified file, use the logfile start command. CLI command line activity includes the associated output the CLI command displays. The CLI continues to log command output until you close the CLI or you explicitly end the logfile with the logfile end command. Syntax logfile start [/append{=boolean}] {string} Parameter {string} Specifies the name of the file to contain CLI command line activity.
Adaptec SCSI RAID Software Reference Guide The .txt extension allows the file to be read by the Windows NT/ Windows 2000 (basic disk only)/Windows XP (basic disk only) Notepad application: AAC0> logfile start c:\ctrloginfo\aac0log17Nov01.txt Executing: logfile start “c:\ctrloginfo\aac0log17Nov01.txt” File c:\ctrloginfo\aac0log17Nov01.txt receiving all output.
10 task Commands In this Chapter task list 10-2 task resume 10-8 task stop 10-10 task suspend 10-12 Use the following syntax for task commands: task command [/switch{=value}] [parameter] 10-1
Adaptec SCSI RAID Software Reference Guide task list To display a list of one or all tasks running on the currently opened controller, use the task list command. A task is an operation that occurs only on the controller, asynchronous to all other operations. Clearing a disk, creating a file system, and creating a mirror set are examples of tasks done on the controller. The command displays an appropriate message if there are no tasks running on the controller.
task Commands As the example shows, the typical display shows the following columns of information: ■ TaskId ■ Function ■ Done% ■ Array ■ State ■ Specific1 ■ Specific2 The following sections describe each column that the task list command displays. The Task ID Column The Task ID column displays the ID number associated with a specific task. The controller software assigns each task a unique ID number.
Adaptec SCSI RAID Software Reference Guide Table 10-1. Task Types (Continued) Task Type Meaning NTFSfmt An array format NTFS file system task is running on the specified array. The format NTFS file system task runs as a result of using the array format command with the / file_system switch set to NTFS. Rebuild A rebuild task is running on the specified array.
task Commands Table 10-1. Task Types (Continued) Task Type Meaning Verify A verify with no repair of bad blocks task is running on the specified SCSI disk. When the verify with no repair of bad blocks task completes, the specified SCSI disk’s blocks were verified without repairing any detected defects. The verify with no repair of bad blocks task runs as a result of using the disk verify command without specifying the /repair switch.
Adaptec SCSI RAID Software Reference Guide Table 10-2. State Values State Meaning BAD The task failed and is no longer running. DNE The task successfully completed or the task is no longer running (that is, the task is done). RUN The task is running. SUS The task was suspended. Typically, you suspend a task with the task suspend command. UNK The controller reported an unknown status for the task.
task Commands Table 10-4. Additional Specific2 Information Task Additional Information Verify. Refers to the verify with Displays the number of bad blocks found that were replaced. repair of bad blocks task, which runs as a result of using the disk verify command with the / repair switch.
Adaptec SCSI RAID Software Reference Guide task resume To resume one or all tasks previously suspended on the currently opened controller, use the task resume command. You suspend tasks with the task suspend command. Syntax task resume [/all{=boolean}] [{integer}] Parameters {integer} Specifies the task ID for the task to resume. Perform a task list /all to display the task IDs for all tasks currently suspended on the open controller before resuming a specific task or all tasks.
task Commands Use the task list command after using the task resume command to display information about the task, as in the following example: AAC0>task list Executing: task list TaskId Function Done% Array ------ -------- ----- --------101 Scrub 24.6% 0 State ----RUN Specific1 --------00000000 Specific2 --------00000000 As a result of using the task resume command, the State column now displays RUN (running on the controller) instead of SUS (suspended on the controller).
Adaptec SCSI RAID Software Reference Guide task stop To stop one or all tasks running on the currently opened controller, use the task stop command. Syntax task stop [/all{=boolean}] Parameters {integer} Specifies the task ID for the task to stop. Perform a task list /all to display the task IDs for all tasks currently running on the open controller before stopping a specific task or all tasks. Switches /all{=boolean} Specifies whether to stop all running tasks.
task Commands AAC0>task list Executing: task list No tasks currently running on controller.
Adaptec SCSI RAID Software Reference Guide task suspend To suspend one or all tasks running on the currently opened controller, use the task suspend command. Syntax task suspend [/all{=boolean}] Parameters {integer} Specifies the task ID for the task to suspend. Perform a task list /all to display the task IDs for all tasks currently running on the open controller before suspending a specific task or all tasks. Switches /all{=boolean} Specifies whether to suspend all running tasks.
task Commands Use the task list command after using the task suspend command to display information about the task, as in the following example: AAC0>task list Executing: task list TaskId Function Done% Array ------ -------- ------ --------101 Scrub 24.6% 0 State Specific1 Specific2 ---- --------- --------SUS 00000000 00000000 As a result of using the task suspend command, the State column now displays SUS (suspended on the controller) instead of RUN (running on the controller).
Adaptec SCSI RAID Software Reference Guide 10-14
11 enclosure Commands In this Chapter enclosure activate slot 11-3 enclosure identify slot 11-5 enclosure list 11-7 enclosure prepare slot 11-12 enclosure set alarm 11-14 enclosure set door 11-15 enclosure set fan 11-16 enclosure set interval 11-18 enclosure set power 11-20 enclosure set scsiid 11-22 enclosure set temperature 11-25 enclosure show fan 11-27 enclosure show power 11-30 enclosure show slot 11-33 enclosure show status 11-37 enclosure show temperature 11-41 11-1
Adaptec SCSI RAID Software Reference Guide These enclosure commands operate on enclosure management devices that support Version 1.0 of the SCSI Accessed Fault-Tolerant Enclosures (SAF-TE) specification.
enclosure Commands enclosure activate slot To activate a device in a specified slot of the specified SAF-TE enclosure management device, use the enclosure activate slot command. Specifically, this command makes the device that resides in the slot available on the SCSI channel. Syntax enclosure activate slot {enclosure} {slot} Parameters {enclosure} Specifies the ID associated with the enclosure management device on which you want to activate a device.
Adaptec SCSI RAID Software Reference Guide 1 1 3 4 1:03:0 1:04:0 0 0 OK UNCONFIG ACTIVATE OK UNCONFIG ACTIVATE The following example shows how to activate a device in slot 0 of enclosure management device 0 using the enclosure activate slot command: AAC0>enclosure activate slot 0 0 Executing: enclosure activate slot 0 0 You may want to use the enclosure show slot command again to see the change in the device slot’s status, as in the following example.
enclosure Commands enclosure identify slot To identify a slot on a specified SAF-TE enclosure management device, use the enclosure identify slot command. Typically, an enclosure management device indicates to the operator which slot is currently being identified by flashing an adjacent light. Syntax enclosure identify slot {enclosure} {slot} Parameters {enclosure} Specifies the ID associated with the enclosure management device on which you want to identify a slot.
Adaptec SCSI RAID Software Reference Guide Related Information enclosure commands: ■ enclosure activate slot (page 11-3) ■ enclosure list (page 11-7) ■ enclosure prepare slot (page 11-12) ■ enclosure show slot (page 11-33) 11-6
enclosure Commands enclosure list To display the list of components associated with one or all SAF-TE enclosure management devices connected to the controller, use the enclosure list command. Syntax enclosure list [/all{=boolean}] [/full{=boolean}] [{enclosure}] Parameters {enclosure} Specifies the ID associated with the enclosure management device whose associated components you want to display. For this version, the controller supports a maximum of eight enclosure management devices on each bus.
Adaptec SCSI RAID Software Reference Guide Examples The following example shows a non-detailed list of components for enclosure management devices 0 and 1: AAC0>enclosure list /all=TRUE Executing: enclosure list /all=TRUE Enclosure Fan Power Slot Sensor Door --------- --- ----- ---- ------ ---0 1 1 5 1 5 1 1 1 5 1 5 ScsiId Speaker Standard ------ -------- -------0:06:0 No SAF-TE 1:06:0 No SAF-TE Diagnostic ---------PASSED PASSED The non-detailed enclosure list display contains the following columns of i
enclosure Commands The Enclosure Column The Enclosure column displays the ID of a specific enclosure management device. This is the ID that you specify for the enclosure parameter on the command line. In the example, the enclosure list command displays enclosure management device IDs 0 and 1 (because the /all switch was specified). The Fan and Power Columns The Fan column displays the number of fans on the enclosure management device.
Adaptec SCSI RAID Software Reference Guide The Door Column The Door column displays the number of doors on the enclosure management device. Typically, enclosure management devices support a maximum of sixteen doors. In the example, enclosure management devices 0 and 1 each have five doors. The ScsiId Column The ScsiId column displays the SCSI channel number (in the example, 0 and 1), the SCSI ID (in the example, 06), and the SCSI logical unit number (in the example, 0) for the enclosure management device.
enclosure Commands Specifically, the column can display the items listed in Table 11-2. Table 11-2. Diagnostic Status Status Meaning PASSED No errors were detected and the diagnostic self-tests were successful. This is the value displayed in the example for both enclosure management devices. FAILED Errors were detected and the diagnostic self-tests were not successful. UNKNOWN The status of the diagnostic self-tests is unknown.
Adaptec SCSI RAID Software Reference Guide enclosure prepare slot To indicate to the SAF-TE enclosure management device that it should take the appropriate action to prepare the device in a specific slot for removal or insertion, use the enclosure prepare slot command. This command may perform such operations as shutting off power to the device slot. This allows users to safely remove a disk device from or insert a disk device into the device slot.
enclosure Commands The following example prepares the device in slot 0 on enclosure management device 0 for insertion or removal as a result of using the enclosure prepare slot command: AAC0>enclosure prepare slot 0 0 Executing: enclosure prepare slot 0 0 You may want to use the enclosure show slot command again to see the change in the device slot’s status, as in the following example: AAC0>enclosure show slot Executing: enclosure show slot Enclosure Slot scsiId Insert Status --------- ---- ------ ------
Adaptec SCSI RAID Software Reference Guide enclosure set alarm To turn the audible alarm on a specific SAF-TE enclosure management device on or off, use the enclosure set alarm command. Syntax enclosure set alarm [/on{=boolean}] {enclosure} Parameters {enclosure} Specifies the ID associated with the enclosure management device whose audible alarm you want to set. For this version, the controller supports a maximum of eight enclosure management devices on each bus.
enclosure Commands enclosure set door To lock or unlock a specific door on a specific SAF-TE enclosure management device, use the enclosure set door command. Syntax enclosure set door [/lock{=boolean}] {enclosure} {door} Parameters {enclosure} Specifies the ID associated with the enclosure management device on which you want to lock the door. For this version, the controller supports a maximum of eight enclosure management devices on each bus.
Adaptec SCSI RAID Software Reference Guide enclosure set fan To set the speed of a specific fan on a specific SAF-TE enclosure management device, use the enclosure set fan command. Syntax enclosure set fan [/off{=boolean}] {enclosure} {fan} [{speed}] Parameters {enclosure} Specifies the ID associated with the enclosure management device on which you want to set the speed of a specific fan. For this version, the controller supports a maximum of eight enclosure management devices on each bus.
enclosure Commands Switches /off{=boolean} Specifies whether to turn off the fan associated with the specified unit number. If you set this switch to TRUE, the command turns off the fan associated with the specified unit number. You must turn on the fan if you want to set its speed. This switch defaults to FALSE, which means the fan remains on and you can set its speed.
Adaptec SCSI RAID Software Reference Guide enclosure set interval To set the monitor reporting interval for a specific SAF-TE enclosure management device, use the enclosure set interval command. The monitor reporting interval indicates how often the controller checks the status of the enclosure management device and its associated components. In setting this value, consider the needs of your computing environment.
enclosure Commands The following example sets the monitor reporting interval for enclosure management devices 0 and 1 to 20 seconds: AAC0>enclosure set interval 20 Executing: enclosure set interval 20 You may want to use the enclosure show status command again to see the change in the power supply’s status, as in the following example: Enclosure --------0 . . .
Adaptec SCSI RAID Software Reference Guide enclosure set power To turn the power of a specific power supply on a specific SAF-TE enclosure management device on or off, use the enclosure set power command. Typically, most enclosure management devices turn on their associated power supplies by default after power up.
enclosure Commands shows, power supply 0 on enclosure management device 1 is off and operational: AAC0>enclosure show power Executing: enclosure show power Enclosure Power State Status --------- ----- ------------ ------0 0 ON OK 1 0 ON OK The following example turns on power supply 0 on enclosure management device 1: AAC0>enclosure set power 1 0 Executing: enclosure set power 1 0 You may want to use the enclosure show power command again to see the change in the power supply’s status, as in the followin
Adaptec SCSI RAID Software Reference Guide enclosure set scsiid To set the SCSI device ID for a specific device slot on a specific SAFTE enclosure management device, use the enclosure set scsiid command. As discussed in other chapters, a SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, and so on), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive).
enclosure Commands {device_id} Specifies the ID (0 through 15 inclusive) of the SCSI device you want to assign to the specified device slot.
Adaptec SCSI RAID Software Reference Guide 1 1 3 4 1:03:0 1:04:0 0 0 OK UNCONFIG ACTIVATE OK UNCONFIG ACTIVATE Related Information controller commands: ■ controller pause_io (page 6-13) enclosure commands: ■ enclosure list (page 11-7) ■ enclosure show slot (page 11-33) 11-24
enclosure Commands enclosure set temperature To set the temperature threshold on a specific SAF-TE enclosure management device, use the enclosure set temperature command. Typically, an enclosure management device contains individual temperature sensors. With this command, you can set a temperature threshold so that the enclosure management device alerts you if one or more of the temperature sensors exceeds the threshold.
Adaptec SCSI RAID Software Reference Guide AAC0>enclosure set temperature 0 100 Executing: enclosure set temperature 0 100 You may want to use the enclosure show temperature command again to see the change in threshold temperature, as in the following example: AAC0>enclosure show temperature 0 Executing: enclosure show temperature 0 Enclosure Sensor Temperature Threshold Status --------- ------ ----------- --------- -------0 0 70 F 100 NORMAL The Threshold column now displays 100 degrees.
enclosure Commands enclosure show fan To display the status of a specific fan on a specific SAF-TE enclosure management device, use the enclosure show fan command. You can also use this command to display the status of all fans on the enclosure management device or devices. Syntax enclosure show fan [{enclosure}] [{fan}] Parameters {enclosure} Specifies the ID associated with the enclosure management device for which you want to display fan status information.
Adaptec SCSI RAID Software Reference Guide Examples The following example displays the status of all fans on enclosure management devices 0 and 1: AAC0>enclosure show fan Executing: enclosure show fan Enclosure Fan Status --------- --- ------------0 0 OK 1 0 NOT INSTALLED As the example shows, the fan status display contains the following columns: ■ Enclosure ■ Fan ■ Status The following sections describe the information that the enclosure show fan command can display in these columns.
enclosure Commands Table 11-4. Fan Status Values Status Meaning OK The fan is operational. In the example, fan 0 on enclosure management device 0 is operational. BAD The fan is not working properly. NOT INSTALLED The fan is not installed. In the example, fan 0 on enclosure management device 1 is not installed. UNKNOWN The status of the fan is not reportable. Or, the fan status is unknown.
Adaptec SCSI RAID Software Reference Guide enclosure show power To display the status of a specific power supply on a specific SAF-TE enclosure management device, use the enclosure show power command. You can also use this command to display the status of all power supplies on the enclosure management device or devices.
enclosure Commands As the example shows, the power supply status display contains the following columns: ■ Enclosure ■ Power ■ State ■ Status The following sections describe the information that the enclosure show power command can display in these columns. The Enclosure and Power Columns The Enclosure column displays the ID associated with the enclosure management device that you specified on the command line.
Adaptec SCSI RAID Software Reference Guide Status State Meaning ON BAD The power supply is on and not working properly. OFF BAD The power supply is off and not working properly. INSTALLED UNKNOWN The power supply is installed and its status is not reportable or unknown. NOT INSTALLED Not Applicable The power supply is not installed. UNKNOWN UNKNOWN The state and status of the power supply is not reportable or unknown.
enclosure Commands enclosure show slot To display the status of a specific device slot on a specific SAF-TE enclosure management device, use the enclosure show slot command. You can also use this command to display the status of all device slots on the enclosure management device or devices. Syntax enclosure show slot [{enclosure}] [{slot}] Parameters {enclosure} Specifies the ID associated with the enclosure management device for which you want to display device slot status information.
Adaptec SCSI RAID Software Reference Guide Examples The following example displays the status of all device slots on enclosure management devices 0 and 1: AAC0>enclosure show slot Executing: enclosure show slot Enclosure Slot scsiId Insert Status --------- ---- ------ ------- ----------------------------------0 0 0:00:0 4 OK 0 1 0:01:0 0 UNCONFIG 0 2 0:10:0 0 UNCONFIG 0 3 0:03:0 0 UNCONFIG 0 4 0:04:0 0 UNCONFIG 1 0 1:00:0 0 UNCONFIG 1 1 1:01:0 0 UNCONFIG 1 2 1:10:0 0 UNCONFIG 1 3 1:03:0 0 UNCONFIG 1 4 1:04
enclosure Commands show slot command displays the device slot status for device slots 0 through 4 for enclosure management devices 0 and 1. The scsiId Column The scsiId column displays the SCSI ID associated with the device slot. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). In the example, the enclosure show slot command displays the SCSI IDs for device slots 0 through 4.
Adaptec SCSI RAID Software Reference Guide Table 11-6. Device Slot Status Values (Continued) Status Meaning WARNING The device that resides in this slot is likely to fail in the near future. UNCONFIG The device that resides in this slot is not currently configured as a member of a device array or as a hot spare. HOTFAILOVER The device that resides in this slot is configured as a hot spare.
enclosure Commands enclosure show status To display the general status of a specific SAF-TE enclosure management device, use the enclosure show status command. You can also use this command to display the general status of all enclosure management devices connected to the controller.
Adaptec SCSI RAID Software Reference Guide Enclosure Fan Status --------- --- ------------0 0 OK Enclosure Power State Status --------- ----- ------------ ------0 0 UNKNOWN UNKNOWN Enclosure Slot scsiId Insert --------- ---- ------ ------0 0 0:00:0 0 0 1 0:01:0 0 0 2 0:10:0 0 0 3 0:03:0 0 0 4 0:04:0 0 Status -----------------------------------------OK UNCONFIG ACTIVATE OK UNCONFIG ACTIVATE OK UNCONFIG ACTIVATE OK UNCONFIG ACTIVATE OK UNCONFIG ACTIVATE Enclosure Sensor Temperature Threshold Status --------
enclosure Commands ■ Interval ■ Door ■ Alarm The following sections describe the information that the enclosure show status command can display in these columns. For information about the status displays for fans, power supplies, device slots, and temperature sensors see the Related Information section. The Enclosure Column The Enclosure column displays the ID associated with the enclosure management device that you specified on the command line.
Adaptec SCSI RAID Software Reference Guide The Door and Alarm Columns The Door column displays the status of the door lock. The enclosure show status command can display the door lock status values listed in Table 11-7. Table 11-7. Door Lock Status Values Status Meaning LOCKED The door is currently locked. UNLOCKED The door is currently unlocked or there is no controllable door lock installed. This is the value displayed in the example. UNKNOWN The status of the door lock is not reportable.
enclosure Commands enclosure show temperature To display the temperature status of a specific temperature sensor on a specific SAF-TE enclosure management device, use the enclosure show temperature command. You can also use this command to display the temperature status of all temperature sensors on the enclosure management device or devices.
Adaptec SCSI RAID Software Reference Guide As the example shows, the temperature sensor status display contains the following columns: ■ Enclosure ■ Sensor ■ Temperature ■ Threshold ■ Status The following sections describe the information that the enclosure show temperature command can display in these columns. The Enclosure Column The Enclosure column displays the ID associated with the enclosure management device that you specified on the command line.
enclosure Commands The Status Column The Status column displays the status of the temperature displayed in the Temperature column. The enclosure show temperature command can display the temperature status values listed in Table 11-9. Table 11-9. Temperature Status Values Status Meaning NORMAL The temperature is within the normal range for this temperature sensor. In this case, the enclosure management device does not send an alarm. This is the value that appears in the example.
Adaptec SCSI RAID Software Reference Guide 11-44
12 Using the Adaptec Flash Utility In this Chapter Introduction 12-1 Overview of the AFU 12-2 System Requirements 12-3 Firmware Floppy Kit 12-4 Running the AFU 12-5 Accessing the AFU from the GUI 12-5 Accessing the AFU from the Command Line 12-5 Flashing the Firmware Using AFU 12-7 AFU Commands 12-8 AFU Error Handling 12-13 Introduction The Adaptec® Flash Utility (AFU) is a DOS application used to update the flash EEPROM components on one or more Adaptec SCSI RAID controllers.
Adaptec SCSI RAID Software Reference Guide Your Adaptec RAID controller uses nonvolatile flash to store onboard software, such as BIOS, microprocessor kernel, and monitor. Whenever it becomes necessary to update any of those components you can update your controller’s flash components using the AFU. AFU updates the controller’s flash by reading flash image data from a supplied user flash image (UFI) file and writing it to the controller’s flash components.
Using the Adaptec Flash Utility System Requirements The requirements for AFU are as follows: ■ AFU runs under MS–DOS V5.0 or later. It cannot run from a DOS command prompt window under any version of Windows. You must shut down your operating system and reboot under DOS to use the AFU. To start MS–DOS, boot from a bootable MS–DOS floppy diskette or from a DOS partition on a bootable hard disk drive. ■ AFU requires a minimum of 8 MB of extended memory.
Adaptec SCSI RAID Software Reference Guide Firmware Floppy Kit Controller firmware is delivered on CD–ROM, or updates may be downloaded from the Adaptec website www.adaptec.com. The CD includes the AFU executable AFU.exe, the corresponding documentation, and a separate flash image. The flash image may be comprised of multiple user flash image (UFI) files. If there are multiple UFI files the first file will be small enough to fit on a diskette with AFU. Subsequent files will each just fit on a blank 1.
Using the Adaptec Flash Utility 2 Create a bootable MS–DOS floppy diskette and copy the following files to this diskette: ■ AFU.exe ■ AC2xx001.ufi where 2xx0 is the model number of your controller. 3 Copy the remaining UFI files to additional diskettes. Running the AFU You can run the AFU from its graphical user interface (GUI) or from the command line. Accessing the AFU from the GUI To access the AFU GUI: 1 At the DOS command prompt (typically A:\>), type AFU with no arguments.
Adaptec SCSI RAID Software Reference Guide ■ is a keyword specifying the AFU function to be performed. The keyword must immediately follow the AFU command.
Using the Adaptec Flash Utility Flashing the Firmware Using AFU The simplest way to flash the controller is to use the AFU GUI. Follow the instructions in Accessing the AFU from the GUI on page 12-5 to start AFU with the GUI. To flash the firmware using the AFU utility from the command line: 1 Shut down your system. 2 Insert the bootable diskette that contains the AFU utility. 3 Power on the system.
Adaptec SCSI RAID Software Reference Guide b Flashing the Firmware on Multiple Controllers To flash the firmware on multiple controllers, type the following at the DOS prompt, replacing the commaseparated list of CONTROLLER_NUMBER_n with the numbers of the controllers whose firmware you are updating: afu update /C CONTROLLER_NUMBER_1,CONTROLLER_NUMBER_2 To upgrade controllers 0, 2, and 3 for example, you would type the following: afu update /C 0, 2, 3 c Flashing the Firmware on All Controllers To flash th
Using the Adaptec Flash Utility HELP The HELP command displays a summary of AFU functions and command switches. Note that you can also issue the following command to display the help text for the AFU: AFU /? Options None Default Switch Values None Examples A:\> AFU HELP A:\> AFU /? LIST The LIST command displays the AFU-supported controllers installed on your system. Use this command to see which controllers are installed on this system, or to identify the ID numbers assigned to each physical controller.
Adaptec SCSI RAID Software Reference Guide Controller #0 (03:05:00) Adaptec 2200S RESET The RESET command resets a controller to its initial start-up state and waits for the controller’s on-board kernel to restart. If the controller’s flash components were updated, the new firmware is executed. Use the /C switch to reset a specific controller or multiple controllers.
Using the Adaptec Flash Utility Default Switch Values If you do not include the /C switch, the AFU returns a fatal error message. If you do not include the /D switch, the AFU creates the UFI file in the current default drive and directory. Examples A:\> AFU SAVE /C 0 The AFU saves flash contents from controller 0 to a UFI file in the current default drive and directory. A:\> AFU SAVE /C 1 /D C:\UFI_FILES The AFU saves flash contents from controller 1 to a UFI file in the directory C:\UFI_FILES .
Adaptec SCSI RAID Software Reference Guide This might take a few minutes. Writing Adaptec 2200S (4MB) Flash Image to controller 0...OK. Verifying...OK Please restart the computer to allow firmware changes to take effect. VERIFY The VERIFY command compares the contents of each of the flash components on a controller to the corresponding image in a UFI file and indicates whether they match.
Using the Adaptec Flash Utility Use the /C switch to get version information about a specific controller or multiple controllers. Because the VERSION command interrupts the controller’s normal operation, you must reset the controller upon completion of this command. Default Switch Values If you do not include the /C switch, the AFU returns a fatal error message. Examples A:\> AFU VERSION /C 0 Adaptec Flash Utility V4.0-0 B5749 (c)Adaptec Inc. 1999–2002. All Rights Reserved.
Adaptec SCSI RAID Software Reference Guide 12-14
213 Using the Array Configuration Utility In this Chapter Introducing the Array Configuration Utility for MS-DOS 13-1 Running the ACU 13-2 Using Interactive Mode 13-3 Using Script Mode 13-8 Introducing the Array Configuration Utility for MS-DOS Adaptec RAID Configuration (ARC) is a embedded BIOS utility that includes utilities for changing SCSI device and controller settings (SCSISelect), for low-level formatting or verifying disk media (Disk Utilities), and for performing other functions.
Adaptec SCSI RAID Software Reference Guide Configuration Utility (ACU) for MS-DOS. The embedded BIOS-based ACU and the MS-DOS-based ACU are similar utilities. This chapter describes the functionality of ACU for MS-DOS only. For information about running the ACU for MS-DOS, see Running the ACU on page 13-2.
Using the Array Configuration Utility The remainder of this chapter explains in detail how to use the ACU in both interactive and script modes. Using Interactive Mode When you issue the ACU command at the MS-DOS prompt without any command-line switches, the ACU displays its main window and waits for your menu selection. To select an ACU menu option, use the ↑ and ↓ keys, and press Enter. In some cases, selecting an option displays another menu. Press Tab to navigate between the fields within a dialog box.
Adaptec SCSI RAID Software Reference Guide Assigning Array Properties To assign properties to the new array: 1 From the Array Properties menu, select an array type and press Enter. Note that only those array types available according to the number of drives selected are displayed. For a description of the supported array types, see the installation guide shipped with your controller. The physical SCSI limitation for the controller is 15 drives per channel.
Using the Array Configuration Utility 6 Specify the write caching setting for the array. The possible values are: ■ Enable when protected—If supported, enables the write cache only when a battery is present and the battery’s charge status is OK. ■ Enable always—If supported, enables the write cache even if no battery is present or the battery’s charge status is not OK.
Adaptec SCSI RAID Software Reference Guide Assigning Hot Spare Drives To assign a spare drive to an array: 1 Select Manage Arrays from the Main menu. 2 On the List of Arrays dialog box, select the array you want to assign a spare drive to, and type Ctrl/s. The Hotspare Management for Array dialog box is displayed, which shows the drives that can be assigned as spare drives. 3 Select a drive and press the Insert key to assign the drive as a spare.
Using the Array Configuration Utility Initializing a Disk Drive You must initialize a drive before you can use it as part of an array. You can tell a drive is not available (and must be initialized) if it is not listed in the disk selection list or if it is listed but grayed out. ! Caution: Initializing a disk deletes all data on the disk. (Essentially, it overwrites the partition table on the disk and makes all the previous data on the disk inaccessible.
Adaptec SCSI RAID Software Reference Guide ■ You cannot make a non-00 array bootable if the array is in a build/verify or reconfiguration process. ■ The controller always uses the lowest numbered array as its bootable array. If you delete array 00 for any reason, the next higher numbered array becomes the boot array. Mark the correct array as the bootable array by making it array 00. ■ If the controller is not a boot device, you can disable its runtime BIOS to conserve ROM.
Using the Array Configuration Utility ■ /R —Record mode. This mode saves a controller’s array and channel configuration in a specified script file for later playback. On the ACU command line, you can also specify the name of a log file to record the status of the playback or record operation. The ACU records in the log any errors or warnings encountered.
Adaptec SCSI RAID Software Reference Guide Table 13-2 Command-Line Switches (Continued) Switch Description /L Optional log file name. If you include this switch, the ACU records its activity and any errors it encounters in the log file. If no /L switch is specified, the ACU displays any status and errors on the screen. The is a standard MS-DOS file, which can include a drive, directory, file name and extension. Only the file name and extension (.LOG) are required.
Using the Array Configuration Utility Playback Mode Playback mode enables you to create one or more arrays based on the properties defined in a script file. It also enables you to configure certain properties for each channel on the controller. When you create an array, you can specify any of the properties listed in Table 13-3.
Adaptec SCSI RAID Software Reference Guide In addition, there are other array properties that enable you to control the various array settings during creation. See Array Definition Block Properties on page 13-16 for the complete list of array properties. Note: You can configure each individual channel on the controller using the property, which specifies the SCSI ID number of the controller on the channel.
Using the Array Configuration Utility Because the ACU reads the entire script file before creating any arrays, the position of the InitializeAll=Yes property within the script is not significant. Continuing the previous example, if InitializeAll=Yes is specified in the second RAID 5’s definition, the ACU initializes all drives before creating the first RAID 0. Note: If a build/verify is in progress when an array is deleted, it will automatically be terminated.
Adaptec SCSI RAID Software Reference Guide you need to be able to check the status of a background build/verify or clear task and determine when it is complete. The ACU provides a way to do this. When you use record mode to record a controller’s configuration and you specify a log file (/L switch), the ACU writes build/verify and clear status information about each array in the configuration to the log file.
Using the Array Configuration Utility arrays. Consequently, the parent task indicates 0% to 100% and the child tasks always indicates 0%. Build/Verify Operations on RAID 10 Arrays For a RAID 10 array, the status message indicates the percent of the build/verify completed for the parent and child tasks. The status updates to OK when the tasks complete.
Adaptec SCSI RAID Software Reference Guide The pound character (#) indicates the start of a comment. The ACU ignores all characters on a line that begins with a pound sign. You can use comments following array property assignments or on their own lines. See Example: Invoking the ACU and Using a Script on page 13-27 to see a sample script that includes comments. Array Definition Block Properties Table 13-4 lists the properties that can be specified within an array definition block.
Using the Array Configuration Utility Table 13-4 Array Definition Block Properties Keyword Required? Default Value Description InitializeAll No No Indicates whether to initialize all the drives connected to the controller. See page 13-20 for more information. Method No Build/ Verify Indicates which method (build/ verify, clear or quick init) to use when creating a RAID 1, 5, 10 or 50 array. See page 13-21 for more information.
Adaptec SCSI RAID Software Reference Guide Table 13-4 Array Definition Block Properties Keyword Required? Default Value Description WaitForBuild No Yes Provided for backward compatibility only. See page 13-23 for more information. WriteCache No Yes Indicates whether write caching is enabled for this array. See page 13-23 for more information. The following sections describe each of these keywords in detail.
Using the Array Configuration Utility The Type Keyword Type is a required keyword, indicating the type of array to create. There is no default value. Consult Table 13-5 for a listing of the possible values for the keyword Type and the minimum number of drives required for each type.
Adaptec SCSI RAID Software Reference Guide ■ When assigning spare drives to a RAID 10 or a RAID 50, the ACU assigns all the drives in the list to all the arrays within the RAID 10 (or RAID 50). ■ ACU only creates dedicated hot spares. If the same drive is assigned to protect multiple arrays, only the last array that drive is assigned to will be protected.
Using the Array Configuration Utility Examples: InitializeAll=Yes InitializeAll=No The Method Keyword Method is an optional keyword, indicating which method to use when creating a RAID 5 array. If Method is not specified, the value Build is used. Possible values are: ■ Build—Build/verify the array. ■ Clear—Clear the array. ■ Quick Init - Make the array available immediately Overall, the Build method takes longer than Clear, but it enables you to begin using the array immediately.
Adaptec SCSI RAID Software Reference Guide The Size Keyword The Size keyword specifies the size of the array. Specify the size as an integer or a decimal number, followed by the unit keyword MB (megabytes), GB (gigabytes), or TB (terabytes). A unit keyword is required with a numeric size value. If no unit keyword is specified, the ACU exits with an error. Specify the keyword Maximum to create an array using the maximum available space, based on the array type and drives selected.
Using the Array Configuration Utility Examples: Wait=Yes Wait=No The WaitForBuild Keyword The WaitForBuild keyword is provided for backward compatibility only. Use the Wait keyword instead. The WaitForBuild keyword is still recognized and can be used interchangeably with the Wait keyword. The WriteCache Keyword The WriteCache keyword indicates whether write caching is used for this array if write caching is supported for the system.
Adaptec SCSI RAID Software Reference Guide Channel Definition Block Properties Table 13-6 lists properties that you can specify within a channel definition block. The table lists each property’s keyword and a description of the property. Channel properties, unlike array properties, have no default values. If a channel property keyword is not specified, the corresponding controller setting for that channel is not changed.
Using the Array Configuration Utility error message to the log file. Otherwise, it displays the message on the screen. Upon exit, the ACU returns its exit status in the DOS environment variable ERRORLEVEL. When the ACU is run within a DOS batch file, that batch file can examine the ACU’s exit status using the DOS command IF ERRORLEVEL n. The batch file can use this command to test the ACU success or failure status. The batch file can test for a specific error using a series of If ERRORLEVEL n commands.
Adaptec SCSI RAID Software Reference Guide Table 13-7 Error Codes (Continued) Code Error/Information Meaning 10 Number of drives do not match the array type. The number of drives you selected is invalid for the type of array specified. 11 Unable to initialize drive. The ACU was unable to initialize one or more disk drives. 12 Error occurred while creating array. The ACU encountered an error creating a array. 13 Too many spare drives assigned.
Using the Array Configuration Utility In this case, the ACU creates the HotspareDrives list using all the drives assigned to the lower-level mirror set arrays within the RAID 10 (or RAID 50). When playing back this script, the ACU assigns all the drives in the HotspareDrives list to all the mirror set arrays making up the RAID 10 (or RAID 50). However, this might not exactly match the original spare drive assignments to the mirror set arrays.
Adaptec SCSI RAID Software Reference Guide # Use drives on channels 0 and 1 Drives=0:1:0,1:1:0 # Disable write cache WriteCache=No # Assign 2 spare drives HotspareDrives=1:2:0, 1:3:0 End # Create a maximum size RAID 5 labeled ‘MyData’ Array=MyData Type=RAID5 Size=Maximum # Use the maximum stripe size StripeSize=64 # Clear the array (don’t build/verify it) Method=Clear # Don’t wait for clear to complete Wait=No # Use drives 2, 3, 4 on channel 0 Drives=0:2:0, 0:3:0, 0:4:0 # Assign drive 1:0:0 as the spare dr
A Automated Scripts In this Appendix Creating an Automated Script A-1 This appendix describes how to write DOS batch files and CLI command scripts to perform the controller details task. You can use the CLI commands alone in CLI command scripts or in combination with DOS commands in DOS batch files. Also, you can invoke CLI command scripts in a DOS batch file. You should already understand how to write DOS batch files and be familiar with Windows-related backup commands.
Adaptec SCSI RAID Software Reference Guide 3 Closes controller aac0 by invoking the CLI command close. 4 Exits the example CLI command script.
R Adaptec, Inc. 691 South Milpitas Boulevard Milpitas, CA 95035 USA ©2000 – 2002 Adaptec All rights reserved. Adaptec and the Adaptec logo are trademarks of Adaptec which may be registered in some jurisdictions. Part Number: 513399-06, Ver.