IBM Support

ANS4007E Error processing 'filename': access to the object is denied

Troubleshooting


Problem

During an incremental backup of an HSM managed filesystem, the ANS4007E error is logged.

Cause

The common reason of error ANS4007E during the backup of an HSM managed filesystem is that the backup is done for a stub file and backing up the ACL of the stub file can trigger a recall. If the recall fails, the ANS4007E error will be displayed or logged in the dsmerror.log file
For an HSM managed filesystem which is configured to backup files before migration, under normal circumstances, the incremental backup will not select stub files or migrated files. However, the stub can be selected for backup for one of the following reasons :

  • The directory where the stub resides is renamed
  • The attribute changed
If a huge directory is renamed , the incremental backup of this huge directory can trigger massive expire as well as massive recalls. If the server cannot handle this massive recall, many ANS4007E errors will be logged in the dsmerror.log file for the files that fail to be recalled.

Environment

Tivoli Storage Manager Backup/Archive client and Space Manage Client.

Diagnosing The Problem

Below is an example of an incremental backup of an HSM managed file system which receives the error :

Normal File--> 182,779,904 /hsmtest/testfile ** Unsuccessful **
ANS1228E Sending of object '/hsmtest/testfile' failed
ANS4007E Error processing '/hsmtest/testfile': access to the object is denied

The "dsmls testfile" command would show the file as migrated. For example :

Actual Resident Resident File File
Size Size Blk (KB) State Name
182779904 4096 8 m testfile

Resolving The Problem

Dependending on the amount of error ANS1228E message, use of the below options.

  1. If there are only a few errors for a few files, do a manual recall of the files in error and resolve the issue if the recall fails. For example, recover the file from a backup copy.
  2. If this is a condition of a huge directory rename, use the "skipmigrated Yes" client option to allow backup of the resident files. After the backup is done with the resident files, you need to consider to remove the option and plan the backup of the migrated files as this can take a long time.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21392880