scan command produces an error
I have two Solaris 10 servers which I've installed NBU 6.5 Media Server onto, before I add them to our master server I was checking visability of the attached devices (SAN Tape Library), One of them returned what I expected but one returned the following error "Unable to intialize the device mappings table, status = 1" and doesn't show the Netbackup drive type field ? Example below :
Can anyone provide any assistance ?
[/usr/openv/netbackup/bin]# scan -tape
************************************************************
*********************** SDT_TAPE ************************
************************************************************
Unable to intialize the device mappings table, status = 1
------------------------------------------------------------
Device Name : "/dev/rmt/1cbn"
Passthru Name: "/dev/sg/c0tw100000e00223a5a3l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "HP Ultrium 3-SCSI G25W"
Vendor ID : "HP "
Product ID : "Ultrium 3-SCSI "
Product Rev: "G25W"
Serial Number: "HU106443KU"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: Not Found(6)
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/rmt/0cbn"
Passthru Name: "/dev/sg/c0tw100000e00223a5a3l2"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "HP Ultrium 3-SCSI G54W"
Vendor ID : "HP "
Product ID : "Ultrium 3-SCSI "
Product Rev: "G54W"
Serial Number: "HU10550703"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: Not Found(6)
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/rmt/2cbn"
Passthru Name: "/dev/sg/c0tw100000e00223e414l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "HP Ultrium 3-SCSI G63W"
Vendor ID : "HP "
Product ID : "Ultrium 3-SCSI "
Product Rev: "G63W"
Serial Number: "HU10746NBG"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: Not Found(6)
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
------------------------------------------------------------
Device Name : "/dev/rmt/3cbn"
Passthru Name: "/dev/sg/c0tw100000e00223e414l1"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "HP Ultrium 3-SCSI G63W"
Vendor ID : "HP "
Product ID : "Ultrium 3-SCSI "
Product Rev: "G63W"
Serial Number: "HU1074641G"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_TAPE
NetBackup Drive Type: Not Found(6)
Removable : Yes
Device Supports: SCSI-3
Flags : 0x0
Reason: 0x0
Comments
Since you have the luxury of Solaris, what does sgscan show?
Patrick Whelan
Senior NetBackup Specialist
Hi, sgscan shows the devices correctly from both servers :
Server A
/dev/sg/c0tw100000e00223a5a3l0: Changer: "HP MSL6000 Series"
/dev/sg/c0tw100000e00223a5a3l1: Tape (/dev/rmt/1): "HP Ultrium 3-SCSI"
/dev/sg/c0tw100000e00223a5a3l2: Tape (/dev/rmt/0): "HP Ultrium 3-SCSI"
/dev/sg/c0tw100000e00223a5a3l3: Array-controller: "HP NS E1200-320"
/dev/sg/c0tw100000e00223e414l0: Tape (/dev/rmt/2): "HP Ultrium 3-SCSI"
/dev/sg/c0tw100000e00223e414l1: Tape (/dev/rmt/3): "HP Ultrium 3-SCSI"
/dev/sg/c0tw100000e00223e414l2: Array-controller: "HP NS E1200-320"
ServerB
/dev/sg/c0tw100000e00223a5a3l0: Changer: "HP MSL6000 Series"
/dev/sg/c0tw100000e00223a5a3l1: Tape (/dev/rmt/1): "HP Ultrium 3-SCSI"
/dev/sg/c0tw100000e00223a5a3l2: Tape (/dev/rmt/0): "HP Ultrium 3-SCSI"
/dev/sg/c0tw100000e00223a5a3l3: Array-controller: "HP NS E1200-320"
/dev/sg/c0tw100000e00223e414l0: Tape (/dev/rmt/2): "HP Ultrium 3-SCSI"
/dev/sg/c0tw100000e00223e414l1: Tape (/dev/rmt/3): "HP Ultrium 3-SCSI"
/dev/sg/c0tw100000e00223e414l2: Array-controller: "HP NS E1200-320"
We are using Solaris for our master and most media servers as well... Did you set the library and the drives up for use in Netbackup yet using tpconfig? What is the output for tpconfig -dl?
This is UNIX Cliff under a different name (For some reason it says I'm banned from the forum using my old account??) Anyhow we have resolved the issue, or more to the point it went away once we'd sucessfully added the media servers to our master/emm db. Strange as I thought the scan command didn't interogate the emm, I thought onlt tpconfig did that. Thanks for all the questions though.............
NetBackup Drive Type: Not Found(6)
I Have the same problem, while runing scan I got NetBackup Drive Type Not Found (6).
I have update the driver, change tape backup drive, but nothing help.
Unable to intialize the
Unable to intialize the device mappings table, status = 1 --- I faced this such problem then I have a network problem between media and master (that's why you don't have a device mappings table). Check connection between this servers and restart netbackup.
Update/load device mappings
update the device mappings file
http://seer.entsupport.symantec.com/downloads/export.asp?ddProduct=NBUESVR&file=Mappings_6_328212.zip&source=1&url=/pub/support/products/NetBackup_Enterprise_Server/&id=328212
http://seer.entsupport.symantec.com/docs/328212.htm
If the above did not work,
If the above did not work, try to rebuild the followings
mv /usr/openv/volmgr/bin/driver/st.conf /usr/openv/volmgr/bin/driver/st.conf.old
mv /usr/openv/volmgr/bin/driver/sg.conf /usr/openv/volmgr/bin/driver/sg.conf.old
mv /usr/openv/volmgr/bin/driver/sg.links /usr/openv/volmgr/bin/driver/sg.links.old
cd /usr/openv/volmgr/bin/driver
/usr/openv/volmgr/bin/sg.build all -mt 0 -ml 16
make sure the 16 value varies as per your system config.
./sg.install
../sgscan conf -v
/usr/openv/volmgr/bin/tpext -get_dev_mappings
Would you like to reply?
Login or Register to post your comment.