Plain Text
The problem. Only one drive in the L25 robot was visible and when going through the
device configuration wizard, the second drive was greyed out and a message said
"device is connected to a remote host".


[root@danu bin]#./tpautoconf -t
TPAC45 SEAGATE ULTRIUM06242-XXX1452 HM101GV -1 -1 -1 -1 /dev/rmt/0cbn - TapeAlert enabled
TPAC45 SEAGATE ULTRIUM06242-XXX1452 HM101JT -1 -1 -1 -1 /dev/rmt/1cbn - TapeAlert enabled

[root@danu bin]#./tpconfig -d
Index DriveName              DrivePath                Type    Shared   Status
***** *********              **********               ****    ******   ******
  1   SEAGATEULTRIUM06242-XX /dev/rmt/0cbn            hcart    No       UP
        TLD(0) Definition       DRIVE=1

Currently defined robotics are:
  TLD(0)     robotic path = /dev/sg/c2t0l0,
             volume database host = danu

[root@danu bin]#./sgscan
#
#WARNING: detected StorEdge Network Foundation connected devices not in
#         SG configuration file:
#
#    Device World Wide Port Name 21000004cfb589bf
#    Device World Wide Port Name 21000004cf9fdc88
#
#    See /usr/openv/volmgr/MediaMgr_DeviceConfig_Guide.txt chapter
#    "Special configuration for "Sun StorEdge Network Foundation" HBA/Driver"
#    for information on how to use sg.build and sg.install to
#    configure these devices
#

/dev/sg/c0t6l0: Cdrom: "TOSHIBA DVD-ROM SD-M1401"
/dev/sg/c2t0l0: Changer: "M4 DATA MagFile"
/dev/sg/c2t1l0: Tape (/dev/rmt/0): "SEAGATE ULTRIUM06242-XXX"
/dev/sg/c2t2l0: Tape (/dev/rmt/1): "SEAGATE ULTRIUM06242-XXX"



The fix:

Run /opt/openv/volmgr/bin/tpconfig

                Drive Configuration

        1) Add
        2) Delete
        3) Update
        4) List Configuration
        5) Help
        6) Quit - return to main menu

Enter option: 1

Enter drive name or  to use default (Drive0): SEAGATEULTRIUM06242-02

         1) 1/4" Cartridge (qscsi)
         2) 1/2" Cartridge (hcart)
         3) 1/2" Cartridge 2 (hcart2)
         4) 1/2" Cartridge 3 (hcart3)
         5) 4mm Cartridge (4mm)
         6) 8mm Cartridge (8mm)
         7) 8mm Cartridge 2 (8mm2)
         8) 8mm Cartridge 3 (8mm3)
         9) DLT Cartridge (dlt)
        10) DLT Cartridge 2 (dlt2)
        11) DLT Cartridge 3 (dlt3)
        12) DTF Cartridge (dtf)
        13) Optical Disk (odisk)

Enter Drive Type (1 - 13): 2
Enter NonRewindDrivePath: /dev/rmt/1cbn
nter drive status - (u)p or (d)own: u

Do you want to configure this drive in a robot? (y/n) n:
Drive being added to:
  TLD(0)     robotic path = /dev/sg/c2t0l0,
             volume database host = danu

Enter TLD robot drive number: 2

Drive name SEAGATEULTRIUM06242-02 has been added

*************Drive Information****************

        Drive Name              SEAGATEULTRIUM06242-02
        Index                   0
        NonRewindDrivePath      /dev/rmt/1cbn
        Type                    hcart
        Status                  UP
        Shared Access           No
        TLD(0) Definition       DRIVE=2

Press any key to continue


                Drive Configuration

        1) Add
        2) Delete
        3) Update
        4) List Configuration
        5) Help
        6) Quit - return to main menu


Enter option: 4

Index DriveName              DrivePath                Type    Shared   Status
***** *********              **********               ****    ******   ******
  0   SEAGATEULTRIUM06242-02 /dev/rmt/1cbn            hcart    No       UP
        TLD(0) Definition       DRIVE=2
  1   SEAGATEULTRIUM06242-XX /dev/rmt/0cbn            hcart    No       UP
        TLD(0) Definition       DRIVE=1

Currently defined robotics are:
  TLD(0)     robotic path = /dev/sg/c2t0l0,
             volume database host = danu

Press any key to continue