Loading...

Adding Support for Lin_tape Device Driver

To support the lin_tape device driver in the SnapProtect configuration and to issue SCSI-3 persistent reserves to a tape drive whenever a reservation is attempted, use the following process:

For SCSI 3

  1. Download the lin_tape device driver on the computer on which the MediaAgent is installed as described in Select Fixes Tape drivers and software, Tape device drivers (Linux).
  2. Install the IBM lin_tape driver as described in Installing the lin_tape device driver.
  3. Ensure that the lin_tape driver is in use and not the st driver.

  4. On the dmesg log, you can verify that the lin_tape is attached at the operating system level. After the lin_tape is attached it becomes IBMtape(n) for IBM tape devices and IBMchanger(n) for the arm. Where (n) is the number of the device.

    For example: If you have three tape drives there will be IBMtape0, IBMtape1, and IBMtape2.

    The image is an example from the dmesg log and displays the lin_tape binding to one arm and one drive in a library.

  5. Depending on your setup, add the following parameter to /etc/modprobe.conf or /etc/modprobe.conf.local or if you have RHEL 6 or higher then /etc/modprobe.d/lin_tape.conf file

    options lin_tape tape_reserve_type=persistent

  6. Configure the library as described in Understanding SCSI Mappings in the Expert Storage Configuration.

For SCSI 2

  1. For RHEL 6 or higher, remove the lin_tape.conf from the /etc/modprobe.d location or you can delete the following parameter from the .conf file:

    options lin_tape tape_reserve_type=persistent

  2. Set the nReadWriteTestNoScsi3Reservation additional setting to 1 on the MediaAgent. For more information on creating the additional setting, see Add or Modify an Additional Setting.
  3. Configure the library as described in Understanding SCSI Mappings in the Expert Storage Configuration.