MIGRATE Command

HSI Version: 

All

Purpose: 

Migrate HPSS file(s) from disk cache to lower levels of hierarchy.

Aliases: 

 

Command Format: 

mig[rate] [-h] [- L level | -l level] [-F | -f] [-P | -p] 
[-R] [-S] path ...

Options: 

-h : if specified, treats symlinks as normal files. Default is to skip symlinks

-L or -l : specifies hierarchy level from which to migrate data. The valid range is 0 (default) to 4

-F or -f : force migration even if not needed 

-R : [standard option]recursively traverse directories in the specified path(s)

-P : purge file from disk cache after migration

-S : allow staging of file if no disk data. 

Keywords: 

  

Usage Notes: 

If -F (force) is specified, the affected file(s) will be migrated regardless of normal disk residency criteria.
The -S option was added to provide a way to recover data from a second tape copy
- The underlying HPSS call applies only to open files, so note that each file to be migrated by this command will need to be opened. Use recursion and wildcards sparingly. 

- The use of this command may be restricted at some HPSS sites.  

Example: 

migrate -F my_file

Related Command(s): 

PURGE, STAGE