Please enter search query.
Search <product_name> all support & community content...
Article: 100016404
Last Published: 2013-10-24
Ratings: 0 0
Product(s): NetBackup
Problem
Using tools available as a part of Netbackup, the drive location within the library and operating system can be correlated.
Cause
In order for the device configuration wizard to properly configure the location of the drives within the library, the serial number is used to correlate the tape device location on the attached host and the bay within the library.
Solution
Determine the Serial Number and location of the tape drives within the library on the Robotic Control Host:
This command will yield output similiar to the example below:
This shows that this robot has four drives and the drives are giving serial number information.
/usr/openv/volmgr/bin/goodies/scan -changer
This command will yield output similiar to the example below:
************************************************************
*********************** SDT_CHANGER ****************
************************************************************
------------------------------------------------------------
Device Name : "/dev/sg/c1t2l0"
Passthru Name: "/dev/sg/c1t2l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "STK L180 0301"
Vendor ID : "STK "
Product ID : "L180 "
Product Rev: "0301"
Serial Number: "MPC02202208"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_CHANGER
NetBackup Robot Type: 8
Removable : Yes
Device Supports: SCSI-3
Number of Drives : 4
Number of Slots : 84
Number of Media Access Ports: 10
Drive 1 Serial Number : "CXA27S3726"
Drive 2 Serial Number : "CXA28S0192"
Drive 3 Serial Number : "331000038209"
Drive 4 Serial Number : "331000037733"
Flags : 0x0
Reason: 0x0
This shows that this robot has four drives and the drives are giving serial number information.
This serial number can be mapped to the actual device file using the output from the scan command with the tape argument. If you do not see this drive serial number information, then the drive is not serializing or is an API robot, such as Automated Cartridge System Library Software (ACSLS) or Tape Library Multimedia (TLM).
On the Media Server (which may be the same as the Robotic Control Host), run the following command:
/usr/openv/volmgr/bin/goodies/scan -tape
************************************************************
*********************** SDT_TAPE ************************
************************************************************
------------------------------------------------------------
Device Name : "/dev/rmt/2cbn"
Passthru Name: "/dev/sg/c1t0l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "STK 9840 1.34"
Vendor ID : "STK "
Product ID : "9840 "
Product Rev: "1.34"
Serial Number: "331000038209"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: 3
Removable : Yes
Device Supports: SCSI-3
Flags : 0x4
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/rmt/3cbn"
Passthru Name: "/dev/sg/c1t1l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "STK 9840 1.34"
Vendor ID : "STK "
Product ID : "9840 "
Product Rev: "1.34"
Serial Number: "331000037733"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: 3
Removable : Yes
Device Supports: SCSI-3
Flags : 0x4
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/rmt/4cbn"
Passthru Name: "/dev/sg/c1t2l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "QUANTUM DLT7000 276A"
Vendor ID : "QUANTUM "
Product ID : "DLT7000 "
Product Rev: "276A"
Serial Number: "CXA27S3726"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: 9
Removable : Yes
Device Supports: SCSI-2
Flags : 0x4
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/rmt/5cbn"
Passthru Name: "/dev/sg/c1t2l2"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "QUANTUM DLT7000 276A"
Vendor ID : "QUANTUM "
Product ID : "DLT7000 "
Product Rev: "276A"
Serial Number: "CXA28S0192"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: 9
Removable : Yes
Device Supports: SCSI-2
Flags : 0x4
Reason: 0x0
#
Using the command
scan -changer
you can identify which device name is associated with with robotic drive referencing the
scan -tape
output and matching serial numbers.
Drive 1 Serial Number : "CXA27S3726" is configured as /dev/rmt/4cbn
Drive 2 Serial Number : "CXA28S0192" is configured as /dev/rmt/5cbn
Drive 3 Serial Number : "331000038209" is configured as /dev/rmt/2cbn
Drive 4 Serial Number : "331000037733" is configured as /dev/rmt/3cbn