cancel
Showing results for 
Search instead for 
Did you mean: 

Added new tape drives to the robot displayed as standalone drives.

derfur
Level 3

I have Storagetek SL3000 tape library attached to Netbackup as TLD robot.
Recently, I added two additional tape drives to the library. Management console of the library detected these drives.

Of course, I rebuild sg driver. I see these drives by OS and by tpautoconf -report_disc as new drives.
When I try to add drives to Netbackup, new tape drives displayed as standalone drives(no a part of library).

How to add this drives to library? What is my mistake?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

The robot is not configered correctly, it doesn't itself know about the 2 new drives.  As marianne suggests, a reboot of the lirary might resolve, if not, you'll need to speak with the vendor.

View solution in original post

18 REPLIES 18

mph999
Level 6
Employee Accredited

Which media server are you adding the drives to:

1. The media server that is also the robot control host

2.  Some other separate media server

 

If 1.  Please send scan output from robot control host

If 2. I suspect media server tldd process isn't able to talk to the tldcd proces on the robot control host

derfur
Level 3

Media server is robot contol host.

New drives T10000D type.

scan output:

************************************************************
*********************** SDT_TAPE    ************************
*********************** SDT_CHANGER ************************
************************************************************
------------------------------------------------------------
Device Name  : "/dev/sg/c0tw500104f000b0ae78l0"
Passthru Name: "/dev/sg/c0tw500104f000b0ae78l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     SL3000          4.02"
Vendor ID  : "STK     "
Product ID : "SL3000          "
Product Rev: "4.02"
Serial Number: "571000201301"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 11
Number of Slots  : 700
Number of Media Access Ports: 26
Drive 1 Serial Number      : "576004004141"
Drive 2 Serial Number      : "576004004140"
Drive 3 Serial Number      : "576004004111"
Drive 4 Serial Number      : "576004004171"
Drive 5 Serial Number      : "576004004169"
Drive 6 Serial Number      : "576004003920"
Drive 7 Serial Number      : "576004005851"
Drive 8 Serial Number      : "576004004170"
Drive 9 Serial Number      : "576004004404"
Drive 10 Serial Number      : "1068013405"
Drive 11 Serial Number      : "576004002235"
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/2cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0ae88l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         1.53"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "1.53"
Serial Number: "576004004171"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/1cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0ae8bl0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         1.53"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "1.53"
Serial Number: "576004004111"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/3cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0ae8el0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         1.53"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "1.53"
Serial Number: "576004004140"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/0cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0ae91l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         1.53"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "1.53"
Serial Number: "576004004141"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/4cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0ae94l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         1.53"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "1.53"
Serial Number: "576004004170"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/9cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0ae97l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         3.62"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "3.62"
Serial Number: "576004005851"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/10cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0ae9al0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         1.53"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "1.53"
Serial Number: "576004003920"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/8cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0ae9dl0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         1.53"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "1.53"
Serial Number: "576004004169"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/6cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0aea0l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         3.62"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "3.62"
Serial Number: "576004002235"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/7cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0aea3l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "IBM     ULTRIUM-TD6     D8E6"
Vendor ID  : "IBM     "
Product ID : "ULTRIUM-TD6     "
Product Rev: "D8E6"
Serial Number: "1068013405"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "IBM     ULTRIUM-TD6     1068013405"
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-6
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/11cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0aea6l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000D         4.09"
Vendor ID  : "STK     "
Product ID : "T10000D         "
Product Rev: "4.09"
Serial Number: "579004003630"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 10
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/5cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0aea9l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000C         1.53"
Vendor ID  : "STK     "
Product ID : "T10000C         "
Product Rev: "1.53"
Serial Number: "576004004404"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 16
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/rmt/12cbn"
Passthru Name: "/dev/sg/c0tw500104f000b0aeb2l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "STK     T10000D         4.09"
Vendor ID  : "STK     "
Product ID : "T10000D         "
Product Rev: "4.09"
Serial Number: "579004003620"
WWN          : ""
WWN Id Type  : 0
Device Identifier: ""
Device Type    : SDT_TAPE
NetBackup Drive Type: 10
Removable      : Yes
Device Supports: SCSI-5
Flags : 0x0

Reason: 0x0

 

sdo
Moderator
Moderator
Partner    VIP    Certified

What version of device mappings do you currently have loaded?

https://support.symantec.com/en_US/article.TECH231447.html

 

Marianne
Level 6
Partner    VIP    Accredited Certified

This is what the robot is reporting to the OS and NBU as far as tape drives contained in the robot:

