AdministrativeTasks

Cleanup Policy

Cleanup policy is used to remove file data from disk. The

 

number of files removed is based on the available disk space

 

requested for a file system. When the cleanup policy is run,

 

each file that is a disk data truncation candidate is assigned a

 

weight. This weight is a factor in determining to remove one

 

particular disk file over another.

 

A disk file becomes a candidate for cleanup if it exhibits the

 

following characteristics:

 

• The required number of copies are stored to media

 

• The file attributes are not set for exclusion from cleanup

 

processing

 

• The file is idle on disk for its mintime interval

 

When cleanup policy is applied, file data is truncated beginning

 

with files of the highest weight and continuing down the list.

 

Cleanup policy application stops after the file system reaches its

 

specified free space percentage or when the list is exhausted. If

 

the list is exhausted before the specified free space is reached,

 

the returned status indicates this as a failure to reach the

 

required percentage fill level.

 

To obtain more free space, additional files must be made

 

eligible for truncation and the cleanup policy must be rerun.

 

Files are made available by reducing relevant mintime values

 

(either on a DataClass group or on specific files), or by ignoring

 

the mintime check by executing the policy with a force option.

 

Generating fsstore commands for disk-only files also makes

 

additional files available for disk truncation. The cleanup policy

 

is initiated on a file-system basis with the fspolicy -t

 

command.

2-34

Operating Tasks

600716 Rev A

Page 110
Image 110
ADIC FileServ Version 4.0 600716 Rev A manual Cleanup Policy