Controller Object Commands
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 45.
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 |
A status of “disabled” indicates that the task schedule is disabled. In this case, the controller will not use the defined schedule timeslots. If the rebuild command is entered manually, rebuilding will start within 10 to 15 minutes. It will begin automatically if a rebuild is needed and a proper spare drive is set up.
www.3ware.com | 41 |