Controller Object Commands
www.3ware.com
45
commands including
add
,
del
,
show
and
set
a task. Background task
schedules have a slot id, start-day-time, duration, status attributes.
For details about setting up a schedule for background selftest tasks, see
“Setting Up a Selftest Schedule” on page 47.
Selftest
activity provides two types of selftests; UDMA (Ultra Direct
Memory Access) and SMART (Self Monitoring Analysis and Reporting).
Both self tests are checked once each day by default.
UDMA self test entails checking the current ATA bus speed (between
controller and attached disk), which could have been throttled down during
previous operations and increase the speed for best performance (usually one
level higher). Possible speeds include 33, 66, 100 and 133 Mhz (at this
writing). Note that UDMA selftest is not applicable (or required) with SATA
drives, but is left enabled by default.
SMART activity instructs the controller to check certain SMART supported
thresholds by the disk vendor. An AEN is logged to the alarms page if a drive
reports a SMART failure.
The
show selftest
command displays the current selftest background task
schedule as illustrated below. Selftests do not have a time duration since they
are completed momentarily.
//localhost> /c1 show selftest
Selftest Schedule for Controller /c1
========================================================
Slot Day Hour UDMA SMART
--------------------------------------------------------
1 Sun 12:00am enabled enabled
2 Mon 12:00am enabled enabled
3 Tue 12:00am enabled enabled
4 Wed 12:00am enabled enabled
5 Thu 12:00am enabled enabled
6 Fri 12:00am enabled enabled
7 Sat 12:00am enabled enabled
/cx add rebuild=
ddd:hh:duration
This command adds a new background rebuild task to be executed on the day
ddd
(where ddd is Sun, Mon, Tue, Wed, Thu, Fri, and Sat), at the hour
hh
(range 0 .. 23), for a duration of
duration
(range 1 .. 24) hours. A maximum of
seven rebuild tasks can be scheduled. This command will fail if no (empty)
task slot is available.
For example:
//localhost> /c1 add rebuild=Sun:16:3
adds a rebuild background task schedule to be executed on Sundays at 16
hours (4:00 PM) for a duration of 3 hours.