![]() |
![]() |
Use this command to update a path definition.
Privilege Class
To issue this command you must have system privilege or unrestricted storage privilege.
Syntax
When the destination is a drive |
>>-UPDate PATH--source_name--destination_name-------------------> >--SRCType--=--+-DATAMover-+--DESTType--=--DRive----------------> '-SERVer----' >--LIBRary--=--library_name--+------------------------+---------> '-DEVice--=--device_name-' >--+--------------------+--+------------------------------+---->< '-ONLine--=--+-Yes-+-' '-DIRectory--=--directory_name-' '-No--' |
Syntax
When the destination is a library |
>>-UPDate PATH--source_name--destination_name-------------------> >--SRCType--=--+-DATAMover-+--DESTType--=--LIBRary--------------> '-SERVer----' >--+-------------------------------+--+--------------------+--->< | (1) | '-ONLine--=--+-Yes-+-' +-DEVice--=--device_name--------+ '-No--' '-EXTERNALManager--=--path_name-' |
Notes:
Parameters
The source uses the device name to access the drive or library. See Table 324 for examples.
Table 324. Examples of Device Names
Source to destination | Example |
---|---|
Server to a drive (not a FILE drive) | mt3 |
Server to a library | lb4.1 |
Storage agent to a drive (not a FILE drive) | mt3 |
Storage agent to a drive when the drive is a logical drive in a FILE library | FILE |
NAS data mover to a library | mc0 |
NAS data mover to a drive | rst0l |
sysconfig -t
Use this command to determine the device name for a library:
sysconfig -m
The source and the destination must both be available to use the path. For example, if the path from a data mover to a drive is online, but either the data mover or the drive is offline, you cannot use the path.
Attention: If the path to a library is offline, the server will not be able to access the library. If the server is halted and restarted while the path to the library is offline, the library will not be initialized. See Administrator's Guide for additional information.
The directory name identifies the location where the storage agent reads and writes the files that represent storage volumes for the FILE device class that is associated with the FILE library. The default value for DIRECTORY is the directory of the server at the time the command is issued, unless the DSMSERV_DIR environment variable has been set. In most cases, the default value for DIRECTORY will not be useful because the directory location can vary among systems accessing the same data on the SAN.
Use a naming convention that allows you to associate the directory with a particular physical drive. This can help ensure that your configuration is valid for sharing the FILE library between the server and storage agent. If the storage agent is on a Windows NT or Windows 2000 system, use a universal naming convention (UNC) name.
For information about the DSMSERV_DIR variable, refer to Quick Start.
Examples
Task
Update a path from a data mover that is a NAS file server to the drive TAPEDRV2 that the data mover uses for backup and restore operations. In this example, the NAS data mover is NAS1, the library is NASLIB, and the device name for the drive is rst0l.
Related Commands
Table 325. Commands Related to UPDATE PATH
Command | Description |
---|---|
DEFINE LIBRARY | Defines an automated or manual library. |
DEFINE PATH | Defines a path from a source to a destination. |
DELETE PATH | Deletes a path from a source to a destination. |
QUERY PATH | Displays information about the path from a source to a destination. |