Understanding RAID Concepts and Levelswww.3ware.com 7Exampletw_cli info c0 u0This example gets information for unit0 of controller0. For completeinformation about the info commands, see “Info Commands” on page 18.Using an input file to execute a scriptYou can operate 3ware CLI scripts by executing a file. The file is a text filecontaining a list of CLI commands which you have entered in advance. Eachcommand must be on a separate line.Syntaxtw_cli -f Where is the name of the text file you want to execute.Exampletw_cli -f clicommand.txtThis example executes the file clicommand.txt, and runs the CLI commandsincluded in that file.Scripting ExampleHere is an example using a text file called info.txt, containing thefollowing two commands:info c0 u0info c1 u0To run the script, enter:tw_cli -f info.txt3ware CLI displays information about unit 0 on controller 0 and unit 0 oncontroller 1.Understanding RAID Concepts and LevelsThe next few pages introduce RAID concepts you may find useful. Foradditional information about installing and managing your 3ware controller,see the 3ware 9000 Series Serial ATA RAID Controller User Guide.3ware controllers use a Redundant Array of Inexpensive Disks (RAID) toincrease your storage system’s performance and provide fault tolerance(protection against data loss).The following concepts are important to understand when working with aRAID controller: