Forum Discussion

Iwan_Tamimi's avatar
9 years ago

Tape Drive is not assigned to the media server

I have 4 tape drive on media server was running fine before but one day 1 particular drive never been used anynmore by the backup. Then I check like the following: 

D:\Program Files\Veritas\Volmgr\bin>vmoprcmd -d

                                PENDING REQUESTS

                                     <NONE>

                                  DRIVE STATUS

Drv Type   Control  User      Label  RecMID  ExtMID  Ready   Wr.Enbl.  ReqId
  0 hcart    TLD               Yes   400805  400805   Yes     Yes        0
  1 hcart    TLD                -                     No       -         0
  2 hcart    TLD               Yes   401313  401313   Yes     Yes        0
  3 hcart    TLD               Yes   401200  401200   Yes     Yes        0

                             ADDITIONAL DRIVE STATUS

Drv DriveName            Shared    Assigned        Comment
  0 ESL02_Drive9          No       ebs5-bck.m1.com
  1 ESL02_Drive7          No       -
  2 ESL02_Drive8          No       ebs5-bck.m1.com
  3 ESL02_Drive10         No       ebs5-bck.m1.com

So it is not assigned to the Media server. How can I fix this?

The media server is running Windows 2008 and NetBackup version is 7.7.1. 

 

Thank you very much. 

 

Iwan 

  • The config clearly shows 3 tape drives in robot controlled by media server ebs3-bck and 1 tape drive in robot controlled by media server ebs311bck. NetBackup did not magically change this all by itself. Someone in your environment did this - either manually or by running the device config wizard. I also noticed that scan only picked up 2 tape drives. It could be because the other 2 drives were in use. You should only proceed with changes/reconfiguration when no tape drives are in use as NBU will need to restart services. Firstly delete the remote robot 3 on this media server as well as drive ESL02_Drive7. Allow NBU to restart services on the media server. You should now be left with robot 1 and 3 tape drives on this media server. Start the Device Config wizard. Select robot control host ebs3-bck and this media server. See if the wizard picks up all 4 drives in the same robot. If so, complete the wizard and allow restart of services. If device config is good after this, double-check STU config to confirm that it is configured for 4 concurrent drives. If Device config wizard only sees 3 tape drives in robot 1 as per previous (incorrect?) config, you need to check hardware config.
  • Please show output of these commands on the media server: scan tpconfig -l
  • Do you storage unit(s) have 4 tape drives all together ?

    Is the tape drive OK in library interface ?

  • There could also be a 'stuck' device allocation.

    Run this command when no backups are running:

    nbrbutil -ResetAll

  • Thanks all for the reply.

     

    @Marianne

    D:\Program Files\Veritas\Volmgr\bin>scan
    ************************************************************
    *********************** SDT_TAPE    ************************
    *********************** SDT_CHANGER ************************
    ************************************************************
    ------------------------------------------------------------
    Device Name  : "Tape1"
    Passthru Name: "Tape1"
    Volume Header: ""
    Port: 5; Bus: 0; Target: 0; LUN: 0
    Inquiry    : "HP      Ultrium 4-SCSI  H6AW"
    Vendor ID  : "HP      "
    Product ID : "Ultrium 4-SCSI  "
    Product Rev: "H6AW"
    Serial Number: "MXP1143FHF"
    WWN          : ""
    WWN Id Type  : 0
    Device Identifier: ""
    Device Type    : SDT_TAPE
    NetBackup Drive Type: 3
    Removable      : Yes
    Device Supports: SCSI-5
    Flags : 0x0
    Reason: 0x0
    ------------------------------------------------------------
    Device Name  : "Tape3"
    Passthru Name: "Tape3"
    Volume Header: ""
    Port: 7; Bus: 0; Target: 0; LUN: 0
    Inquiry    : "HP      Ultrium 4-SCSI  H6FW"
    Vendor ID  : "HP      "
    Product ID : "Ultrium 4-SCSI  "
    Product Rev: "H6FW"
    Serial Number: "HU1024AT3F"
    WWN          : ""
    WWN Id Type  : 0
    Device Identifier: ""
    Device Type    : SDT_TAPE
    NetBackup Drive Type: 3
    Removable      : Yes
    Device Supports: SCSI-5
    Flags : 0x0
    Reason: 0x0

    D:\Program Files\Veritas\Volmgr\bin>tpconfig -l
    Device Robot Drive       Robot                    Drive          Device
    Type     Num Index  Type DrNum Status  Comment    Name           Path
    robot      1    -    TLD    -       -  -          -              ebs3-bck
      drive    -    0  hcart    9      UP  -          ESL02_Drive9   {3,0,0,0}
      drive    -    2  hcart    8      UP  -          ESL02_Drive8   {6,0,0,0}
      drive    -    3  hcart   10      UP  -          ESL02_Drive10  {7,0,0,0}
    robot      3    -    TLD    -       -  -          -              ebs11bck
      drive    -    1  hcart    7      UP  -          ESL02_Drive7   {5,0,0,0}

     

    I will try the other command you suggest me tomorrow, because I only have downtime tomorrow, the media server is quite busy.

     

    Regards,

     

    iwan

  • You have 2 robots - 1 with 3 drives and another with 1 drive. This means 2 storage units. If backups and/or duplications are set for STU robot-1 then the drive in robot 3 will never be used. Hopefully you have created a STU group with both STU's? Check that all backups and/or duplications are set for STU group.
  • Marianne,

     

    Thank you very much  for analizyng. We have 2 Tape Libraries in difference sites, actually the ESL02_Drive7 should be on the robot 1 (not 3). I think from the report the ESL02_Drive7 went to robot 3 which is not correct. Just found out according to a colleague he did delete that drive and put it back due some problem. It seems it went to other Tape Library.

    So I should delete the tape and add it backup again right? I will do it by today I let you know the result.

     

    Regards,

     

    Iwan

  • The config clearly shows 3 tape drives in robot controlled by media server ebs3-bck and 1 tape drive in robot controlled by media server ebs311bck. NetBackup did not magically change this all by itself. Someone in your environment did this - either manually or by running the device config wizard. I also noticed that scan only picked up 2 tape drives. It could be because the other 2 drives were in use. You should only proceed with changes/reconfiguration when no tape drives are in use as NBU will need to restart services. Firstly delete the remote robot 3 on this media server as well as drive ESL02_Drive7. Allow NBU to restart services on the media server. You should now be left with robot 1 and 3 tape drives on this media server. Start the Device Config wizard. Select robot control host ebs3-bck and this media server. See if the wizard picks up all 4 drives in the same robot. If so, complete the wizard and allow restart of services. If device config is good after this, double-check STU config to confirm that it is configured for 4 concurrent drives. If Device config wizard only sees 3 tape drives in robot 1 as per previous (incorrect?) config, you need to check hardware config.
  • Marianne, 

     

    Yes someone ( a colleague) change the configuration, I think from the last reboot somehow the Windows could not see the tape drive, then he tried to delete and put it back, somehow it went wrong. 

    I follow your advice, Now it is working fine. Thank you very much!

     

    Regards, 

    Iwan