
Chapter 3. Legacy CLI Syntax Reference
108
3ware 9000 Series Serial ATA Controller CLI Guide
sched selftest
cid
add d
day
h
hour
This command adds a new background selftest task to be executed on day
(range 0 .. 6, where Sunday is zeroth day of the week), at hour (range 0 .. 23).
Notice that selftest runs to completion and as such no duration is provided.
This command fails if no (empty) slot is available.
For example:
$ tw_cli sched selftest c1 add d0 h16
Adds a selftest background task to be executed on Sundays at 4:00 PM.
Note:
The new schedule is added to the first available slot. Events do not
need to be added in sequential order. Also the selftests are completed almost
sched selftest
cid
remove
slot_id
This command removes (or unregisters) the selftest background task in slot
slot_id.
For example:
//localhost> tw_cli sched selftest c1 remove 3
Removes rebuild selftest task in slot 3.
Warning:
If all timeslots are removed, be sure to also disable the
schedule. Otherwise the applicable background task will never
occur
sched selftest
cid
enable
selftest_task_id
This command enables a particular selftest_task (UDMA or SMART).
Selftest_task_id s0 is interpreted as UDMA; Selftest_task_id s1 is interpreted
as SMART.
Note:
When enabling the verify schedule you must also remember to also
enable the autoverify setting for the arrays to be verified.
For example:
//localhost> tw_cli sched selftest c1 enable s0
Enables UDMA selftest on controller c0.