When taking place concurrent with a hot catalog recovery, an image cleanup may delete newly restored files and folders.

Problem

During a hot catalog recovery, image cleanup may run and will  'cleanup' newly restored .f files.

Error Message

At a VERBOSE level of 5, the bpdbm log will show image cleanup finishing and NOT deleting any files:

17:38:35.483 [10726] <4> db_error_add_to_file: deleted 0 expired records, compressed 0, tir removed 0, deleted 0 expired copies
17:38:35.489 [10726] <4> ImageDelete::~ImageDelete: deleted 0 expired records, compressed 0, tir removed 0, deleted 0 expired copies


Review of an ls -lRa or dir /S of the images directory will show that the images that were restored are no longer there.

Upon further review of the bpdbm log it can be noted that the cleanup process actually deleted numerous "unused" <ctime> subdirectories:
17:38:31.436 [10726] <2> ImageDelete::delete_unneeded_timestamp_dirs: Found 55, deleted 54
17:38:31.450 [10726] <2> ImageDelete::delete_unused_reserved_images: Deleting unused reserved images ...
17:38:31.470 [10726] <2> ImageDelete::delete_unused_reserved_images: Successfully expired unused reserved images
17:38:31.470 [10726] <2> ImageDelete::delete_unused_ghost_images: Deleting unused ghost images ...

Cause

This issue is caused by a defect that allows image cleanup to run while a hot catalog recovery is in process. 

Solution

The formal resolution for this issue (Etrack 3286467) is included in the following releases:

  • NetBackup 7.6 GA
  • NetBackup 7.5 maintenance release 7 (7.5.0.7)

These releases are now available - more information and download information is available at the following link:
 http://go.symantec.com/nb

Workaround:
The touchfile  /usr/openv/netbackup/bin/NOexpire (UNIX) or <install_path>NetBackup\bin\NOexpire (Windows) can be put in place to prevent image expiration.


Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)