Tivoli Storage Manager for Sun Solaris Administrator's Reference

UPDATE DRIVEMAPPING (Update Drive Mapping)

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

storage_agent_name (Required)
Specifies the name of the storage agent. Before issuing this command, define the storage agent as a server using the DEFINE SERVER command.
Note:The name used for the storage agent must match the name that was defined when the storage agent was installed.

library_name (Required)
Specifies the name of the library to which the drive is defined. This parameter is required for all drives, including stand-alone drives.
Note:Currently, this command only applies to shared SCSI libraries.

drive_name (Required)
Specifies the drive name that will be mapped to the storage agent.

DEVIce
Specifies the device name used to access the drive from the storage agent. The name the storage agent uses must be specified here.

ONLine
Specifies the drive availability for the database client.

Yes
Specifies that the drive is available for use.

No
Specifies that the drive is not available for use.

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.

Command:
update drivemapping sa1 sharelib tapedrive3 
device=mt1.0.0.1 online=no

Related Commands

Table 304. 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.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]