eeadm save
Saves the name of empty files, empty directories, and symbolic links on the tape pool, or pools.
The commands can be used with the mmapplypolicy command by specifying the
command name and command options in the
EXEC
and OPTS
statements
in the policy file, as in the following example:
RULE EXTERNAL POOL 'tape_tier'
EXEC '/opt/ibm/ltfsee/bin/eeadm'
OPTS '-p MyPool1@Lib1,MyPool2@Lib2'
The mmapplypolicy command first identifies the files that match the
LIST
rule for the eeadm list command or the
ltfseesave
command, and then passes the list of files to the command in the
EXEC
statement. The EXEC
statement then initiates the data
movement between the tiers.
Alternatively, you can create the list of files manually and run the command by specifying the list as <inputfile>.
Syntax
- eeadm save <inputfile> -p <list_of_pools> [OPTIONS]
- eeadm list <inputfile> --save -p <list_of_pools> [OPTIONS]
- ltfseesave <inputfile> -p <list_of_pools> [OPTIONS]
Return codes
- 0 (zero)
- The operation completed successfully for all of the specified files.
- Nonzero
- The operation failed for all or some of the specified files.
Examples
eeadm save CANDIDATES.LST -p MyPool1
eeadm save CANDIDATES.LST -p MyPool1@MyLibrary1,MyPoolB@MyLibrary2
find . -type f -size 0 | eeadm save -p MyPool
find . -type d -empty | eeadm save -p MyPool