cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup on Redhat AS3 connected to a StorageTek L80

James_Richard1
Level 2
When I cat the /proc/scsi/scsi it detects the library.

cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: STK Model: L80 Rev: 0215
Type: Medium Changer ANSI SCSI revision: 03

But it doesn't detect the drives.

scan returns the info on the drives.

./scan
************************************************************
*********************** SDT_TAPE ************************
*********************** SDT_CHANGER ************************
*********************** SDT_OPTICAL ************************
************************************************************
------------------------------------------------------------
Device Name : "/dev/sg/h0c0t0l0"
Passthru Name: "/dev/sg/h0c0t0l0"
Volume Header: ""
Port: -1; Bus: -1; Target: -1; LUN: -1
Inquiry : "STK L80 0215"
Vendor ID : "STK "
Product ID : "L80 "
Product Rev: "0215"
Serial Number: "LLC74002560"
WWN : ""
WWN Id Type : 0
Device Identifier: ""
Device Type : SDT_CHANGER
NetBackup Robot Type: 8
Removable : Yes
Device Supports: SCSI-3
Number of Drives : 2
Number of Slots : 81
Number of Media Access Ports: 5
Drive 1 Serial Number : "1110241309"
Drive 2 Serial Number : "1110242344"
Flags : 0x0
Reason: 0x0

What do I need to do to make the drives show up under scsi devices?
5 REPLIES 5

Dennis_Strom
Level 6
if you can see your changer and drives using robtest then the below should work. Since you are on Linux instead of Solaris you will need to substitute your linux commands for the devfsadm command. Either that or do a reboot -r or whatever works on linux.

Creating sg.conf and getting netbackup to see tapes and changer
modinfo | grep tape
modunload -i #
rm /dev/rmt/*
cd /usr/openv/volmgr/bin/driver
cp st.conf st.conf.old
cp sg.links sg.links.old
cp sg.conf sg.conf.old
rm -f /kernel/drv/sg.conf
/usr/openv/volmgr/bin/sg.build all -mt 15 -ml 15
##comment out old entries/ or delete old entries in st.conf in /kernel/drv/st.co
nf , such as
##name="st" class="scsi" target=0 lun=0;
cat /usr/openv/volmgr/bin/driver/st.conf >> /kernel/drv/st.conf
/usr/openv/volmgr/bin/driver/sg.install
devfsadm -C -c tapes
scan

Philipp_Burath
Level 4
Certified
Hi James,

Check out the "Media Manager Device Config Guide", chapter 7 - Intel Hosts running Enterprise Linux. Hopefully this helps?

http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/268089.pdf

Regards
Philipp

zippy
Level 6
James,

I see two

and 81 slots

Number of Drives : 2
Number of Slots : 81
Number of Media Access Ports: 5
Drive 1 Serial Number : "1110241309"
Drive 2 Serial Number : "1110242344"

James_Richard1
Level 2
I updated the qlogic drivers on the server and it was able to fully detect the Library and drives.

James_Richard1
Level 2
After upgrading the firmware on the Library, drives, and fiber bridge it turned out to be the qlogic drivers that came default with AS3 was the issue.