3ware HTML Bookshelf



3ware® CLI Guide > CLI Syntax Reference > Controller Object Commands > /cx add selftest=ddd:hh

/cx 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].
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 /cx show selftest command to display the current schedule for selftest tasks.
2
3
Use the /cx add selftest command to create the selftest schedule slots you want (described above.)
4
Use the /cx set selftest=enable command to enable the schedule (this enables all selftest schedule slots).

Copyright AMCC 2004-2008
To contact Support, log in at https://www.3ware.com

www.3ware.com
1-858-535-6517
1-800-840-6055