Command Line Interface
for Linux
For use on 7000 and 8000 SeriesEscalade™ ATA RAID Controllers
PN 720-0087-00, Revision A
August
30,
2002
CLI
User Guide
Page 1: ...Command Line Interface for Linux For use on 7000 and 8000 Series Escalade ATA RAID Controllers PN 720 0087 00 Revision A August 30 2002 CLI User Guide...
Page 2: ...n consent of 3ware Inc 701 East Middlefield Road Suite 300 Mountain View CA 94043 Trademarks 3ware the 3ware logo Escalade StorSwitch TwinStor R5 Fusion and 3DM are all registered trademarks of 3ware...
Page 3: ...n input file 5 Controller Information 5 The info command 5 Examples using Interactive Mode 7 Settings 12 The set command 12 Examples using Interactive Mode 13 Array Maintenance 14 The maint command 14...
Page 4: ...Linux is provided to manage 7000 and 8000 series 3ware Escalade ATA RAID con trollers Multiple systems containing Escalade controllers may be managed using the CLI via a command line or script CLI is...
Page 5: ...nance functions like adding or removing drives Note Refer to the Escalade ATA RAID Controller User s Guide for complete information on 3DM The CLI command set is listed below and described in detail i...
Page 6: ...ollowing as root tar xf tw_cli tar C usr sbin To install the CLI to a different location change usr sbin to the desired location Note The installation location needs to be in the envi ronment path for...
Page 7: ...w_cli to get into a console where you can interactively enter commands to get set or maintain your Escalade Example tw_cli Escalade CLI The main prompt is displayed when the program is awaiting a com...
Page 8: ...which the user types in advance Each command should be on a separate line Syntax tw_cli f filename Example tw_cli f clicommand txt Note All examples given in the following sections will reflect the i...
Page 9: ...he controller allunitstatus provides simple numeric status for all units unitstatus provides the status for a specific unit drivestatus provides the status of drives on the controller Unit information...
Page 10: ...rm OK 0xFF Also an error code is returned bit masking bad drives if any of the drives used by the array are bad For example if port 2 is bad the return code would be 4 in hex f c is specified and u is...
Page 11: ...AID 1 81 96 GB 160084480 blocks VERIFYING 16 of ports 8 Port 0 MAXTOR 98196H8 V80EDX1C 81 96 GB 160086528 blocks OK unit 0 Port 1 Maxtor 98196H8 V80539XC 81 96 GB 160086528 blocks OK unit 0 Port 2 Max...
Page 12: ...type RAID 5 Size 60 3 GB 117262592 blocks of subunits 3 Subunit 0 CBOD OK Physical Port 0 Logical Port 0 Subunit 1 CBOD OK Physical Port 1 Logical Port 1 Subunit 2 CBOD OK Physical Port 2 Logical Por...
Page 13: ...5TGZE info for SMART data on a specific drive Example Escalade CLI info c0 p0 smart Sample of output 10 00 01 0A 00 FD FC A8 00 00 00 00 00 00 03 27 00 C8 C8 52 53 00 00 00 00 00 04 32 00 FD FD 63 00...
Page 14: ...nfo c0 allunitstatus Sample of output 0 0 good and 1 any unit bad drivestatus Description To get a general status of the drives of a controller Example Escalade CLI info c0 drivestatus Sample of outpu...
Page 15: ...he rebuild rate per controller basis cache enables or disables caching on a per array unit basis for RAID 1 5 and 10 arrays Warning A change in these settings will be reflected in 3DM and vice versa N...
Page 16: ...s displays the current configuration as shown below Example Escalade CLI set Sample of output Controller 1 Rebuild Rate setting for Controller 1 1 Fastest Rebuild Cache Settings for Controller 1 Unit...
Page 17: ...rate of controller to 3 Balanced rebuild and I O Array Maintenance The maint command The maint command enables a user to perform maintenance operations on the controller its units and drives It is re...
Page 18: ...f ECC errors are detected flush flushes cache on the controller s verify verifies the redundancy of a RAID 1 RAID 10 or RAID 5 array Warning If you try to add a JBOD you must add it to a port that was...
Page 19: ...ontroller 0 Example Escalade CLI maint remove c0 p3 Sample of output Successfully removed drive from port 3 on controller 0 maint rebuild successful Description To rebuild a degraded array unit 2 u2 o...
Page 20: ...lso be specified to indicate the subunit Example Escalade CLI maint rebuild c0 u2 s0 p3 Sample of output Rebuild started on unit 2 on controller 0 maint flush Description To flush the cache on all uni...
Page 21: ...e help command displays a list of the CLI commands and options Examples using Interactive Mode Example Escalade CLI help Sample of output Copyright 2002 3ware Inc All rights reserved This product incl...
Page 22: ...also specified it will show information about the uth unit on the cth controler If c is specified and p is also specified it will show information about the pth port on the cth controller u and p cann...
Page 23: ...build c0 3 sets the rebuild rate of controller 0 to 3 medium pace set cache c0 Displays the cache settings for all the cacheable units on controller 0 set cache c0 u8 off Turns off the write cache on...
Page 24: ...nt rebuild c1 u4 p8 ignoreECC Rebuild unit4 on controller 1 with a newly added CBOD on port 8 continue rebuild even if ECC errors are detected maint rebuild c1 u4 s1 p7 Rebuild subunit 1 of unit 4 on...
Page 25: ...down load asp For specific answers to questions or to give feedback about the product visit our Web site at http www 3ware com sup port and use our convenient e mail form 3ware also offers toll free...
Page 26: ...3ware Escalade ATA RAID Controller CLI User Guide www 3ware com 23...