Using An Input File To Execute A Script; Understanding Raid Concepts And Levels - 3Ware 720-0104-00 Manual

Serial ata raid controller
Table of Contents

Advertisement

Example
tw_cli info c0 u0
This example gets information for unit0 of controller0. For complete
information about the info commands, see "Info Commands" on page 18.

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.
Syntax
tw_cli -f <filename>
Where
Example
tw_cli -f clicommand.txt
This example executes the file
included in that file.
Scripting Example
Here is an example using a text file called
following two commands:
info c0 u0
info c1 u0
To run the script, enter:
tw_cli -f info.txt
3ware CLI displays information about unit 0 on controller 0 and unit 0 on
controller 1.

Understanding RAID Concepts and Levels

The next few pages introduce RAID concepts you may find useful. For
additional 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) to
increase your storage system's performance and provide fault tolerance
(protection against data loss).
The following concepts are important to understand when working with a
RAID controller:
www.3ware.com
is the name of the text file you want to execute.
<filename>
clicommand.txt
Understanding RAID Concepts and Levels
, and runs the CLI commands
containing the
info.txt,
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 series

Table of Contents