5. If you are using a version of Tivoli Storage Manager earlier than Version 6.3, you must  manually define the path of the robot and all of its subordinate drives, as shown in  Example 13-6. 6. Label the virtual tapes. Example 13-7 shows the  label libvol  command that is required  for label creation. Tip:  If the  AUTOLabel = yes  parameter is defined in the IBM Spectrum Protect library  definition, you can run the  checkin labelsource=barcode  command. Important:  The HBA wrapper files that are included with the IBM Spectrum Protect  server package (except on AIX) provide communication with the virtual library. If  AIX:/usr/lib/libhbaapi.a  (provided by AIX with the HBAAPI installation) is not  correctly configured, the following error might occur: ANR1803W SAN discovery module /opt/tivoli/tsm/server/bin/dsmqsan is not  installed correctly. ANR1791W HBAAPI wrapper library libHBAAPI.a(shr_64.o) failed to load or is  missing. ANR1792W HBAAPI vendor library failed to load or is missing. ANR8396E PERFORM LIBACTION: Library PTLIBRARY is not capable of discovering  the drives that it owns. To resolve this error, ensure that the SAN discovery module can run, has the setuid bit  turned on, and is owned by root. The SAN discovery module is called  dsmqsan , and  must be in the server or storage agent executable directory, as shown here: chown root:system /opt/tivoli/tsm/server/bin/dsmqsan chmod 4755 /opt/tivoli/tsm/server/bin/dsmqsan tsm: SERVER1>label libvol PTLIBRARY checkin=scratch search=yes labelsource=barcode ANS8003I Process number 8 started. tsm: SERVER1>def path SERVER1 PTLIBRARY srct=SERVER destt=library dev=/dev/smc0 ANR1720I A path from SERVER1 to PTLIBRARY has been defined. tsm: SERVER1>q path Source Name Source Type Destination Destination On-Line Name Type ----------- ----------- ----------- ----------- ------- SERVER1 SERVER PTLIBRARY LIBRARY Yes tsm: SERVER1>def drive PTLIBRARY drive1 ANR8404I Drive DRIVE1 defined in library PTLIBRARY. tsm: SERVER1>def path SERVER1 DRIVE1 srct=SERVER destt=drive library=PTLIBRARY  device=/dev/rmt0 ANR1720I A path from SERVER1 to PTLIBRARY DRIVE1 has been defined. Example 13-6 Manually defining the virtual tapes drives Example 13-7 The label libvol command Drives definition:  Define the names for the drive in Tivoli Storage Manager that  represent the VTL. 198  IBM ProtecTIER Implementation and Best Practices Guide