## 7.14.3 Recalling files with the ltfsee recall command 

The ltfsee recall  command performs selective recalls of migrated files to the local file system. This command performs selective recalls in multiple ways: 

GLYPH<SM590000> Using a recall list file 

GLYPH<SM590000> Using an IBM Spectrum Scale scan list file 

GLYPH<SM590000> From the output of another command 

GLYPH<SM590000> Using an IBM Spectrum Scale scan list file that is generated through an IBM Spectrum Scale policy and the mmapplypolicy  command 

With multiple tape libraries configured, the ltfsee recall  command requires the -l  option to specify the tape library from which to recall. When a file is recalled, the recall can occur on any of the tapes (that is, either primary or redundant copies) from the specified tape library. The following conditions are applied to determine the best replica: 

GLYPH<SM590000> The condition of the tape 

GLYPH<SM590000> If a tape is mounted 

GLYPH<SM590000> If a tape is mounting 

GLYPH<SM590000> If there are jobs that are assigned to a tape 

If conditions are equal between certain tapes, the primary tape is preferred over the redundant copy tapes. The secondary tape is preferred over the third tape. These rules are necessary to make the tape selection predictive. However, there are no automatic retries likes with transparent recalls. 

For example, if a primary tape is not mounted but a redundant copy is, the redundant copy tape is used for the recall job to avoid unnecessary mount operations. 

If the specified tape library does not have any replicas, IBM Spectrum Archive EE automatically resubmits the request to the other tape library to process the bulk recalls: 

GLYPH<SM590000> Three copies: TAPE1@Library1 TAPE2@Library1 TAPE3@Library2 

– If -l Library1 →  TAPE1 or TAPE2 

– If -l Library2 →  TAPE3 

GLYPH<SM590000> Two copies: TAPE1@Library1 TAPE2@Library1 

– If -l Library1 →  TAPE1 or TAPE2 

– If -l Library2 →  TAPE1 or TAPE2 

## The ltfsee recall command 

The ltfsee recall  command is used to recall non-empty regular files from tape. The command syntax is the same as the ltfsee migrate  command. Here are some examples of the syntax: 

GLYPH<SM590000> ltfsee recall -l <library_name> -f <recall list file> 

The <recall list file>  file includes a list of non-empty regular files to be recalled. Each line contains the file name with an absolute path or a relative path based on the working directory. 

GLYPH<SM590000> ltfsee recall -l <library_name> -s <GPFS scan list file> 

The <GPFS scan list file>  file includes the list of non-empty regular files to be recalled. Each line of this file must end with “-- <full path filename>” . 

