![]() |
![]() |
An orphaned stub file is a stub file for which a corresponding migrated file in storage is not located. If orphaned stub files exist in your file systems, the HSM client records information about these files in the orphan.stubs file during reconciliation. If you set the errorprog option in your dsm.sys file, a message is sent to the program that you specified with this option during automatic reconciliation.
Possible situations in which stub files might become orphaned include the following:
To resolve this problem, modify your dsm.sys file so your client node contacts the server to which the files migrated.
If files are no longer needed, an administrator can delete some or all of them from storage. In this case, the stub files are no longer valid and you can erase them.
Storage pool backup and recovery provides protection against media failures. However, if you cannot restore a migrated file from a migration storage pool, you can restore a backup version of the file if you used the backup-archive client. When you set the restoremigstate option to no in your dsm.opt file and you then restore a backup version of a migrated file, the file becomes a normal, resident file.
To check for orphaned files, specify yes on the checkfororphans option in your dsm.sys file. When orphaned files are located, their names are recorded in the .SpaceMan/orphan.stubs file. If you select yes, a full file system tree traversal is performed. In this instance, you cannot run the dsmautomig command in parallel with the dsmreconcile command.