Use this command to move files from one storage pool volume to other storage pool volumes.
You can move files from a primary storage pool volume only to volumes in the same or a different primary storage pool. You can move files from a copy storage pool volume only to volumes in the same copy storage pool. You can move files from an active-data pool volume only to volumes in the same active-data pool.
In addition to moving data from volumes in storage pools that have NATIVE or NONBLOCK data formats, you can use this command to move data from volumes in storage pools that have NDMP data formats (NETAPPDUMP, CELERRADUMP, or NDMPDUMP). The target storage pool must have the same data format as the source storage pool. If you are moving data out of a storage pool for the purpose of upgrading to new tape technology, the target primary storage pool must be associated with a library that has the new device for the tape drives.Tivoli® Storage Manager supports backend data movement for NDMP images.
You cannot move data into or out of a storage pool that is defined with a CENTERA device class.
If you are moving files to volumes in the same storage pool, sufficient space must be available on the volumes. Otherwise, the operation fails.
When you move files from a sequential access volume, multiple sequential access volume mounts are required to move files that span volumes.
When you move files from a random access volume, the server erases any cached copies of files on the volume.
After a move data operation completes, a volume might not be empty if one or more files cannot be relocated to another volume because of input/output errors on the device or because errors were found in the file. If needed, you can delete the volume using the option to discard any data. The files with I/O or other errors are then deleted.
You can use this command to move files from an offsite volume in a copy storage pool or active-data pool. Because the offsite volume cannot be mounted, the server obtains the files that are on the offsite volume from either a primary storage pool or another copy storage pool. These files are then written to the destination volumes in the original copy storage pool or active-data pool.
During the data movement process, active-data pools cannot be used to obtain data.
If you run the MOVE DATA command on an offsite volume that contains collocated data, it might be necessary to issue the MOVE DATA command multiple times to move all of the data out of the volume. For example, if you are using filespace collocation groups with an offsite volume that contains filespaces in a collocation group and filespaces that are not in the group, you must issue two MOVE DATA commands. Each MOVE DATA command moves the data for a single collocated or non-collocated group of files.
Do not use the MOVE DATA command if a restore process (RESTORE STGPOOL or RESTORE VOLUME) is running. The MOVE DATA command might cause the restore to be incomplete. If you issue the MOVE DATA command during a restore operation and you receive an error message indicating that one or more files are locked and cannot be moved, you must reissue the MOVE DATA command after the restore operation completes in order to move any remaining files.
To issue this command, you must have system privilege, unrestricted storage privilege, or restricted storage privilege for the storage pool to which the volume belongs and also for the new storage pool, if one is specified.
>>-MOVe Data--volume_name--+-----------------------+------------> '-STGpool--=--pool_name-' .-SHREDTONOshred--=--No------. >--+----------------------------+-------------------------------> '-SHREDTONOshred--=--+-No--+-' '-Yes-' (1) (2) .-RECONStruct--=--No or Yes---------. >--+-----------------------------------+------------------------> '-RECONStruct--=--+-No--+-----------' '-Yes-' .-Wait--=--No------. >--+------------------+---------------------------------------->< '-Wait--=--+-No--+-' '-Yes-'
Possible values are:
The server displays messages that are created from the background process either in the activity log or the server console, depending on where messages are logged.
To cancel a background process, use the CANCEL PROCESS command. If a MOVE DATA background process is canceled, some files may have already moved before the cancellation.
move data stgvol.1 stgpool=8mmpool
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
DEFINE VOLUME | Assigns a volume to be used for storage within a specified storage pool. |
DELETE VOLUME | Deletes a volume from a storage pool. |
MOVE DRMEDIA | Moves DRM media on-site and off-site. |
QUERY ACTLOG | Displays messages from the server activity log. |
QUERY DRMEDIA | Displays information about disaster recovery volumes. |
QUERY PROCESS | Displays information about background processes. |
QUERY SHREDSTATUS | Displays information about data waiting to be shredded. |
SHRED DATA | Manually starts the process of shredding deleted data. |