Use this command to update the device name mapping or the drive availability of a drive shared between the server and a specified storage agent. For additional information, see Administrator's Guide and TSM Managed System for SAN Storage Agent User's Guide.
Privilege Class
To issue this command, you must have system privilege or unrestricted storage privilege.
Syntax
>>-UPDate DRIVEMapping--storage_agent_name--library_name--drive_name--> >----+-------------------------+---+--------------------+------>< '-DEVIce--=--device_name--' '-ONLINE--=--+-Yes-+-' '-No--'
Parameters
Note: | The name used for the storage agent must match the name that was defined when the storage agent was installed. |
Note: | Currently, this command only applies to shared SCSI libraries. |
Examples
Task
Inform the server that TAPEDRIVE3 will be updated for the storage agent, SA1. The tape drive is in the shared library, SHARELIB, and the device name is mt1.0.0.1. Specify that the drive will be offline.
update drivemapping sa1 sharelib tapedrive3 device=mt1.0.0.1 online=no
Related Commands
Table 300. Commands Related to UPDATE DRIVEMAPPING
Command | Description |
---|---|
DEFINE DRIVE | Assigns a drive to a library. |
DEFINE DRIVEMAPPING | Defines the drive name that will be mapped to the storage agent allowing for direct storage and retrieval of data. |
DEFINE LIBRARY | Defines an automated or manual library. |
DELETE DRIVEMAPPING | Deletes the drive name that was mapped to the storage agent for direct storage and retrieval of data. |
QUERY DRIVE | Displays information about drives. |
QUERY DRIVEMAPPING | Displays the device name mapping that was created with the DEFINE DRIVEMAPPING command. |
QUERY LIBRARY | Displays information about one or more libraries. |
UPDATE DRIVE | Changes the attributes of a drive. |