cancel
Showing results for 
Search instead for 
Did you mean: 

NBU - Robot Inventory

ndt
Level 4

Dear,

I find a problem when configure NBU. There are 24 tapes in my tape library (Sun StorageTek SL24) but when I do scan command, It seems that my system can not discover these tapes, slot and drive as below.

Thank you.

bash-3.00#  ./scan -changer
************************************************************
*********************** SDT_CHANGER ************************
************************************************************
------------------------------------------------------------
Device Name  : "/dev/sg/c1t4l1"
Passthru Name: "/dev/sg/c1t4l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "HP      MSL G3 S"
Vendor ID  : "HP      "
Product ID : "MSL G3 S"
Product Rev: ""
Serial Number: "0833"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "HP  "
Device Type    : SDT_CHANGER
NetBackup Robot Type: Not Found(5)
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 0
Number of Slots  : 0
Number of Media Access Ports: 0
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name  : "/dev/sg/c2t4l1"
Passthru Name: "/dev/sg/c2t4l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "HP      MSL G3 S"
Vendor ID  : "HP      "
Product ID : "MSL G3 S"
Product Rev: ""
Serial Number: "0833"
WWN          : ""
WWN Id Type  : 0
Device Identifier: "HP  "
Device Type    : SDT_CHANGER
NetBackup Robot Type: Not Found(5)
Removable      : Yes
Device Supports: SCSI-5
Number of Drives : 0
Number of Slots  : 0
Number of Media Access Ports: 0
Flags : 0x0
Reason: 0x0
bash-3.00#

bash-3.00# /usr/openv/volmgr/bin/sgscan all
/dev/sg/c0t0l0: Disk (/dev/rdsk/c1t0d0): "SEAGATE ST973401LSUN72G"
/dev/sg/c0t1l0: Disk (/dev/rdsk/c1t1d0): "FUJITSU MAY2073RCSUN72G"
/dev/sg/c1t4l0: Tape (/dev/rmt/0): "HP      Ultrium 3-SCSI"
/dev/sg/c1t4l1: Changer: "HP      MSL"
/dev/sg/c2t4l0: Tape (/dev/rmt/1): "HP      Ultrium 3-SCSI"
/dev/sg/c2t4l1: Changer: "HP      MSL"

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Andy_Welburn
Level 6

Additionally: same robot on 2 controllers?

Device Name  : "/dev/sg/c1t4l1"
Passthru Name: "/dev/sg/c1t4l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "HP      MSL G3 S"
Vendor ID  : "HP      "
Product ID : "MSL G3 S"
Product Rev: ""
Serial Number: "0833"

Device Name  : "/dev/sg/c2t4l1"
Passthru Name: "/dev/sg/c2t4l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "HP      MSL G3 S"
Vendor ID  : "HP      "
Product ID : "MSL G3 S"
Product Rev: ""
Serial Number: "0833"

/dev/sg/c1t4l0: Tape (/dev/rmt/0): "HP      Ultrium 3-SCSI"
/dev/sg/c1t4l1: Changer: "HP      MSL"
/dev/sg/c2t4l0: Tape (/dev/rmt/1): "HP      Ultrium 3-SCSI"
/dev/sg/c2t4l1: Changer: "HP      MSL"

 

Maybe delete devices & re-add from scratch at OS level (Solaris presumably? 10?)

View solution in original post

6 REPLIES 6

ndt
Level 4

bash-3.00# /usr/openv/volmgr/bin/robtest
Configured robots with local control supporting test utilities:
  TLD(0)     robotic path = /dev/sg/c1t4l1

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

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

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

Opening /dev/sg/c1t4l1
user command failed, may be timeout, scsi_pkt.us_reason = 4
user command failed, may be timeout, scsi_pkt.us_reason = 4
mode_sense ioctl() failed: Error 0
Enter tld commands (? returns help information)
s s
read_element_status: Must execute a successful mode sense prior to executing this command.
 Perform a tldtest 'mode' command until it succeeds

=====================

 

I can not execute some subcommand of robtest, It is always spawn "user command failed, may be timeout, scsi_pkt.us_reason = 4"

Thank you.

NDT.

Marianne
Level 6
Partner    VIP    Accredited Certified

Something wrong with robot config.

Check device documentation. This is coming back from the robot (not NBU):

Number of Drives : 0
Number of Slots  : 0
Number of Media Access Ports: 0

The robot is also not reporting on any tape drives in the robot.

sksujeet
Level 6
Partner Accredited Certified

Was it working before or it is new installation? As Marianne suggested there is an issue with library, check the library console for any possible errors. You could also try rebooting the library to see if it helps. Have you recently done any zoning or configuration changes that could cause this as well.

Andy_Welburn
Level 6

Additionally: same robot on 2 controllers?

Device Name  : "/dev/sg/c1t4l1"
Passthru Name: "/dev/sg/c1t4l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "HP      MSL G3 S"
Vendor ID  : "HP      "
Product ID : "MSL G3 S"
Product Rev: ""
Serial Number: "0833"

Device Name  : "/dev/sg/c2t4l1"
Passthru Name: "/dev/sg/c2t4l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry    : "HP      MSL G3 S"
Vendor ID  : "HP      "
Product ID : "MSL G3 S"
Product Rev: ""
Serial Number: "0833"

/dev/sg/c1t4l0: Tape (/dev/rmt/0): "HP      Ultrium 3-SCSI"
/dev/sg/c1t4l1: Changer: "HP      MSL"
/dev/sg/c2t4l0: Tape (/dev/rmt/1): "HP      Ultrium 3-SCSI"
/dev/sg/c2t4l1: Changer: "HP      MSL"

 

Maybe delete devices & re-add from scratch at OS level (Solaris presumably? 10?)

Yasuhisa_Ishika
Level 6
Partner Accredited Certified

scan does not show product rev(firmware version), and serial number displayed is too short.

please check /var/adm/messages if any relevant messages are recorded. also consider rebooting both SL24 and your server(shutdown the server->reboot SL24->boot the server with reconfig flag).

ndt
Level 4

Dear,

Thank you for all of your suggestion. Maybe I have a mistake with connecting between server and tape library. I used two cables to connect 2 SCSI ports from server to tape. And now, I just use only one.

Thanks again.

 

NDT.