![]() |
![]() |
You can query, update, and delete libraries.
Task | Required Privilege Class |
---|---|
Request information about libraries | Any administrator |
You can request information about one or more libraries by using the QUERY LIBRARY command. You can request either a standard or a detailed report. For example, to display information about all libraries, issue the following command:
query library
The following shows an example of output from this command:
+--------------------------------------------------------------------------------+ |Library Library Private Scratch External | |Name Type Category Category Manager | |------- ------- -------- -------- -------- | |MANLIB MANUAL | |EXB SCSI | |3494LIB 349X 300 301 | +--------------------------------------------------------------------------------+
You can update an existing library by issuing the UPDATE LIBRARY command. To update the device names of a library, issue the UPDATE PATH command.
Task | Required Privilege Class |
---|---|
Update libraries | System or unrestricted storage |
You can update a previously defined library by issuing the UPDATE LIBRARY command.
If your system or device is reconfigured, and the device name changes, you may need to update the device name. The examples below show how you can use the UPDATE LIBRARY and UPDATE PATH commands for the following library types:
Examples:
Update the path from SERVER1 to a SCSI library named SCSILIB:
update path server1 scsilib srctype=server desttype=library device=lb4.0.0.0
Update the definition of a SCSI library named SCSILIB defined to a library client so that a new library manager is specified:
update library scsilib primarylibmanager=server2
Update the path from SERVER1 to an IBM 3494 library named 3494LIB with new device names.
update path server1 3494lib srctype=server desttype=library device=lb2.0.0.0,lb3.0.0.0,lb4.0.0.0
Update the definition of an IBM 3494 library named 3494LIB defined to a library client so that a new library manager is specified:
update library 3494lib primarylibmanager=server2
Update an ACSLS library named ACSLSLIB with a new ID number.
update library acslslib ascid=1
Update an external library named EXTLIB with a new media manager path name.
update path server1 extlib srctype=server desttype=library externalmanager=c:\server\mediamanager.exe
Update an EXTERNAL library named EXTLIB in a LAN-free configuration so that the server uses the value set for mount retention in the device class associated with the library:
update library extlib obeymountretention=yes
Task | Required Privilege Class |
---|---|
Delete libraries | System or unrestricted storage |
Before you delete a library with the DELETE LIBRARY command, you must delete all of the drives and drive paths that have been defined as part of the library and delete the path to the library. See Deleting Drives.
For example, suppose that you want to delete a library named 8MMLIB1. After deleting all of the drives defined as part of this library and the path to the library, issue the following command to delete the library itself:
delete library 8mmlib1