Scheduling compression jobs
Schedule compression jobs lets you compress pattern-based and age-based compression.
To schedule compression
- Create a scheduled compression:
Storage> compress schedule create new_schedule duration min \ [hour] [day_of_month] [month] [day_of_week] [node]
where new_schedule is the name of the schedule.
where duration is the duration specified in hours (1 or more).
where min is the minutes.
where hour is the hours.
where day is the day of the month.
where month is the month.
where day_of_week is the day of the week.
where node is the name of the node or you can use "
any". - Start the schedule for a given file system:
Storage> compress schedule start fs_name schedule_name resource_level algorithm
where fs_name is the name of the file system.
where schedule_name is the name of the schedule.
where resource_level is either
low,medium, orhigh.where algorithm is the file compression algorithm strength [1-9]. For example, you specify strength gzip-3 compression as "
3". - Show the scheduled compression:
Storage> compress schedule show new_schedule
- (Optional) Create a pattern for the file system.
Storage> compress pattern create fs_name pattern
where pattern is the extensions of the file names separated by "
," For example,*.arc,*.dbf,*.tmp. - (Optional) Create a modification age rule for the file system.
Storage> compress modage create fs_name mod_age
where mod_age is the modification age (age-based) specified units are in days.
- If you performed step 4 or 5, you can list the schedule details for the file system:
Storage> compress schedule list fs_name