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

Other manuals for 9650SE-2LPB-10 - Sataii Raid Hardware 10Pk: User Manual
Manual is about: Serial ATA RAID Controller

Summary of 9650SE-2LPB-10 - Sataii Raid Hardware 10Pk

  • Page 1

    3ware ® serial ata raid controller command line interface supports the 9000 series (9500s, 9550sx, 9590se, 9650se) pn: 720-0162-00 march 2007 cli guide.

  • Page 2

    Www.3ware.Com ii copyright ©2003-2007 applied micro circuits corporation (amcc). All rights reserved. This publication may be copied or reproduced for reference purposes only. All other purposes require the express written consent of amcc, 215 moffett park drive, sunnyvale, ca 94089. Amcc shall not ...

  • Page 3: Table of Contents

    Www.3ware.Com iii table of contents about this cli guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 chapter 1. Introduction to the 3ware command line interface. . . . . . . . . . . . . . . . . .2 features of the cli . . . . . . . . . . . . . . . . . . . . . ...

  • Page 4

    Iv 3ware serial ata raid controller cli guide /cx show achip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 /cx show numdrives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 /cx show numpo...

  • Page 5

    Www.3ware.Com v /cx/ux show name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 /cx/ux show serial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 /cx/ux show qpolicy . . . . . . . . . . . . . ...

  • Page 6

    Vi 3ware serial ata raid controller cli guide /cx/bbu show all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 /cx/bbu test [quiet] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 /cx/bbu en...

  • Page 7

    Www.3ware.Com 1 about this cli guide 3ware serial ata raid controller cli guide provides instructions for configuring and maintaining your 3ware controller using 3ware’s command line interface (cli). This guide assumes that you have already installed your 3ware raid controller in your system and set...

  • Page 8

    2 3ware serial ata raid controller cli guide 1 introduction to the 3ware command line interface the 3ware sata raid controller command line interface (cli) manages multiple 7000, 8000, and 9000-series 3ware ata and serial ata raid controllers via a command line or script. This chapter includes the f...

  • Page 9

    Supported operating systems www.3ware.Com 3 you can use the cli to view unit status and version information and perform maintenance functions such as adding or removing drives. 3ware cli also includes advanced features for creating and deleting raid units online. For a summary of what you can do usi...

  • Page 10

    Chapter 1. Introduction to the 3ware command line interface 4 3ware serial ata raid controller cli guide installing the 3ware cli installing the 3ware cli on mac os x 3ware cli can be installed from the 3ware software cd, or the latest version can be downloaded from the 3ware web site, http://www.3w...

  • Page 11

    Installing the 3ware cli www.3ware.Com 5 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. • copy the file tw_...

  • Page 12

    Chapter 1. Introduction to the 3ware command line interface 6 3ware serial ata raid controller cli guide installing the 3ware cli on linux and freebsd 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.3w...

  • Page 13

    Working with 3ware cli www.3ware.Com 7 working with 3ware cli you can work with the 3ware cli in different ways: • interactively, entering commands at the main prompt • as a series of single commands • by creating a script—an input file with multiple commands the next few topics shows examples of th...

  • Page 14

    Chapter 1. Introduction to the 3ware command line interface 8 3ware serial ata raid controller cli guide using a single command with output you can use 3ware cli with line arguments, processing a single command at a time. To do so, simply enter the command and the arguments. Single commands can be u...

  • Page 15

    Working with 3ware cli www.3ware.Com 9 with the remaining drives in a raid 5 array. It then prints the configurations for verification. The commands included in the script file are: /c0 add type=raid1 disk=0-1 /c0 add type=raid5 disk=2-11 /c0 show to run either of the scripts, enter: tw_cli -f confi...

  • Page 16

    Chapter 1. Introduction to the 3ware command line interface 10 3ware serial ata raid controller cli guide understanding raid levels and concepts 3ware raid controllers use raid (redundant array of inexpensive disks) to increase your storage system’s performance and provide fault tolerance (protectio...

  • Page 17

    Understanding raid levels and concepts www.3ware.Com 11 • array roaming. The process of removing a unit from a controller and putting it back later, either on the same controller, or a different one, and having it recognized as a unit. The disks may be attached to different ports than they were orig...

  • Page 18

    Chapter 1. Introduction to the 3ware command line interface 12 3ware serial ata raid controller cli guide raid 1 raid 1 provides fault tolerance and a speed advantage over non-raid disks. Raid 1 is also known as a mirrored array. Mirroring is done on pairs of drives. Mirrored disk arrays write the s...

  • Page 19

    Understanding raid levels and concepts www.3ware.Com 13 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) distribute...

  • Page 20

    Chapter 1. Introduction to the 3ware command line interface 14 3ware serial ata raid controller cli guide 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 ...

  • Page 21

    Understanding raid levels and concepts www.3ware.Com 15 figure 5. Raid 10 configuration example raid 50 raid 50 is a combination of raid 5 with raid 0. This array type provides fault tolerance and high performance. Raid 50 requires a minimum of six drives. Several combinations are available with rai...

  • Page 22

    Chapter 1. Introduction to the 3ware command line interface 16 3ware serial ata raid controller cli guide 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...

  • Page 23

    Understanding raid levels and concepts www.3ware.Com 17 hot spare a hot spare is a single drive, available online, so that a redundant unit can be automatically rebuilt in case of drive failure. Determining what raid level to use your choice of which type of raid unit (array) to create will depend o...

  • Page 24

    Chapter 1. Introduction to the 3ware command line interface 18 3ware serial ata raid controller cli guide using drive capacity efficiently to make the most efficient use of drive capacity, it is advisable to use drives of the same capacity in a unit. This is because the capacity of each drive is lim...

  • Page 25

    Understanding raid levels and concepts www.3ware.Com 19 support for over 2 terabytes windows 2000, windows xp (32-bit), linux 2.4, and freebsd 4.X, do not currently recognize unit capacity in excess of 2 tb. If the combined capacity of the drives to be connected to a unit exceeds 2 terabytes (tb), y...

  • Page 26

    20 3ware serial ata raid controller cli guide 2 cli syntax reference this chapter provides detailed information about using the command syntax for the 3ware cli. Throughout this chapter the examples reflect the interactive method of executing 3ware cli. Common tasks mapped to cli commands the table ...

  • Page 27

    Common tasks mapped to cli commands www.3ware.Com 21 set the queue policy /cx/ux set qpolicy 70 set the storsave profile /cx/ux set storsave 70 unit configuration changes change raid level /cx/ux migrate 72 change stripe size /cx/ux migrate 72 expand unit capacity /cx/ux migrate 72 delete a unit /cx...

  • Page 28

    Chapter 2. Cli syntax reference 22 3ware serial ata raid controller cli guide syntax overview the command syntax uses the general form: object command attributes objects are shell commands, controllers, units, ports (drives), bbus (battery backup units), and enclosures. Commands can either select (s...

  • Page 29

    Syntax overview www.3ware.Com 23 example: when adding (creating) a unit to the controller with the following command string, /c1 add type=raid1 disk=0-1 c1 is the object, add is the command, type (for type of array) is an attribute with raid1 as the value of the attribute, and disk is another attrib...

  • Page 30

    Chapter 2. Cli syntax reference 24 3ware serial ata raid controller cli guide shell object commands shell object commands are either applicable to all the controllers in the system (such as show, rescan, flush, commit), or redirect the focused object. Syntax focus object show [attribute [modifier]] ...

  • Page 31

    Shell object commands www.3ware.Com 25 example: //localhost> focus /c0/u0 //localhost/c0/u0> //localhost/c0/u0> focus.. //localhost/c0> //localhost> focus u0 //localhost/c0/u0> //localhost/c0> focus / //localhost> the focus command is available by default. You can disable focus by setting tw_cli_inp...

  • Page 32

    Chapter 2. Cli syntax reference 26 3ware serial ata raid controller cli guide example: typical output of the show command for a system with an enclosure looks like the following: //localhost> show ctl model ports drives units notopt rrate vrate bbu ---------------------------------------------------...

  • Page 33

    Shell object commands www.3ware.Com 27 example: //localhost> show rebuild rebuild schedule for controller /c0 ======================================================== slot day hour duration status -------------------------------------------------------- 1 sun 12:00am 24 hr(s) disabled 2 mon 12:00am ...

  • Page 34

    Chapter 2. Cli syntax reference 28 3ware serial ata raid controller cli guide show selftest this command displays all selftest schedules for the 9000 controllers in the system. Example: //localhost> show selftest selftest schedule for controller /c0 ==================================================...

  • Page 35

    Controller object commands www.3ware.Com 29 controller object commands controller object commands provide information and perform actions related to a specific controller, such as /c0. For example, you use controller object commands to see alarms specific to a controller, to create schedules for whe...

  • Page 37

    Controller object commands www.3ware.Com 31 backup the controller cache in the event of power loss), temperature, voltage, readiness, and so forth. Additional attributes about controllers, units, ports and disks can be obtained by querying for them explicitly. For details, see the other show subcomm...

  • Page 38

    Chapter 2. Cli syntax reference 32 3ware serial ata raid controller cli guide /c x show driver this command reports the device driver version associated with controller /cx. Example: //localhost> /c0 show driver /c0 driver version = 2.X /c x show model this command reports the controller model of co...

  • Page 39

    Controller object commands www.3ware.Com 33 /c x show serial this command reports the serial number of the specified controller /cx. Example: //localhost> /c0 show serial /c0 serial number = f12705a3240009 /c x show pcb this command reports the pcb (printed circuit board) version of the specified co...

  • Page 40

    Chapter 2. Cli syntax reference 34 3ware serial ata raid controller cli guide /c x show numports this command reports the port capacity (number of physical ports) of the specified controller /cx. Example: //localhost> /c0 show numports /c0 number of ports = 12 /c x show numunits this command reports...

  • Page 41

    Controller object commands www.3ware.Com 35 /c x show spinup this feature only applies to 9000 series controllers. This command reports the number of concurrent disks that will spin up when the system is powered on, after waiting for the number of seconds specified with the set stagger command. Exam...

  • Page 42

    Chapter 2. Cli syntax reference 36 3ware serial ata raid controller cli guide for operating systems that support units larger than 2tb, there is no need to set the policy to on unless you want the operating system to have multiple smaller volumes. If you use a 32-bit operating system, it is recommen...

  • Page 43

    Controller object commands www.3ware.Com 37 /c x show autorebuild this feature only applies to 9550sx, 9590se, and 9650se model controllers. This command shows the auto-rebuild policy. If the policy is enabled, the firmware will select drives to use for rebuilding a degraded unit using the following...

  • Page 44

    Chapter 2. Cli syntax reference 38 3ware serial ata raid controller cli guide /c x show allunitstatus this command presents a count of total and not optimal units managed by the specified controller /cx. For more about the meaning of not optimal, see “shell object commands” on page 24. Example: //lo...

  • Page 45

    Controller object commands www.3ware.Com 39 /c x show all this command shows the current setting of all of the following attributes on the specified controller: driver, model, memory, firmware, bios, monitor, serial, pcb, pchip, achip, numports, numunits, numdrives, unitstatus, drivestatus, allunits...

  • Page 46

    Chapter 2. Cli syntax reference 40 3ware serial ata raid controller cli guide /c x add type = disk = [stripe= stripe ] [noscan] [group= ] [nocache] [autoverify] [noqpolicy][ignoreecc] [name= string ] [storsave=] this command allows you to create a new unit on the specified controller. You specify ty...

  • Page 47

    Controller object commands www.3ware.Com 41 disk=p:-p consists of a list of ports (disks) to be used in the construction of the specified unit type. One or more ports can be specified. Multiple ports can be specified using a colon (:) or a dash (-) as port index separators. A dash indicates a range ...

  • Page 48

    Chapter 2. Cli syntax reference 42 3ware serial ata raid controller cli guide the default raid 50 grouping varies, based on number of disks. For 6 and 9 disks, default grouping is 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 g...

  • Page 49

    Controller object commands www.3ware.Com 43 name=stringattribute allows you to name the new unit. (this feature is for 9000 series and above controllers.) the string can be up to 21 characters and cannot contain spaces. In order to use reserved characters (‘’, ‘!’, ‘&’, etc.) put double quotes (" ")...

  • Page 50

    Chapter 2. Cli syntax reference 44 3ware serial ata raid controller cli guide /c x commit this command only applies to the windows operating system. It commits all changes if a faster shutdown method is needed when running certain database applications. Linux and freebsd file systems do not require ...

  • Page 52

    Chapter 2. Cli syntax reference 46 3ware serial ata raid controller cli guide /c x show diag this command extracts controller diagnostics suitable for technical support usage. Note that some characters might not be printable or rendered correctly (human readable). It is recommended to save the outpu...

  • Page 53

    Controller object commands www.3ware.Com 47 a status of “disabled” indicates that the task schedule is disabled. In this case, the controller will not use the defined schedule timeslots. If the rebuild command is entered manually, rebuilding will start within 10 to 15 minutes. It will begin automati...

  • Page 54

    Chapter 2. Cli syntax reference 48 3ware serial ata raid controller cli guide -------------------------------------------------------------------------- u0 raid-5 initializing 0 - 64k 521.466 on off port status unit size blocks serial --------------------------------------------------------------- p...

  • Page 55

    Controller object commands www.3ware.Com 49 //localhost> /c1 show verify verify schedule for controller /c1 ======================================================== slot day hour duration status -------------------------------------------------------- 1 mon 2:00am 4 hr(s) disabled 2 - - - disabled 3...

  • Page 56

    Chapter 2. Cli syntax reference 50 3ware serial ata raid controller cli guide the show selftest command displays the current selftest background task schedule as illustrated below. Selftests do not have a time duration since they are completed momentarily. //localhost> /c1 show selftest selftest sch...

  • Page 57

    Controller object commands www.3ware.Com 51 3 use the /cx add rebuild command to create the rebuild schedule slots you want (described above.) 4 use the /cx set rebuild=enable command to enable the schedule (this enables all rebuild schedule slots). (for details, see page 53.) /c x add verify= ddd:h...

  • Page 58

    Chapter 2. Cli syntax reference 52 3ware serial ata raid controller cli guide /c x add selftest= ddd:hh this command adds a new background selftest task to be executed on the day ddd (where ddd is sun, mon, tue, wed, thu, fri, and sat), at hour hh (range 0 .. 23). Notice that selftest runs to comple...

  • Page 59

    Controller object commands www.3ware.Com 53 /c x del rebuild= slot_id this command removes the rebuild background task in slot slot_id. Example : //localhost> /c1 del rebuild=2 removes the rebuild background task in slot 2. /c x del verify= slot_id this command removes the verify background task in ...

  • Page 60

    Chapter 2. Cli syntax reference 54 3ware serial ata raid controller cli guide the priority of rebuild versus i/o operations is specified with 1..5, where 1 is more resources and 5 the least. Setting the value to 1 gives maximum processing time to rebuilds rather than i/o. Setting the value to 5 give...

  • Page 62

    Chapter 2. Cli syntax reference 56 3ware serial ata raid controller cli guide /c x set stagger= nn this command is only for 9000 series controllers. This command allows you to set a controller-based disk spinup stagger time policy that specifies the delay between spin-ups. The value must be a positi...

  • Page 65

    Unit object commands www.3ware.Com 59 /c x stop mediascan this command applies only to 7000/8000 controllers. This commands stops a media scan operation on the specified controller /cx. (media scans are started using/cx start mediascan.) unit object commands unit object commands provide information ...

  • Page 66

    Chapter 2. Cli syntax reference 60 3ware serial ata raid controller cli guide /c x /u x show this command shows summary information about the specified unit /cx/ux. If the unit consists of sub-units as with the case of raid-1, raid-5, raid-10, raid-50, then each sub-unit is further presented. If the...

  • Page 67

    Unit object commands www.3ware.Com 61 /c x /u x show attribute [ attribute ...] this command shows the current setting of the specified attributes. One or many attributes can be requested. Specifying an invalid attribute will terminate the loop. Possible attributes are: initializestatus, name (9000 ...

  • Page 68

    Chapter 2. Cli syntax reference 62 3ware serial ata raid controller cli guide /c x /u x show initializestatus this command reports the initializestatus (if any) of the specified unit. Example: //localhost> /c0/u5 show initializestatus /c0/u5 is not initializing, its current state is ok /c x /u x sho...

  • Page 70

    Chapter 2. Cli syntax reference 64 3ware serial ata raid controller cli guide /c x /u x show ignoreecc this feature only applies to 9000 series controllers. This command shows the current setting of the ignoreecc policy for the specified unit. Example: //localhost> /c0/u0 show ignoreecc /c0/u0 ignor...

  • Page 71

    Unit object commands www.3ware.Com 65 unit unittype status %rcmpl %v/i/m port stripe size(gb) ------------------------------------------------------------------------ u1 raid-0 ok - - - 64k 3576.06 u1-0 disk ok - - p0 - 298.01 u1-1 disk ok - - p1 - 298.01 u1-2 disk ok - - p2 - 298.01 u1-3 disk ok - ...

  • Page 72

    Chapter 2. Cli syntax reference 66 3ware serial ata raid controller cli guide /c x /u x del [noscan] [quiet] this command allows you to delete a unit. Deleting a unit not only removes the specified unit from the controller's list of managed units, but also destroys the dcb (disk configuration block)...

  • Page 73

    Unit object commands www.3ware.Com 67 /c x /u x start verify this command starts a background verification process on the specified unit /cx/ux. The following table shows the supported matrix as a function of the controller model and logical unit type. N/a (not applicable) refers to cases where the ...

  • Page 74

    Chapter 2. Cli syntax reference 68 3ware serial ata raid controller cli guide /c x /u x stop verify this command stops a background verification process on the specified unit /cx/ux. Table 9 on page 67 shows the supported matrix as a function of the controller model and logical unit type. /c x /u x ...

  • Page 76

    Chapter 2. Cli syntax reference 70 3ware serial ata raid controller cli guide /c x /u x set name= string this command allows you to name the unit with an arbitrary name. You can use this name in conjunction with the unit serial number to cross-reference with the unit. The system does not check to en...

  • Page 77

    Unit object commands www.3ware.Com 71 protect provides the maximum data protection among the controller settings. When storsave is set to protect mode, it means: • when the unit becomes degraded, the write cache will be disabled. • write journaling is enabled. All data flushing from controller cache...

  • Page 79

    Unit object commands www.3ware.Com 73 : disk=p:-p.. Consists of a list of ports (disks) to be used in addition to the source disks in the construction of the destination unit. One or more ports can be specified. Multiple ports can be specified using a colon (:) or a dash (-) as port index separators...

  • Page 80

    Chapter 2. Cli syntax reference 74 3ware serial ata raid controller cli guide the best of net capacity and performance). For 15 disks, the disks can be grouped into groups of 3 or 5 drives. For 16 disks, the disks can be grouped into groups of 4 or 8 drives. Note that raid-10 always has group=2, so ...

  • Page 81

    Unit object commands www.3ware.Com 75 migration process in all cases of migration, the background migration process must be completed before the newly sized unit is available for use. You can continue using the original unit during this time. Once the migration is finished, a reboot will be required...

  • Page 82

    Chapter 2. Cli syntax reference 76 3ware serial ata raid controller cli guide 3ware cli> /c0 show unit unittype status %rcmpl %v/i/m stripe size(gb) cache avrfy --------------------------------------------------------------------------- u0 raid-5 ok - - 64k 596.004 on off u2 spare ok - - - 149.042 -...

  • Page 83

    Port object commands www.3ware.Com 77 port object commands port object messages are commands that provide information and perform actions related to a specific disk, attached to a port, such as /c0/p0. You use port object commands for such tasks as seeing the status, model, or serial number of the d...

  • Page 84

    Chapter 2. Cli syntax reference 78 3ware serial ata raid controller cli guide /c x /p x 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...

  • Page 85

    Port object commands www.3ware.Com 79 /c x /p x show ncq this command applies only to 9550sx, 9590se, and 9650se model controllers. This command displays the ncq (native command queueing) information for the drive attached to the specified port, including whether ncq is supported by the drive, and w...

  • Page 86

    Chapter 2. Cli syntax reference 80 3ware serial ata raid controller cli guide example: //localhost> /c0/p5 show smart /c0/p5 drive smart data: 10 00 01 0b 00 c8 c8 00 00 00 00 00 00 00 03 07 00 9a 96 bc 14 00 00 00 00 00 04 32 00 64 64 7a 00 00 00 00 00 00 05 33 00 c8 c8 00 00 00 00 00 ... 00 00 00 ...

  • Page 87

    Port object commands www.3ware.Com 81 /c x /p x remove [noscan] [quiet] this command allows you to remove (or export) a port (or drive) /cx/px. Exporting a port instructs the firmware to remove the specified port from its pool of managed ports, but does not retain the dcb (disk configuration block) ...

  • Page 88

    Chapter 2. Cli syntax reference 82 3ware serial ata raid controller cli guide bbu object commands bbu (battery backup unit) object commands are commands that provide information and perform actions related to a specific bbu installed on a specific controller, such as /c0/bbu. This object is only ava...

  • Page 89

    Bbu object commands www.3ware.Com 83 /c x /bbu show attribute [ attribute ...] this command shows the current setting of the given attribute(s) on the bbu board. One or many attributes can be specified. Specifying an invalid attribute will terminate the loop. Possible attributes are: batinst, bootlo...

  • Page 90

    Chapter 2. Cli syntax reference 84 3ware serial ata raid controller cli guide /c x /bbu show batinst this command shows the date when the current battery was installed. /c x /bbu show lasttest this command shows the date the battery capacity was last measured. If the battery capacity test has never ...

  • Page 91

    Bbu object commands www.3ware.Com 85 /c x /bbu show serial this command shows the bbu serial number. /c x /bbu show fw this command shows the bbu firmware version number. /c x /bbu show pcb this command shows the pcb revision number on the bbu. /c x /bbu show bootloader this command shows the bbu's ...

  • Page 92

    Chapter 2. Cli syntax reference 86 3ware serial ata raid controller cli guide /c x /bbu test [quiet] this command starts the battery capacity test. The test may take up to 24 hours to complete. During the test, the bbu is not capable of backup operation and the write cache of all units attached to t...

  • Page 93

    Enclosure object commands www.3ware.Com 87 enclosure object commands enclosure object commands provide information and perform actions related to a specific enclosure, such as /e0 and its elements, such as /e0/slot0. Enclosure object elements include slot, fan, and temperature sensor elements. These...

  • Page 94

    Chapter 2. Cli syntax reference 88 3ware serial ata raid controller cli guide typical output looks like: //localhost> /e0 show encl controllers ------------------------- e0 /c0 fan status ---------------------- fan0 ok tempsensor temperature ------------------------------- temp0 24~c(75~f) slot stat...

  • Page 95

    Enclosure object commands www.3ware.Com 89 /e x show slots this command reports the slots in enclosure /ex and their associated information. Example: //localhost> /e0 show slots slot status port identify ---------------------------------------------------- slot0 ok /c0/p0 no slot1 ok /c0/p1 yes slot...

  • Page 96

    Chapter 2. Cli syntax reference 90 3ware serial ata raid controller cli guide /e x /slot x show this command shows information about the specified /slotx on the specified enclosure /ex. The slot name is followed by its status. If a slot has been inserted with a drive and no fault has been detected, ...

  • Page 97

    Help commands www.3ware.Com 91 /e x /fan x show this command shows the information about the specified fan element /fanx in the specified enclosure /ex. The fan name is followed by its status. If a fan is on and no fault has been detected, the status would indicate ok. Example: //localhost> /e0/fan0...

  • Page 99

    Help commands www.3ware.Com 93 help with attributes as you work with specific objects or commands, you can also use ? To get help. For example: if you enter the command /c0 show and then need help on what specific attribute syntax is possible, you can use ? To get help as following: //localhost> /c0...

  • Page 100

    Chapter 2. Cli syntax reference 94 3ware serial ata raid controller cli guide certain commands are qualified with constraints of controller type/model support. Please consult the tw_cli documentation for explanation of the controller-qualifiers. The controller-qualifiers of the enclosure commands (/...

  • Page 101

    Help commands www.3ware.Com 95 help focus this command provides specific focus related help, illustrating various ways to use the focus command. See the section “shell object commands” on page 24 for more information. Help /c x this command provides specific controller /cx related help, illustrating...

  • Page 102

    Chapter 2. Cli syntax reference 96 3ware serial ata raid controller cli guide help /e x /fan x this command provides specific fan /ex/fanx related help, illustrating various ways to use the /ex/fanx command. See the section “enclosure object commands” on page 87 for more information. Help /e x /temp...

  • Page 103

    Return code www.3ware.Com 97 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 $? 0 if you type: tw_cli /c7 show error: (cli003) specified controller does not exist. Echo $? 1 this example fails (returns 1) b...