![]() |
![]() |
You can label volumes with the LABEL LIBVOLUME command. The following example demonstrates using the LABEL LIBVOLUME command to label tapes for a manual library and for an automated library. Assume the automated device is attached to SCSI address 4, and the manual device is attached to SCSI address 5. You want to insert media into the device's entry/exit ports and you want the device's bar code reader to read bar code labels and overwrite existing labels with the information on the bar code label.
Automated Library Device:
label libvolume storagelibname overwrite=yes labelsource=barcode
If the server is not available, issue the following command:
dsmlabel -drive=mt3.0.0.0,116 -drive=mt4.0.0.0,117 -library=lb5.0.0.0 -overwrite -keep
Manual Library Device:
label libvolume storagelibname overwrite=yes labelsource=barcode
label libvolume storagelibname volname
If the server is not available, issue the following command:
dsmlabel -drive=mt5.0.0.0