fsclean specified.

AdministrativeTasks

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

Caution

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

Precautions must be taken when using the fsclean command. 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. A fsmedinfo -lreport is run to verify all files were deleted from the media. If files still exist, the fsclean command must be repeated.

The information can be purged by the mediaID, by endtime or both. The -mor -toption is required to remove information from the trashcan. To delete the entire trashcan, use the

command with the -toption, and no time

The fsundelete command allows recovery of removed or modified copies of files as long as an entry exists in the trashcan. When fsclean is run for media, all files on that media referenced in the trashcan are no longer recoverable with fsundelete.

2-50

Operating Tasks

600716 Rev A

Page 126
Image 126
ADIC FileServ Version 4.0 600716 Rev A manual AdministrativeTasks