![3Ware 720-0104-00 Скачать руководство пользователя страница 11](http://html1.mh-extra.com/html/3ware/720-0104-00/720-0104-00_manual_3212653011.webp)
Understanding RAID Concepts and Levels
www.3ware.com
7
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
<filename>
is the name of the text file you want to execute.
Example
tw_cli -f clicommand.txt
This example executes the file
clicommand.txt
, and runs the CLI commands
included in that file.
Scripting Example
Here is an example using a text file called
info.txt,
containing the
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: