![]() |
![]() |
Use this command to move data located in a sequential-access storage pool. You can move data for one or more nodes, or a single node with selected filespaces. The data can be located in either a primary or copy storage pool. This command is helpful for reducing the number of volume mounts during client restore or retrieve operations by consolidating data for a specific node within a storage pool, or to move data to another storage pool. For example, you can use this command for moving data to a random-access storage pool in preparation for client restore processing.
The MOVE NODEDATA command takes two forms, depending on whether you are moving data only for selected filespaces. The syntax and parameters for each form are defined separately.
Use this command to move data for all filespaces for one or more nodes.
Privilege Class
To issue this command, you must have system privilege, unrestricted storage privilege, or restricted storage privilege for the source storage pool. If your authorization is restricted storage privilege and you intend to move data to another storage pool, you must also have the appropriate authority for the destination storage pool.
Syntax
.-,---------.
V |
>>-MOVe NODEdata----node_name-+--------------------------------->
>--FROMstgpool--=--source_pool_name----------------------------->
>--+-------------------------------------+---------------------->
'-TOstgpool--=--destination_pool_name-'
.-Type--=--ANY--------------.
>--+---------------------------+-------------------------------->
'-Type--=--+-ANY----------+-'
+-Backup-------+
+-ARchive------+
'-SPacemanaged-'
.-MAXPRocess--=--1-------------. .-Wait--=--No------.
>--+------------------------------+--+------------------+------->
'-MAXPRocess--=--num_processes-' '-Wait--=--+-No--+-'
'-Yes-'
.-RECONStruct--=--No------.
>--+-------------------------+---------------------------------><
'-RECONStruct--=--+-No--+-'
'-Yes-'
Parameters
When determining this value, consider the number of logical and physical drives that can be dedicated to this operation. To access a sequential access volume, TSM uses a mount point and, if the device type is not FILE, a physical drive. The number of available mount points and drives depends on other TSM and system activity and on the mount limits of the device classes for the sequential access storage pools that are involved in the move. Each process needs a mount point for storage pool volumes, and, if the device type is not FILE, each process also needs a drive.
To cancel a background process, use the CANCEL PROCESS command. If a background process is canceled, some files may have already been moved before the cancellation.
Examples
Task
Move all data belonging to node MARY that is stored in storage pool TAPEPOOL. Data should be moved to disk storage pool BACKUPPOOL.
move nodedata mary fromstgpool=tapepool tostgpool=backuppool
Use this command to move data for selected filespaces belonging to a single node.
Privilege Class
To issue this command, you must have system privilege, unrestricted storage privilege, or restricted storage privilege for the source storage pool. If your authorization is restricted storage privilege and you intend to move data to another storage pool, you must also have the appropriate authority for the destination storage pool.
Syntax
>>-MOVe NODEdata--node_name--FROMstgpool--=--source_pool_name--->
>--+-------------------------------------+---------------------->
'-TOstgpool--=--destination_pool_name-'
>--+-----------------------------------+------------------------>
| .-,---------------. |
| V | |
'-FIlespace--=----file_space_name-+-'
>--+---------------------------------------------+-------------->
| .-,----------------------. |
| V | |
'-UNIFILESpace--=----unicode_filespace_name-+-'
>--+-----------------------------------+------------------------>
| .-,--------------------. |
| V | |
'-FSID--=----filespace_identifier-+-'
.-Type--=--ANY--------------.
>--+---------------------------+-------------------------------->
'-Type--=--+-ANY----------+-'
+-Backup-------+
+-ARchive------+
'-SPacemanaged-'
.-MAXPRocess--=--1-------------. .-Wait--=--No------.
>--+------------------------------+--+------------------+------->
'-MAXPRocess--=--num_processes-' '-Wait--=--+-No--+-'
'-Yes-'
.-RECONStruct--=--No------.
>--+-------------------------+---------------------------------><
'-RECONStruct--=--+-No--+-'
'-Yes-'
Parameters
When determining this value, consider the number of logical and physical drives that can be dedicated to this operation. To access a sequential access volume, TSM uses a mount point and, if the device type is not FILE, a physical drive. The number of available mount points and drives depends on other TSM and system activity and on the mount limits of the device classes for the sequential access storage pools that are involved in the move. Each process needs a mount point for storage pool volumes, and, if the device type is not FILE, each process also needs a drive.
To cancel a background process, use the CANCEL PROCESS command. If a background process is canceled, some files may have already moved before the cancellation.
Examples
Task
Move data for node Tom in storage pool TAPEPOOL. Restrict movement of data to files in non-Unicode filespaces as well as Unicode filespaces \\jane\d$. Data should be moved to disk storage pool BACKUPPOOL.
move nodedata tom fromstgpool=tapepool tostgpool=backuppool filespace=* unifilespace=\\jane\d$
Task
Move all data for node sarah, from all primary sequential-access storage pools (for this example, tapepool*) to DISKPOOL.
query occupancy sarah
or
SELECT * from OCCUPANCY where node_name='sarah'
move nodedata sarah fromstgpool=tapepool1 tostgpool=DISKPOOL move nodedata sarah fromstgpool=tapepool4 tostgpool=DISKPOOL move nodedata sarah fromstgpool=tapepool5 tostgpool=DISKPOOL
Task
The following is an example of moving non-Unicode and Unicode filespaces for a node. For node NOAH move non-Unicode filespace \\servtuc\d$ and Unicode filespace \\tsmserv1\e$ that has a filespace id of 2 from sequential access storage pool TAPEPOOL to random access storage pool DISKPOOL.
move nodedata noah fromstgpool=tapepool tostgpool=diskpool filespace=\\tsmserv1\d$ fsid=2
Table 158. Commands Related to MOVE NODEDATA
| Command | Description |
|---|---|
| CANCEL PROCESS | Cancels a background server process. |
| MOVE DATA | Moves data from a specified storage pool volume to another storage pool volume. |
| QUERY ACTLOG | Displays messages from the server activity log. |
| QUERY FILESPACE | Displays information about data in filespaces that belong to a client. |
| QUERY OCCUPANCY | Displays file space information by storage pool. |
| QUERY PROCESS | Displays information about background processes. |
| QUERY STGPOOL | Displays information about storage pools. |
| QUERY VOLUME | Displays information about storage pool volumes. |