HP StorageWorks Reference Information Storage System V1.5 Administrator Guide (T3559-96044, June 2006)

Figure 30 Ser ver process list
Adding and labeling new media (command line)
The Add Volumes wizard mentioned in Adding and labeling new media (Web interface) on page 102
gathers information to build the necessary Tivoli c ommand. The comma nd can be issued on the comma nd
line manually (for example, if the Web interface is not available).
The following command (which includes no line break) is equivalent to the procedure that was described
in the previous section:
LABEL libvol LIB.TAPE search=yes labelsource=vollist
vollist=TAPE.8,TAPE.9 overwrite=YES checkin=SCRATCH WAITTIME=60
This command causes Tivoli Storage Manager to search for media and label them according to the names
specified as vollist. It also checks in the new volumes. Use the following procedure to issue the command:
1. Open two ssh sessions to the PCC machine. Use one to observe the command.
2. In the first shell, type the command: dsmadmc –con.
The Tivoli monitoring console opens.
3. In the second shell, begin the Tivoli command line interface by typing dsmadmc and issue the
libvol command as described.
Note that the volume labels that are specified as a list are separated by commas with no spaces
between.
4. You should now see the same command and additional information in the monitoring console.
When the process is finished you should see output that looks something like this:
ANR8810I Volume TAPE.8 has been labeled in library LI B.TAPE.
ANR8810I Volume TAPE.9 has been labeled in library LI B.TAPE.
ANR8801I LABEL LIBVO LUME process 96 for library LIB.TAPE completed;
2 volume(s) labeled, 2 volume(s) checked-in.
If the library has a barcode reader, change the command to use the barcodes as volume labels:
LABEL libvolume LIB.TAPE search=yes labelsource=barcode overwrite=YES
checkin=SCRATCH
104
Backup system administration