Controller Object Commands
/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.
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.
Setting Up a Rebuild Schedule
Setting up a rebuild schedule commands in addition to /cx
requires several steps, and several different CLI add rebuild.
To set up the rebuild schedule you want to use, follow this process:
1Use the /cx show rebuild command to display the current schedule for rebuild tasks. (For details, see page 41.)
2If any of the scheduled tasks do not match your desired schedule, use the /cx del rebuild command to remove them. (For details, see page 47.)
3Use the /cx add rebuild command to create the rebuild schedule slots you want (described above.)
4Use the /cx set rebuild=enable command to enable the schedule (this enables all rebuild schedule slots). (For details, see page 48.)
Warning: If all time slots are removed, be sure to also disable the schedule. Otherwise the applicable background task will never occur.
www.3ware.com | 45 |