Turning a tape drive on and off while you mount IBM Storage Archive

How to turn a tape drive on and off when you use IBM Storage Archive Library Edition.

Before you begin

Before you turn tape drive power on or off, you must first prepare the library. Determine which of the following scenarios applies to your environment by checking the interfaces between the server PC, tape library, and the target tape drive. Then, refer to Table 1 to determine which procedure you need to use.
  • Scenario 1: The server PC connects to the target tape drive, and the target tape drive connects to the tape library. In this case, the target tape drive is used as a control path. No other tape drive is used as a control path, or if another control path is established, the control path failover feature is disabled.
  • Scenario 2: The server PC connects to the target tape drive, and the target tape drive connects to the tape library. In addition, the server PC connects to another tape drive that also connects to the tape library. The target tape drive and the other tape drive establish multiple control paths and the control path failover feature is enabled.
  • Scenario 3: The target tape drive connects only to the tape library and does not establish a control path.
In addition to these three interface and control path scenarios, the type of host bus adapter (HBA) affects how you do the tape drive power-on or power-off procedure. Refer to Table 1 for details.
Table 1. Drive firmware upgrade procedure options
HBA Type Target tape drive settings
Scenario 1
(CPF disabled)
Scenario 2
(CPF enabled)
Scenario 3
(no control path)
SAS Option A Option A Option B
Fibre Channel Option A Option B-2 Option B

Procedure

Complete the appropriate steps, based on the options that are presented in Table 1, to successfully remove, or restore power from or to a tape drive:

  1. For Option A, complete the following prerequisite and postrequisite steps:
    1. Before you turn off the tape drive, you must first unmount the tape library from the mount point. For more information, see Stopping IBM Storage Archive LE on a Linux® system.
    2. After you turn on the tape drive, you must mount the tape library to the mount point. For more information, see ltfs.
  2. For Option B, complete the following prerequisite and postrequisite steps:
    1. Before you turn off the tape drive, you must remove the target tape drive from the library inventory by using the leadm drive close command.
    2. After you turn on the tape drive, you must add the tape drive to the library inventory by using the leadm drive open command.
  3. For Option B-2, complete the following prerequisite and postrequisite steps.
    With this option, the control path automatically switches to another one when the target drive control path is cut off.
    1. Before you turn off the tape drive, you must remove the target tape drive from the library inventory by using the leadm drive close command.
    2. After you turn on the tape drive, you must add the tape drive to the library inventory by using the leadm drive open command.
    Attention: Do not turn off both tape drives that establish the primary and alternative control paths simultaneously or the control path to the tape library is lost.