Controller Object Commands
www.3ware.com
68
/c
x
add selftest=
ddd:hh
This command adds a new task slot to the Selftest Task Schedule on the day
ddd
(where ddd is Sun, Mon, Tue, Wed, Thu, Fri, and Sat), at hour
hh
(range 0 .. 23). Notice that selftest runs to completion and as such no duration
is provided. A maximum of seven selftest task slots can be included in the
schedule. This command will fail if no (empty) task slot is available.
In order to run at the specified times, selftests must be enabled, using the
command “/cx set selftest=enable|disable [task=UDMA|SMART]” on
page 76.
Note:
Adding self tests to the schedule is different from adding slots to the
rebuild and verify schedules. Adding a self-test directly schedules the test, as
well as defining a time slot during which the task can occur.
Example:
//localhost> /c1 add selftest=Sun:16
Adding scheduled verify to slot 7 for [Sun, 4:00PM] ... Done.
In this example, a selftest background task is scheduled to be executed on
Sundays at 16 hours (4:00 PM).
Setting Up a Selftest Schedule
Setting up a selftest schedule requires several steps, and several different CLI
commands in addition to
/cx add selftest.
To set up the selftest schedule you want to use, follow this
process:
1
Use the
/cx show selftest
command to display the current schedule for
selftest tasks. (For details, see page 66.)
2
If any of the scheduled tasks do not match your desired schedule, use
the
/cx del selftest
command to remove them. (For details, see page 69.)
3
Use the
/cx add selftest
command to create the selftest schedule slots you
want (described above.)
Note:
If you do not enable autoverify for units or start a verification manually, no
verifies will run during your verify task schedule, even if the verify schedule is
enabled with the /cx set verify=enable command or the /cx set verify=advanced.
Warning:
If all time slots are removed from the verify task schedule, be sure to
also disable the schedule. Otherwise verify tasks will never occur.
Summary of Contents for 720-0192-00
Page 3: ......