Device Type    : SDT_CHANGER
NetBackup Robot Type: 8
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 11
Number of Slots  : 700
Number of Media Access Ports: 26
Drive 1 Serial Number      : "576004004141"
Drive 2 Serial Number      : "576004004140"
Drive 3 Serial Number      : "576004004111"
Drive 4 Serial Number      : "576004004171"
Drive 5 Serial Number      : "576004004169"
Drive 6 Serial Number      : "576004003920"
Drive 7 Serial Number      : "576004005851"
Drive 8 Serial Number      : "576004004170"
Drive 9 Serial Number      : "576004004404"
Drive 10 Serial Number      : "1068013405"
Drive 11 Serial Number      : "576004002235" 

 

As you can see, the serial numbers for the 10000D drives (579004003620  & 579004003630 ) do not appear in above list.

Best to completely power cycle the robot and then check 'scan -changer' output again.

Until the robot displays and reports all drives (including the new ones), there is nothing we can do to fix this.

PS: 

Curious to see what these commands in robtest show:

mode

s d 

mph999
Level 6
Employee Accredited

The robot is not configered correctly, it doesn't itself know about the 2 new drives.  As marianne suggests, a reboot of the lirary might resolve, if not, you'll need to speak with the vendor.

derfur
Level 3

As I say, library correctly detects all drives, including new ones.

Library Information
               
               Generated on : Wed Jul 08 15:42:59 MSK 2015

               Device Library Properties General          
               Device Id  : 1,0,0,0,0
               
                  Physical
                     Vendor : STK
                     Expansion Module Count : 2
                     Total Cell Count : 898
                     Empty Cell Count : 510
                     Drive Count : 13
                     Robot Count : 1
                     Cap Count : 1
  

derfur
Level 3

New tape drives are T10000D type.

derfur
Level 3

mph999: You are right. I found document on support.oracle.com site:

SL3000 - New Drives Being Seen as Stand-Alone Drive When Trying to Configure in NBU (Doc ID 1431624.1) 

It fully describes my situation.

Marianne
Level 6
Partner    VIP    Accredited Certified
Can you provide a URL or Document ID?

sdo
Moderator
Moderator
Partner    VIP    Certified

...but as Marianne pointed out... the 'scan -tape' portion of 'scan' can see the drives too, but the 'scan -changer' portion of 'scan' does not.

So, NetBackup knows there are two additional drives, but NetBackup is not being told which robot they belong to.  Hence AVR status - i.e. they appear to NetBackup to be standalone drives - because NetBackup is not being told which robot owns them.

You probably need to reboot the library, or find the missing step... which somehow causes the true picture to be reported to NetBackup.   This is not a NetBackup issue.  NetBackup can't do anything if the library is unable to report to NetBackup that it owns all of the tape drives.

mph999
Level 6
Employee Accredited

Yes the doc URL would be useful if you could share that would be appreciated.

The answer was in the scan output for the changer.

You have 13 drives, but 11 are listed:

Drive 1 Serial Number      : "576004004141"
Drive 2 Serial Number      : "576004004140"
Drive 3 Serial Number      : "576004004111"
Drive 4 Serial Number      : "576004004171"
Drive 5 Serial Number      : "576004004169"
Drive 6 Serial Number      : "576004003920"
Drive 7 Serial Number      : "576004005851"
Drive 8 Serial Number      : "576004004170"
Drive 9 Serial Number      : "576004004404"
Drive 10 Serial Number      : "1068013405"
Drive 11 Serial Number      : "576004002235" 

So, straight away we can see something isn't right.  You pointed out that the library detected 13 drives, so the question then should have been, ok - why is it only listing the serial numbers for 11 of them.

What you may not know, so I will share with you is that what is seen from scan, is sent from the devices - it has 100% absolutly nothing to do with NBU.  In fact, if you stop NBU services, you will find that scan still works.  That is the big part of solving these issues as it instantly proves that NBU cannot possibly be the cause in any way shape of form.

scan simply sends scsi commands, and displays the output (OK, there is a bit of formatting of the results but that is all).

NBU configures drives to be robotic by noticing that the serial number of the drive is also listed as one of the serial numbers of the drives listed in the changer, and in this case, as the drives were missing it couldn't match them to a robot, and so they end up as stand-alone, or in NBU terms, AVR.

I'm not famialr with the SL3000 (as in I've never seen or used one) but I will hazard a guess that it is a partitionable library, and that the 2 drives were not assigned to a partition (even if there is only one partition, or the library was unpartitioned, I suspect you still have to assign the drives withing the library config).

TBH, NBU does't really care about the make of library, certainly for TLD type, which is mostly what we see, they all work in roughly the same way, so if you see an issue on one make, it's at least reasonable that the same symptoms of that issue on another make will have the same, or similar cause.  there are a few exceptions where library options/ settings are unique to a make, which can cause havic with NBU but I try not to worry to much about those as fortunatly we don;t seem to see them that often (as they can be real hard to identify).

One case I remember that was fun, I won't name the vendor - but they just point blank refused it was them and blamed NBU (given that robtest wasn't showing some of the tapes, it couldn't be us (robtest is like scan, what is shown is sent from the library, we just display it).  Eventually I got fed up, had a look via webex and we ended up changing, one at a time, every option on the library console until we found the one that was causig the issue.

Hope this helps.

 

derfur
Level 3

https://support.oracle.com/epmos/faces/DocContentDisplay?id=1431624.1

 

Marianne
Level 6
Partner    VIP    Accredited Certified

Thanks. 

It seems the URL is only visible to registered users.

Can you please summarize what the cause of the problem was and the solution?

This will help other users with similar issues.

Andy_Welburn
Level 6

'Just in case' the OP doesn't return, the doc simply confirmed yours & Martins thoughts, in that if any physical change is made to a (non-partitioned) SL3000 (e.g. drives, slots) then a re-boot of the library is required to rebuild the element ID table.

Marianne
Level 6
Partner    VIP    Accredited Certified

Thanks Andy.

Exactly as I thought and suggested - a simple reboot (IPL) of the robot.

I have previously seen this when new drives were added to an STK robot (L700 if memory serves me right).
Issue was fixed with IPL of the robot.

Genericus
Moderator
Moderator
   VIP   

For my SL8500, there is an OS level command that will rescan and add / update drives and serial numbers:

bash-3.2$ cat add.new.lto5.drive
## from command prompt
## run this command for each drive, NOTE LSM is second number
   config drives 0,0,1
## see config drives help
#  Invalid drive panel identifier.
#  The panel identifier format must be: acs,lsm,panel

#  config drives 0,0,1
  2013-10-15 16:19:46

  Obtaining Configuration details, please wait

  Drive Configuration Change for panelid: 0,0,1

  Drive id    Old Type         New Type         chg Drive Serial Number
  --------    --------         --------         -----------------------
  0           not installed    unchanged
  1           not installed    unchanged
  2           not installed    unchanged
  3           not installed    unchanged
  4           not installed    unchanged
  5           not installed    unchanged
  6           not installed    unchanged
  7           not installed    unchanged
  8           not installed    IBM-LTO5             1068102136
  9           IBM-LTO5         unchanged            1068060347
  10          IBM-LTO5         unchanged            1068060998
  11          IBM-LTO5         unchanged            9068025276
  12          not installed    unchanged
  13          not installed    unchanged
  14          not installed    unchanged
  15          not installed    unchanged

  Enter 'y' to confirm changes to the drive configuration for this panel: y
2013-10-15 16:20:23

  Drive configuration updated.

NetBackup 9.1.0.1 on Solaris 11, writing to Data Domain 9800 7.7.4.0
duplicating via SLP to LTO5 & LTO8 in SL8500 via ACSLS

Marianne
Level 6
Partner    VIP    Accredited Certified
This will only work for ACSLS controlled robot, not TLD robot connected to a media server.

derfur
Level 3

Copy-pasted from DOC:

Symptoms:

While trying to configure new drives to NBU (Net Backup), it lists them as stand-alone drives, outside the library. 
File /usr/openv/volmgr/bin/robtest does not list the new drives in the library, and this program queries the library directly, not the host configuration files.  

Solution:


Any drive or capacity change on a non-partitioned FC/SCSI library requires a reboot of the SL3000 to rebuild the element ID table.

After checking every thing and nothing else left to do, had a power cycle done to the library. That solved the issue! Nothing changed in the SLC regarding the drives. They had two sites and two SL3000 libraries, other library they added one drive and the other 3 drives. Same symptom on both sites. After rebooting the other site library as well, that fixed the issue there also. Drives were added on the fly, so this was first reboots after the drive installations.

The behavior experienced is expected.   The only way the SCSI element IDs can be created is to boot the SL3000 after a physical change.  This applies to added slots too.   NBU maps the library slots, drives and CAPs with element IDs.  This became a big issue at an account that added drives that were never used. After a routine reboot 6 months later, all the drives remapped and created havoc.  The new drives were inserted between the DEM and Base making it worse!  HLI does not have this reboot limitation.  The new drives or capacity can be used by ACSLS/HSC as soon as the library is audited.