AMCC 9500S User Manual
Chapter 2. CLI Syntax Reference
52
3ware Serial ATA RAID Controller CLI Guide
/c
x
add selftest=
ddd:hh
This command adds a new background selftest task to be executed 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 tasks can be scheduled. This
command will fail if no (empty) task slot is available.
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 tasks can be scheduled. This
command will fail if no (empty) task slot is available.
Example:
//localhost> /c1 add selftest=Sun:16
adds a selftest background task schedule to be executed on Sundays at 16
hours (4:00 PM).
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.
commands in addition to /cx add selftest.
To set up the selftest schedule you want to use, follow this
process:
process:
1
Use the /cx show selftest command to display the current schedule for
selftest tasks. (For details, see page 49.)
selftest tasks. (For details, see page 49.)
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 53.)
the /cx del selftest command to remove them. (For details, see page 53.)
3
Use the /cx add selftest command to create the selftest schedule slots you
want (described above.)
want (described above.)
4
Use the /cx set selftest=enable command to enable the schedule (this
enables all selftest schedule slots). (For details, see page 54.)
enables all selftest schedule slots). (For details, see page 54.)
Note:
If you do not enable autoverify for units or start a verification manually, your
verify schedule will not run, even if it is enabled with the
/cx set verify=enable command.
/cx set verify=enable command.
Warning:
If all time slots are removed, be sure to also disable the schedule.
Otherwise the applicable background task will never occur