Tivoli Header

Tivoli Space Manager for UNIX Using the Hierarchical Storage Management Clients

dsmmigundelete

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.

Note:
The dsmmigundelete command does not support hardlinked files. If you attempt to recreate a stub file for a hardlinked file, a stub file is not recreated unless all of the files that are hardlinked together are deleted from your local file system. When one file in a set of hardlinked files is migrated, all of the hardlinked files in the set become stub files. When the dsmmigundelete command recreates a stub file for a hardlinked file, the stub file has the same name as the file that was originally migrated. Stub files are not recreated for any other files that were previously in the hardlinked set of files.

Syntax

>>-dsmmigundelete--+---------+--+---------------------+--------><
                   '- option-'  | .-----------------. |
                                | V                 | |
                                '--- filesystemspec-+-'
 
 

Parameters

-Expiring or -e
Recreates a stub file for a migrated file if a corresponding stub file does not exist on your local file system, whether the migrated file was marked for expiration or not. Or, it creates a stub file for a premigrated file if a corresponding original file does not exist on your local file system, whether the premigrated file was marked for expiration or not.

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.

filesystemspec
The name of the file system for which you want to recreate deleted stub files and create stub files for premigrated files that were deleted from your local file system. The default is all file systems for which space management is active. You can specify more than one file system name. If you specify several file system names, separate each name with one or more blank spaces.

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


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]