UPDATE LIBRARY (Update a manual library)
Use this syntax to update a manual library.
Privilege class
To issue this command, you must have system privilege or unrestricted storage privilege.
Syntax
Parameters
- library_name (Required)
- Specifies the name of the library to be updated.
- RESETDrives
- Specifies whether the server preempts a drive reservation with persistent reserve when the
server is restarted or when a library client or storage agent reconnection is established.

If persistent reserve is not supported, the server completes a reset of the
path to the target device.
If persistent reserve is not supported, the server
is not able to reset the path to the target device.Support for persistent reservation has the following limitations:- If you are using the IBM Storage Protect device driver, persistent reserve is only supported on some tape drives. See Technote 1470319 for details.
- If you are using the IBM® device driver, persistent reserve must be enabled at the device driver level. See the IBM Tape Device Drivers Installation and User's Guide for information about driver configuration.
- If you are using a virtual tape library that is emulating a supported drive, it might not support persistent reserve.

- Yes
- Specifies that drive preemption through persistent reserve or target reset are used.
- No
- Specifies that drive preemption through persistent reserve or target reset are not used. The RESETDRIVES parameter must be set to YES in a clustered environment when SHARED=NO.
- Yes
- Specifies that drive preemption through persistent reserve is used.
- No
- Specifies that drive preemption through persistent preserve is not used.
Note: A library manager is not able to break a drive reservation if the system that has the drive reservation is not configured to use persistent reservation. - AUTOLabel
- Specifies
whether the server attempts to automatically label tape
volumes. This parameter is optional.
To use this option, you must check in the tapes with CHECKLABEL=BARCODE on the CHECKIN LIBVOLUME command.
- No
- Specifies that the server does not attempt to label any volumes.
- Yes
- Specifies that the server labels only unlabeled volumes.
- OVERWRITE
- Specifies that the server attempts to overwrite an existing label. The server overwrites existing labels only if both the existing label and the bar code label are not already defined in any server storage pool or volume history list.
