You can run reallocation scans according to a schedule. The schedule you create replaces any interval you specified when you entered the reallocate start command or the reallocate start -A command.
If the reallocation scan job does not already exist, use reallocate start first to define the reallocation scan.
-s schedule is a string with the following fields:
minute hour day_of_month day_of_week
A wildcard character (*) indicates every value for that field. For example, a * in the day_of_month field means every day of the month. You cannot use the wildcard character in the minute field.
You can enter a number, a range, or a comma-separated list of values for a field. For example, entering “0,1” in the day_of_week field means Sundays and Mondays. You can also define a range of values. For example, “0-3” in the day_of_week field means Sunday through Wednesday.
pathname is the path to the LUN, file, or volume for which you want to create a reallocation scan schedule.
aggr_name is the name of the aggregate for which you want to create a reallocation scan schedule.
The following example schedules a LUN reallocation scan for every Saturday at 11:00 PM. reallocate schedule -s “0 23 * 6” /vol/myvol/lun1