3Ware 9650SE-2LPB-10 - Sataii Raid Hardware 10Pk Cli Manual

Serial ata raid controller
Hide thumbs Also See for 9650SE-2LPB-10 - Sataii Raid Hardware 10Pk:
Table of Contents

Advertisement

Quick Links

®
3ware
Serial ATA

RAID Controller

Command Line Interface
Supports the 9000 Series
(9500S, 9550SX, 9590SE, 9650SE)
PN: 720-0162-00
March 2007

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 9650SE-2LPB-10 - Sataii Raid Hardware 10Pk and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for 3Ware 9650SE-2LPB-10 - Sataii Raid Hardware 10Pk

  • Page 1: Raid Controller

    ® 3ware Serial ATA RAID Controller Command Line Interface Supports the 9000 Series (9500S, 9550SX, 9590SE, 9650SE) PN: 720-0162-00 March 2007...
  • Page 2 Trademarks 3ware®, Escalade®, 3DM®, and TwinStor® are all registered trademarks of AMCC. The 3ware logo, 3BM, Multi-Lane, StorSave, StorSwitch, StreamFusion, and R5 Fusion are all trademarks of AMCC.Apple®, the Apple logo, and PowerMac® are trademarks of Apple Computer Inc., registered in the United States and/or other...
  • Page 3: Table Of Contents

    Installing the 3ware CLI on Windows ........
  • Page 4 /cx/ux show initializestatus ......... . 62 3ware Serial ATA RAID Controller CLI Guide...
  • Page 5 /cx/bbu show bootloader ..........85 www.3ware.com...
  • Page 6 Return Code ............96 3ware Serial ATA RAID Controller CLI Guide...
  • Page 7: About This Cli Guide

    This guide assumes that you have already installed your 3ware RAID controller in your system and set up your 3ware Sidecar, if you have one. If you have not yet done so, see the installation guide that came with your 3ware RAID controller for instructions.
  • Page 8: Introduction To The 3Ware Command Line Interface

    A few commands apply only to models 9500S, and are labeled as such. Important! For all of the functions of the 3ware CLI to work properly, you must have the proper CLI, firmware, and driver versions installed. Check http://www.3ware.com/support for the latest versions and upgrade instructions.
  • Page 9: Supported Operating Systems

    9590SE-4ME, with a multilane serial port connector, one connector supports four ports. For additional information about 3ware controller concepts and terminology, see the user guide that came with your 3ware RAID controller or the user guide portions of the 3ware HTML Bookshelf. www.3ware.com...
  • Page 10: Installing The 3Ware Cli

    If prompted, enter your password. Installing the 3ware CLI on Windows 3ware CLI can be installed or run directly from the 3ware software CD, or the latest version can be downloaded from the 3ware web site, http://www.3ware.com. Online manual pages are also available in nroff and html formats.
  • Page 11 To install 3ware CLI on Windows Do one of the following: • Start the 3ware CD and at the 3ware menu, click Install Software Step through the pages of the installation wizard and make sure that Command Line Interface (tw_cli) is selected.
  • Page 12: Installing The 3Ware Cli On Linux And Freebsd

    /home/user/tw_cli The 3ware CLI comes in both 32-bit and 64-bit versions. If you are copying the file directly, be sure to copy the correct version for the version of the operating system you are using.
  • Page 13: Working With 3Ware Cli

    CLI is not in your path, you may need to type ./tw_cli ) The main prompt is displayed, indicating that the program is awaiting a command. //localhost> At the CLI prompt, you can enter commands to show or act on 3ware controllers, units, and drives. For example, //localhost> show...
  • Page 14: Using A Single Command With Output

    /c0 show diag > /tmp/3w_diag.out Using an input file to execute a script You can operate 3ware CLI scripts by executing a file. The file is a text file containing a list of CLI commands which you have entered in advance. Each command must be on a separate line.
  • Page 15: Outputting The Cli To A Text File

    -f config_unit.txt Outputting the CLI to a Text File You can have the output of the 3ware CLI, including errors, sent to a text file by adding 2>&1 to the end of the line. This could be useful, for example, if you want to email the output to AMCC Technical Support.
  • Page 16: Understanding Raid Levels And Concepts

    When working with a 3ware RAID controller, “unit” is the term used to refer to an array of disks that is configured and managed through the 3ware software.
  • Page 17: Available Raid Configurations

    RAID levels 0, 1, 10 and 5 are the most popular. AMCC's 3ware controllers support RAID 0, 1, 5, 6, 10, 50, JBOD and Single Disk. The information below provides a more in-depth explanation of the different RAID levels.
  • Page 18 Fault tolerance is a basic requirement for critical systems like web and database servers. 3ware uses a patented technology, TwinStor®, on RAID 1 arrays for improved performance during sequential read operations. With TwinStor technology, read performance is twice the speed of a single drive during sequential read operation.
  • Page 19 Figure 3. RAID 5 Configuration Example RAID 6 RAID 6 requires a 3ware 9650SE RAID controller. RAID 6 provides greater redundancy and fault tolerance than RAID 5. It is similar to RAID 5, but has two blocks of parity information (P+Q) distributed across all the drives of a unit, instead of the single block of RAID 5.
  • Page 20 Chapter 1. Introduction to the 3ware Command Line Interface Figure 4. RAID 6 Configuration Example RAID 10 RAID 10 is a combination of striped and mirrored arrays for fault tolerance and high performance. When drives are configured as a striped mirrored array, the disks are configured using both RAID 0 and RAID 1 techniques, thus the name RAID 10 (see Figure 5).
  • Page 21 For example, in a twelve-drive RAID 50 array, up to one drive in each RAID 5 set can fail and the array will continue to function. Please note that if two or more drives in a RAID 5 set fail, then all of the data will be lost. www.3ware.com...
  • Page 22 Figure 6. RAID 50 Configuration Example Single Disk A single drive can be configured as a unit through 3ware software. (3BM, 3DM 2, or CLI). Like disks in other RAID configurations, single disks contain 3ware Disk Control Block (DCB) information and are seen by the OS as available units.
  • Page 23: Determining What Raid Level To Use

    You can create one or more units, depending on the number of drives you have installed. Table 3: Possible Configurations Based on Number of Drives # Drives Possible RAID Configurations Single disk or hot spare RAID 0 or RAID 1 www.3ware.com...
  • Page 24 Chapter 1. Introduction to the 3ware Command Line Interface Table 3: Possible Configurations Based on Number of Drives # Drives Possible RAID Configurations RAID 0 RAID 1 with hot spare RAID 5 RAID 5 with hot spare RAID 10 Combination of RAID 0, RAID 1, single disk...
  • Page 25 If a unit over 2 TB was created prior to enabling the auto-carve option, its capacity visible to the operating system will still be 2TB; no additional capacity will be registered. To change this, the unit has to be recreated. For more information, see “Using Auto-Carving for Multi LUN Support” on page 31. www.3ware.com...
  • Page 26: Cli Syntax Reference

    /cx set autorebuild • Set the autocarve volume size /cx set carvesize Unit Configuration Tasks Create a new unit /cx add Create a hot spare /cx add Enable/disable unit write cache /cx/ux set cache 3ware Serial ATA RAID Controller CLI Guide...
  • Page 27 View Alarms /cx show alarms Unit Maintenance Tasks Start a rebuild /cx/ux start rebuild Start a verify /cx/ux start verify Pause/resume rebuild /cx/ux pause rebuild and /cx/ux resume rebuild Stop verify /cx/ux stop verify Enable/disable autoverify /cx/ux set autoverify www.3ware.com...
  • Page 28: Syntax Overview

    If you include the attribute reverse, as in the command show alarms reverse, alarms are listed in reverse order. • The value of name-value attributes are expressed in the format attribute=value. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 29 (slots, fan, and temperature sensor elements). Help commands allow you to display help information for Help Commands. all commands and attributes. For details, see “Help Commands” on page 91. www.3ware.com...
  • Page 30: Shell Object Commands

    (the parent object). specifies the root at the current focused hostname. ./object specifies the next level of the object. specifies a relative path with respect to the current focused /c0/bbu hostname. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 31: Show

    (Definitions of the unit statuses are available in the 3ware Serial ATA RAID Controller User Guide.) If you have a system with an enclosure unit, such as the 3ware Sidecar, that includes support for an EPCT (Enclosure Port Configuration Table),...
  • Page 32: Show Ver

    This command shows the diagnostic information of all controllers in the system. show rebuild This command displays all rebuild schedules for the 9000 controllers in the system. The rebuild rate is also applicable for initializing, migrating, and recovery background tasks. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 33: Show Verify

    For additional information about rebuild schedules, see “/cx add rebuild=ddd:hh:duration” on page 50, and see the discussion of background tasks and schedules in 3ware Serial ATA RAID Controller User Guide. show verify This command displays all verify schedules for the 9000 controllers in the system.
  • Page 34: Show Selftest

    52, and see the discussion of background tasks and schedules in 3ware Serial ATA RAID Controller User Guide. flush This command sends a flush command to all 3ware controllers in the system. For more information, see “/cx flush” on page 44. rescan This command sends a rescan command to all 3ware controllers in the system.
  • Page 35: Controller Object Commands

    /cx del selftest=slot_id (9000 only) /cx set exportjbod=on|off (9000 only) /cx set ondegrade=cacheoff|follow (9500S only) /cx set spinup=nn (9000 only) /cx set stagger=nn (9000 only) /cx set autocarve=on|off (9000 only) /cx set carvesize=[1024...2048] (9000 only) /cx set rebuild=enable|disable|1..5 (9000 only) www.3ware.com...
  • Page 36: Cx Commit

    VERIFY-PAUSED, REBUILDING, REBUILD-PAUSED, MIGRATING, and MIGRATE-PAUSED. Definitions of the unit statuses are available in the 3ware Serial ATA RAID Controller User Guide. Note: If an asterisk (*) appears next to the status of a unit, there is an error on one of the drives in the unit.
  • Page 37: Cx Show Attribute [Attribute

    To see the driver and firmware installed on controller 0, enter the following: //localhost> /c0 show driver firmware /c0 Driver Version = 2.x /c0 Firmware Version = FE9X 3.x (In the sample output above, “x” will be replaced with the actual version number.) www.3ware.com...
  • Page 38: Cx Show Driver

    //localhost> /c0 show bios /c0 BIOS Version = BG9X 2.x show monitor This command reports the monitor (firmware boot-loader) version of controller /cx. Example: //localhost> /c0 show monitor /c0 Monitor Version = BLDR 2.x 3ware Serial ATA RAID Controller CLI Guide...
  • Page 39: Cx Show Serial

    /cx. This report does not include (logically) removed or exported drives. On 9500S and earlier controllers, physically-removed disk(s) will still be counted. For a workaround, see “/cx/px show smart” on page 79. Example: //localhost> /c0 show numdrives /c0 Number of Drives = 5 www.3ware.com...
  • Page 40 This command reports the current JBOD Export Policy: on, off, or Not Supported. Example: //localhost> /c0 show exportjbod /c0 JBOD Export Policy = Not Supported. //localhost> /c1 show exportjbod /c1 JBOD Export Policy = on 3ware Serial ATA RAID Controller CLI Guide...
  • Page 41 Each volume can be treated as an individual drive with its own file system. The default carvesize is 2TB. For more information see, “/cx show carvesize”, below. www.3ware.com...
  • Page 42: Cx Show Autocarve

    The 9500S controllers ship with 128 MBytes of cache, yet only 112MB shows as memory installed. The other 16 MB is reserved for use by the controller. Example: //localhost> /c0 show memory /c0 Memory Installed = 112MB 3ware Serial ATA RAID Controller CLI Guide...
  • Page 43: Cx Show Autorebuild

    DEGRADED, MIGRATING, MIGRATE-PAUSED, RECOVERY, INOPERABLE, and UNKNOWN. (Definitions of the unit statuses are available in the 3ware Serial ATA RAID Controller User Guide.) Note: If an asterisk (*) appears next to the status of a unit, there is an error on one of the drives in the unit.
  • Page 44 (Definitions of the drive statuses are available in the 3ware Serial ATA RAID Controller User Guide.) Example: //localhost> /c0 show drivestatus...
  • Page 45: Cx Show All

    3JV3MVTA 74.53 GB 156301488 5JV980Z0 74.53 GB 156301488 5JV9820G 111.79 GB 234441648 WD-WMAEL10275 111.79 GB 234441648 WD-WMAEL10274 111.79 GB 234441648 WD-WMAEL10281 111.79 GB 234441648 WD-WMAEL10273 111.79 GB 234441648 WD-WMAEL10274 Name OnlineState BBUReady Status Volt Temp Hours LastCapTest --------------------------------------------------------------------------- 06-Nov-2004 www.3ware.com...
  • Page 46 The unit’s serial number cannot be changed. The following table shows supported types and controller models. Table 6: Supported RAID Types Model Single JBOD Spare 7K/8K 9000 9650SE a. Models 9500S, 9550SX, and 9590SE 3ware Serial ATA RAID Controller CLI Guide...
  • Page 47 For example, given 6 disks, specifying 3 will create two RAID 5 arrays. With 12 disks, specifying 3 will create four RAID 5 arrays under the RAID 0 level. With only 6 disks a grouping of 6 is not allowed, as you would basically be creating a RAID 5. www.3ware.com...
  • Page 48 IgnoreECC only applies to redundant units. series, this setting is only applicable during rebuild; it is not applicable during creation. Table 8: Supported Model-Unit Types for ignoreECC Model R-10 R-50 Single JBOD Spare 7K/8K 3ware Serial ATA RAID Controller CLI Guide...
  • Page 49: Cx Rescan [Noscan]

    Hot swap carriers are required unless you first power-down the system to prevent system hangs and electrical damage. Example: //localhost> /c1 rescan Rescanning controller /c1 for units and drives ...Done Found following unit(s): [/c1/u3] Found following drive(s): [/c1/p7, /c1/p8] Note: Rescanning does not import non-JBOD on 7000/8000 models www.3ware.com...
  • Page 50: Cx Update Fw=Filename_With_Path [Force]

    Examining compatibility data from firmware image and /c0 ... Done. New-Firmware Current-Firmware Current-Driver Current-API ---------------------------------------------------------------------- FE9X 3.05.00.005 FE9X 3.05.00.005 2.26.04.007 2.01.00.008 Current firmware version is the same as the new firmware. Recommendation: No need to update. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 51: Cx Show Alarms [Reverse]

    [Fri Nov 28 06:37:58 2003] INFO (0x04:0x000B): Rebuild started: unit=0 [Fri Nov 28 07:51:34 2003] INFO (0x04:0x0005): Background rebuild done:unit=0 [Fri Nov 28 07:59:43 2003] INFO (0x04:0x0005): Background rebuild done:unit=0 [Mon Dec 1 02:26:12 2003] ERROR (0x04:0x0002): Degraded unit detected:unit=0, port=3 www.3ware.com...
  • Page 52: Cx Show Diag

    For in depth information about rebuild and other background tasks, see “About Background Tasks” in the 3ware Serial ATA RAID Controller User Guide. The show rebuild command displays the current rebuild background task schedule as illustrated below.
  • Page 53 Rebuild Schedule for Controller /c1 ======================================================== Slot Hour Duration Status -------------------------------------------------------- 2:00pm 10 hr(s) enabled 7:00pm 18 hr(s) enabled 1:00am 4 hr(s) enabled 12:00am 1 hr(s) enabled $ tw_cli /c1 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy www.3ware.com...
  • Page 54: Cx Show Verify

    (For information about the initialization process, see the user guide that came with your 3ware RAID controller.) The show verify command displays the current verify background task schedule as illustrated below. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 55: Cx Show Selftest

    Note that UDMA selftest is not applicable (or required) with SATA drives, but is left enabled by default. SMART activity instructs the controller to check certain SMART supported thresholds by the disk vendor. An AEN is logged to the alarms page if a drive reports a SMART failure. www.3ware.com...
  • Page 56: Cx Add Rebuild=Ddd:hh:duration

    (For details, see page 46.) If any of the scheduled tasks do not match your desired schedule, use the /cx del rebuild command to remove them. (For details, see page 53.) 3ware Serial ATA RAID Controller CLI Guide...
  • Page 57: Cx Add Verify=Ddd:hh:duration

    Use the /cx set verify=enable command to enable the schedule (this enables all rebuild schedule slots). (For details, see page 54.) Use the /cx/ux set autoverify=on command to turn on autoverify for each unit you want to follow the schedule. (For details, see page 68.) www.3ware.com...
  • Page 58: Cx Add Selftest=Ddd:hh

    Use the /cx add selftest command to create the selftest schedule slots you want (described above.) Use the /cx set selftest=enable command to enable the schedule (this enables all selftest schedule slots). (For details, see page 54.) 3ware Serial ATA RAID Controller CLI Guide...
  • Page 59: Cx Del Rebuild=Slot_Id

    /cx and sets the priority of rebuild versus I/O operations. When enabled, rebuild tasks will only be run during the time slots scheduled for rebuilds. If a rebuild is taking place when the schedule is enabled, it will be paused until the next scheduled time. www.3ware.com...
  • Page 60: Cx Set Verify=Enable|Disable|1

    Enabling and disabling selftest is only for 9000 models. 7/8000 models have the same internal schedule, but it is not viewable or changeable. Example: //localhost> /c0 selftest=enable task=UDMA enables UDMA selftest on controller c0. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 61: Cx Set Exportjbod=On|Off

    The JBOD Export Policy is only supported on 9000-series controllers. Previous models did not have such a policy enforcement feature. A JBOD is an unconfigured disk attached to your 3ware RAID controller. AMCC recommends that you use Single Disk as a replacement for JBOD, to take advantage of features such as RAID level migration.
  • Page 62: Cx Set Stagger=Nn

    This command allows you to set the carve size in GB. This feature works together with autocarve. See “/cx set autocarve=on|off” above for details. Example: //localhost> /c0 set carvesize=2000 Setting Auto-Carving Size on /c0 to 2000 GB ... Done. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 63: Cx Set Autorebuild=On|Off

    Note: The autodetect setting cannot be shown in CLI or displayed in 3DM or 3BM. This feature may be added in a future release. www.3ware.com...
  • Page 64: Cx Start Mediascan

    This command provides media scrubbing for validating the functionality of a disk, including bad block detection, remapping, and so forth. The command starts a media scan operation on the specified controller /cx. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 65: Cx Stop Mediascan

    (9550SX, 9590SE, 9650SE only) /cx/ux set name=string (9000 series) /cx/ux set storsave=protect|balance|perform [quiet](9550SX, 9590SE, 9650SE) /cx/ux migrate type=RaidType [disk=p:-p] [group=3|4|5|6|7|8|9|10|11|12] [stripe=Stripe] [noscan] [nocache] [autoverify] (9000 series) RaidType = {raid0, raid1, raid5, raid6(9650SE only), raid10, raid50, single} /cx/ux remove [noscan] [quiet] www.3ware.com...
  • Page 66: Cx/Ux Show

    Similarly, if the unit was created using the 3ware BIOS utility 3BM and a size was entered in the Boot Volume Size field, multiple volumes were created and will be displayed.
  • Page 67: Cx/Ux Show Attribute [Attribute

    Possible statuses include: OK, VERIFYING, VERIFY-PAUSED, INITIALIZING, INIT-PAUSED, REBUILDING, REBUILD-PAUSED, DEGRADED, MIGRATING, MIGRATE-PAUSED, RECOVERY, INOPERABLE, and UNKNOWN. (Definitions of the unit statuses are available in the 3ware Serial ATA RAID Controller User Guide.) Example: //localhost> /c0/u0 show status /c0/u5 status = OK show rebuildstatus This command reports the rebuildstatus (if any) of the specified unit.
  • Page 68: Cx/Ux Show Initializestatus

    ''new'' parent unit. Thus, this command does not show the queue policy for the spare unit type. Note that currently only NCQ will be enabled, not tag-queueing. Example: //localhost> /c0/u5 show qpolicy /c0/u5 Command Queuing Policy = on 3ware Serial ATA RAID Controller CLI Guide...
  • Page 69: Cx/Ux Show Storsave

    This command shows the current autoverify setting of the specified unit. Example: //localhost> /c0/u0 show autoverify /c0/u0 Auto Verify Policy = off show cache This command shows the current write cache state of the specified unit. Example: //localhost> /c0/u0 show cache /c0/u0 Cache State = on www.3ware.com...
  • Page 70: Cx/Ux Show Ignoreecc

    Similarly, if the unit was created using the 3ware BIOS utility 3BM and a size was entered in the Boot Volume Size field, multiple volumes were created and will be displayed. Note that a volume created using the Boot Volume Size feature does not have to be used as a boot volume.
  • Page 71: Cx/Ux Remove [Noscan] [Quiet]

    After the unit is removed through the CLI, the unit can be physically removed. Hot swap carriers are required to do this while the system is online. Otherwise you must power down the system to prevent system hangs and damage. www.3ware.com...
  • Page 72: Cx/Ux Del [Noscan] [Quiet]

    When you issue this command, the specified rebuild will begin if schedules are disabled; otherwise it will pause until the next scheduled rebuild. A file system check is recommended following rebuild when using the ignoreECC option. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 73: Cx/Ux Start Verify

    The /cx/ux resume rebuild function is provided to enable 7000/8000 users to achieve similar functionality with use of Linux-provided schedulers such as cron(8) or at(1), or user supplied programs. www.3ware.com...
  • Page 74: Cx/Ux Stop Verify

    The following table shows the supported RAID types for caching as a function of controller model and logical unit type. N/A (Not Applicable) refers to cases where the given logical unit type is not supported on a particular controller model. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 75: Cx/Ux Set Identify=On|Off

    This feature only applies to 9550SX, 9590SE, and 9650SE model controllers. This feature requires an enclosure that uses an integrated AMCC/3ware CCU (chassis control unit), such as the 3ware Sidecar, or a chassis from a third- party vendor. (Check the 3ware web site for a list of chassis vendors that support enclosure services, as they become available.) For additional...
  • Page 76: Cx/Ux Set Name=String

    The following description about the settings should help you to decide which one is suitable to you and your application. You will find further discussion of this setting in the 3ware Serial ATA RAID Controller User Guide, under “About StorSave Profile Levels” on page 46.
  • Page 77 No confirmation is given and the command is executed immediately. This is useful for scripting purposes. For additional information, see “Setting the StorSave Profile for a Unit” in the 3ware Serial ATA RAID Controller User Guide. Example: //localhost> /c0/u5 set storsave=protect Setting Command Storsave Policy for unit /c0/u5 to [protect] ...
  • Page 78: Cx/Ux Migrate Type=Raidtype [Disk=P:-P]

    RAID 0, but a four-drive RAID 0 unit cannot migrate to a four-drive RAID 5, without adding another drive, due to the need for additional storage capacity for parity bits. The following table illustrates valid migration paths: 3ware Serial ATA RAID Controller CLI Guide...
  • Page 79 3. For 8 disks, the default grouping is 4. For 10 disks, the default grouping is 5, and for 12 disks, the disks can be grouped into groups of 3, 4, or 6 drives (the group of 4 drives is set by default as it provides www.3ware.com...
  • Page 80 BBU (battery backup unit) or UPS (uninterruptible power supply) installed. autoverify attribute enables the autoverify attribute on the unit that is to be migrated. For more details on this feature, see “/cx/ux set autoverify=on|off” on page 68. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 81 The following is an example of how migrating units will be displayed. In this example, the report indicates that is a migrating unit with 39% /c0/u3 completion. The report also indicate that Source Unit is of type RAID-1 and Destination Unit is of type RAID-10. www.3ware.com...
  • Page 82 MIGRATING RAID-1 149.001 su3-0 DISK 149.001 su3-1 DISK 149.001 su3/v0 Volume 149.001 RAID-10 298.002 du3-0 RAID-1 du3-0-0 DISK 149.001 du3-0-1 DISK 149.001 du3-1 RAID-1 du3-1-0 DISK 149.001 du3-1-1 DISK 149.001 du3/v0 Volume 149.001 3ware Serial ATA RAID Controller CLI Guide...
  • Page 83: Port Object Commands

    One or many attributes can be requested. Specifying an invalid attribute will terminate the loop. Possible attributes are: capacity, firmware, identify (9550SX, 9590SE, and 9650SE only), lspeed (9550SX, 9590SE, and 9650SE only), model, ncq (9550SX, 9590SE, and 9650SE only), serial, smart, and status. www.3ware.com...
  • Page 84: Cx/Px Show Status

    Chapter 2. CLI Syntax Reference show status This command displays the status of the drive attached to the specified port. (Definitions of the drive statuses are available in the 3ware Serial ATA RAID Controller User Guide.) Example: //localhost> /c0/p5 show status...
  • Page 85: Cx/Px Show Ncq

    Because the data is extracted live from the disk, this command can be used to get the most recent data about the presence or absence of a disk. The SMART data is displayed in hexadecimal form. www.3ware.com...
  • Page 86: Cx/Px Show All

    00 00 00 00 00 00 05 33 00 64 64 00 00 00 00 00 00 00 07 0F 00 4E 3E 05 13 D8 03 00 00 00 09 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8D 3ware Serial ATA RAID Controller CLI Guide...
  • Page 87: Cx/Px Remove [Noscan] [Quiet]

    This feature requires an enclosure that uses an integrated AMCC/3ware CCU (chassis control unit), such as the 3ware Sidecar, or a chassis from a third- party vendor. (Check the 3ware web site for a list of chassis vendors that support enclosure services, as they become available.) For additional information about...
  • Page 88: Bbu Object Commands

    The BBU is not ready to backup the write cache on the controller (due to the testing). (For complete information about the BBU, see the user guide that came with your 3ware RAID controller). Note: If the BBU is either not present or disabled, the following will be displayed after the command //localhost>...
  • Page 89: Cx/Bbu Show Attribute [Attribute

    However, the battery is weak and should be replaced. The BBU is ready, online and capable of backing up the write cache. - (dash) A battery is not present or a Battery Backup Unit is not installed www.3ware.com...
  • Page 90: Cx/Bbu Show Batinst

    You can use the command /cx/bbu show lasttest to check the date of the last test. For information about running a test, see “/cx/bbu test [quiet]” on page 86. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 91: Cx/Bbu Show Serial

    /c1/bbu Battery Voltage = OK /c1/bbu Battery Temperature = OK /c1/bbu Estimated Backup Capacity = 241 Hours /c1/bbu Last Capacity Test = 22-Jun-2004 /c1/bbu Battery Installation Date = 20-Jun-2004 /c1/bbu Bootloader Version = BBU 0.02.00.002 /c1/bbu PCB Revision = 65 //localhost> www.3ware.com...
  • Page 92: Cx/Bbu Test [Quiet]

    Check for AENs with the alarms command /cx show alarms [reverse]. Using the “reverse” attribute displays the most recent AEN message at the bottom of the list. (For a list of all AENs, see the user guide that came with your 3ware RAID controller.) /bbu enable This command enables BBU detection on the controller.
  • Page 93: Enclosure Object Commands

    The enclosure must use an integrated AMCC/3ware CCU (chassis control unit), such as the 3ware Sidecar, or a chassis from a third-party vendor. (Check the 3ware web site for a list of chassis vendors that support enclosure services, as they become available.) If you purchased an enclosure directly from a third-party vendor,...
  • Page 94: Ex Show Attribute [Attribute

    An invalid attribute will terminate the loop. Possible attributes are: controllers, protocol, slots, fans, and temp. show controllers This command lists the controller associated with enclosure /ex. Example: //localhost> /e0 show controllers /e0 Connected to /c0 controller. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 95: Ex Show Slots

    The maximum temperature for successful use of a drive should be noted in the documentation for the drive. Example: //localhost> /e0 show temp TempSensor Temperature ------------------------------- temp0 24~C(75~F) show all This command shows the current settings of all attributes for enclosure /ex. www.3ware.com...
  • Page 96: Ex/Slotx Show

    Setting identify to on will cause the LED associated with that slot to blink, provided that the EPCT has been set to associate “identify” with “blinking,” as is the case in the 3ware Sidecar. This command is equivalent to “/cx/px set identify=on|off” on page 81.
  • Page 97: Ex/Fanx Show

    (such as /cx, /cx/ux, /cx/px, /cx/bbu, /ex, /ex/slotx, /ex/fanx, and /ex/tempx), displays all possible sub-commands associated with the object. For example: help on the controller object /cx, will display all the sub- commands associated with the controller /cx, like this: www.3ware.com...
  • Page 98 (9000 only) /cx flush /cx commit (Windows only) (Also known as shutdown) /cx start mediascan (7000/8000 only) /cx stop mediascan (7000/8000 only) /cx rescan [noscan] NOTE: Does not import non-JBOD on 7/8000 models. //localhost> 3ware Serial ATA RAID Controller CLI Guide...
  • Page 99: Help With Attributes

    This help command provide a table of contents, providing help with the overall navigation of the CLI commands. Typical output looks like the following. //localhost> help Copyright(c) 2004-2006 Applied Micro Circuits Corporation (AMCC). All rights reserved. AMCC/3ware CLI (version 2.x) Commands Description -------------------------------------------------------------- show Displays information about controller(s), unit(s) and port(s).
  • Page 100: Help Show

    Commands” on page 24 for more information. help commit This command provides specific commit related help, illustrating various ways to use the commit command. See the section “Shell Object Commands” on page 24 for more information. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 101: Help Focus

    /ex. See the section “Enclosure Object Commands” on page 87 for more information. help /e /slot This command provides specific slot /ex/slotx related help, illustrating various ways to use /ex/slotx. See the section “Enclosure Object Commands” on page 87 for more information. www.3ware.com...
  • Page 102: Help /Ex/Fanx

    To view the return code for Linux: At the shell command prompt type: echo $? The screen prints either a 0 or a 1, depending on whether the command was successful or not. 3ware Serial ATA RAID Controller CLI Guide...
  • Page 103 Return Code For example, if you had a 3ware controller with an ID of 0, you could type this command: tw_cli /c0 show (c0 information displayed here) echo $? If you type: tw_cli /c7 show error: (CLI003) specified controller does not exist.

This manual is also suitable for:

9500s9550sx9590se3ware 9650se

Table of Contents