Administrative Tasks

Trashcan Cleanup

Run this command only if the archived file systems are newer than the restored database and the journal files have been preserved. The restore.pl command will not replace the old journal, so no other preparatory work should be needed if the journal file has been preserved. The journal file is located in $FS_HOME/journal/fsdbjrnl.

Step 3. On the other hand, if the database was lost, but the current journal file is available, the database can be brought up-to-date by running fs_recover.

Another command that must be routinely run is fsclean. The fsclean command purges the FileServ trashcan information.

Caution

Using the fsclean command eliminates the ability to recover files from the trashcan with the fsundelete command!

Precautions must be taken when using the fsclean command. The trashcan serves as the repository for references to media data that is deleted from the disk or modified. Each time a file is modified, its tape copy becomes invalid. An entry is created in the trashcan for the older version of the file. Also, when files (containing current file copies on media) are removed (UNIX rm), the trashcan receives an entry for each removed file.

Because of asynchronous processing, an fsclean performed immediately after file removal may not completely clean the media.

1-20

System Tasks

600716 Rev A

Page 36
Image 36
ADIC FileServ Version 4.0 600716 Rev A manual Trashcan Cleanup