Chapter 2. CLI Syntax Reference
/cx 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 output from this command to a file, where it can be communicated to technical support or further studied with Linux utilities such as od(1).
In order to redirect the output you must run the following command from a command line, not from within the tw_cli shell.
tw_cli /c0 show diag > diag.txt
/cx show rebuild
9000 series controllers support background tasks and allow you to schedule a regular time when they occur.
Rebuild is one of the supported background tasks. Migrate and initialize are other background tasks that follow the same schedule as rebuild. Other background tasks for which there are separate schedules are verify and selftest. For each background task, up to 7 time periods can be registered, known as slots 1 through 7. Each task schedule can be managed by a set of commands including add, del, show and set a task. Background task schedules have a slot id,
For details about setting up a schedule for background rebuild tasks, see “Setting Up a Rebuild Schedule” on page 50.
Rebuild activity attempts to (re)synchronize all members of redundant units such as
The show rebuild command displays the current rebuild background task schedule as illustrated below.
//localhost> /c1 show rebuild Rebuild Schedule for Controller /c1
========================================================
Slot Day HourDuration Status
1 | Mon | 2:00pm | 10 | hr(s) | disabled |
2 | Thu | 7:00pm | 18 | hr(s) | disabled |
3 | - | - | - |
| disabled |
4 | - | - | - |
| disabled |
5 | - | - | - | hr(s) | disabled |
6 | Mon | 1:00am | 4 | disabled | |
7 | Sun | 12:00am | 1 | hr(s) | disabled |
46 | 3ware Serial ATA RAID Controller CLI Guide |