Forum Discussion

arjun7's avatar
arjun7
Level 4
11 years ago

tape drive status

1. How to identify the tape is struck in tape drive. if possible give the output.

  • Like MPH999 said, but in a different way, your going to have load operation errors in the detailed status of the failed job. NetBackup doesn't know what this error means, but that a robotic/dive error is being has occurred. 

    Robtest will be a great way to see whats in a drive, and might even return a error as well, but ultimately looking at the physical robot/drive and web interface for the library will provide what information your looking for.

3 Replies

  • You can;t from NBU really - you will just see failure when it tries to unload.

    You could use robtest to try and unload :

    /usr/openv/volmgr/bin/robtest

    Select robot number

    From robtest run s d

    You will see the drives, find the drive with the tape and check the slot number it says the tape belongs to, also check the drive number

    Then

    m d1 s2

    That command would unload the tape in drive 1, back to slot 2  - you put in the correct numbers to match the drive number to the slot

    If that fails, you have some 'hardware ' issue

    If it works, then run an inventory in NBU to update the nbu inventory

  • Eg

    root@nbmaster00 bin $ robtest
    Configured robots with local control supporting test utilities:
      TLD(0)     robotic path = /dev/sg2

    Robot Selection
    ---------------
      1)  TLD 0
      2)  none/quit
    Enter choice: 1

    Robot selected: TLD(0)   robotic path = /dev/sg2

    Invoking robotic test utility:
    /usr/openv/volmgr/bin/tldtest -rn 0 -r /dev/sg2

    Opening /dev/sg2
    MODE_SENSE complete
    Enter tld commands (? returns help information)
    s d
    drive 1 (addr 1) access = 1 Contains Cartridge = yes
    Source address = 1024 (slot 1)
    Barcode = E01001L4
    drive 2 (addr 2) access = 1 Contains Cartridge = no
    drive 3 (addr 3) access = 1 Contains Cartridge = no
    drive 4 (addr 4) access = 1 Contains Cartridge = no
    READ_ELEMENT_STATUS complete
    m d1 s1
    Initiating MOVE_MEDIUM from address 1 to 1024
    MOVE_MEDIUM complete

  • Like MPH999 said, but in a different way, your going to have load operation errors in the detailed status of the failed job. NetBackup doesn't know what this error means, but that a robotic/dive error is being has occurred. 

    Robtest will be a great way to see whats in a drive, and might even return a error as well, but ultimately looking at the physical robot/drive and web interface for the library will provide what information your looking for.