![]() |
![]() |
You must have root user authority to use this command.
The dsmmigundelete command recreates deleted stub files for migrated files, and creates stub files for premigrated files for which an original file does not exist on your local file system. The file then becomes a migrated file.
When you delete a stub file or an original copy of a premigrated file from your local file system, the corresponding migrated or premigrated file is marked for expiration when reconciliation runs again.
Syntax
>>-dsmmigundelete--+---------+--+---------------------+-------->< '- option-' | .-----------------. | | V | | '--- filesystemspec-+-'
Parameters
Enter the dsmmigundelete command with the expiring option if you ran reconciliation since the files were deleted.
If you do not use the expiring option, the HSM client recreates a stub file for a migrated file if a corresponding stub file does not exist on your local file system and the migrated file was not marked for expiration. Or, it creates a stub file for a premigrated file if a corresponding original file does not exist on your local file system, and the premigrated file was not marked for expiration.
Enter the dsmmigundelete command without the expiring option if you did not run reconciliation since the files were deleted.
Examples
Task | Command |
---|---|
Recreate stub files for migrated files that are marked for expiration which were accidentally deleted from the /home file system, and for files that are not marked for expiration. Reconciliation was run since the files were deleted. | dsmmigundelete -expiring /home |
Recreate stub files for migrated files in the /home file system that are not marked for expiration. Reconciliation was not run since the files were deleted. | dsmmigundelete /home |