Defining libraries

Before you can use a drive, you must define the library to which the drive belongs.

Procedure

  1. Define the library by using the DEFINE LIBRARY command.

    For example, if you have an IBM TS3500 tape library, you can define a library that is named ROBOTMOUNT by using the following command:

    define library robotmount libtype=scsi 
    If you require library sharing or LAN-free data movement, see the following information:
  2. Define a path from the server to the library by using the DEFINE PATH command. When you specify the DEVICE parameter, enter the device special file name. This name is required by the server to communicate with tape drives, medium changer, and removable media devices. For more information about device special file names, see Special file names for tape devices.
    AIX operating systems
    define path server1 robotmount srctype=server desttype=library 
     device=/dev/lb0
    Linux operating
systems
    define path server1 robotmount srctype=server desttype=library 
     device=/dev/tsmscsi/lb0
    Windows operating
systems
    define path server1 robotmount srctype=server desttype=library 
     device=lb0.0.1.0