![]() |
![]() |
You can query, update, and delete paths.
By using the QUERY PATH command, you can obtain information about paths. You can request either a standard or a detailed report. This command accepts wildcard characters for both a source name and a destination name. See Administrator's Reference for information about this command and the use of wildcard characters.
For example, to display information about all paths, issue the following command:
query path
The following shows an example of the output from this command.
+--------------------------------------------------------------------------------+ |Source Name Source Type Destination Name Destination Type Online | |----------- ----------- ---------------- ---------------- ------ | |SERVER1 server TSMLIB Library Yes | |NETAPP1 Data mover DRIVE1 Drive Yes | |NETAPP1 Data mover NASLIB Library Yes | |datamover2 Data mover drive4 Drive Yes | | | +--------------------------------------------------------------------------------+
You can update an existing path by issuing the UPDATE PATH command. The examples below show how you can use the UPDATE PATH commands for the following path types:
Update the path to change the device name for a SCSI library named SCSILIB:
update path server1 scsilib srctype=server desttype=library device=/dev/lb1
Update the path to change the device name for a drive named NASDRV1:
update path nas1 nasdrv1 srctype=datamover desttype=drive library=naslib device=/dev/mt1
Task | Required Privilege Class |
---|---|
Delete paths | System or unrestricted storage |
A path cannot be deleted if the destination is currently in use. Before you can delete a path to a device, you must delete the device.
Delete a path from a NAS data mover NAS1 to the library NASLIB.
delete path nas1 naslib srctype=datamover desttype=library
Attention: If you delete the path to a device or make the path offline, you disable access to that device.