![3Ware 720-0186-00 Скачать руководство пользователя страница 71](http://html1.mh-extra.com/html/3ware/720-0186-00/720-0186-00_manual_3239008071.webp)
Controller Object Commands
www.3ware.com
64
/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 69.
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
adds a selftest background task 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
/c
x
show selftest
command to display the current schedule for
selftest tasks. (For details, see page 62.)
2
If any of the scheduled tasks do not match your desired schedule, use
the
/c
x
del selftest
command to remove them. (For details, see page 65.)
3
Use the
/c
x
add selftest
command to create the selftest schedule slots you
want (described above.)
4
Use the
/c
x
set selftest=enable
command to enable the schedule (this
enables all selftest schedule slots). (For details, see page 69.)
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 /c
x
set verify=enable command or the /c
x
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.