cancel
Showing results for 
Search instead for 
Did you mean: 

sgscan does not connect to the sl24 tap library

nit
Level 3
Employee Accredited

i tried to detect drive at os level and it detect on os level but not connected to the tap library . my master server is solaris 10 same as media  and NBU version is 7.1

i follow

#cd /usr/openv/volmgr/bin/driver
#/usr/openv/volmgr/bin/sg.build all -mt 20 -ml 20
#cat st.conf >> /kernel/drv/st.conf
#rem_drv sg
#rm /kernel/drv/sg.conf
#./sg.install
#reboot -- -r
 and then
/usr/openv/volmgr/bin/sgscan
/usr/openv/volmgr/bin/tpautoconf -a

the   run the device configuration wizard

 but still not connected to the tap library

as result below


 [root@emu driver]$/usr/openv/volmgr/bin/sgscan
/dev/sg/c0t0l0: Changer: "ADIC Scalar 1000"
/dev/sg/c0t1l0: Tape (/dev/rmt/0): "IBM ULTRIUM-TD1"
/dev/sg/c0t2l0: Tape (/dev/rmt/1): "IBM ULTRIUM-TD1"
/dev/sg/c0t3l0: Tape (/dev/rmt/4): "IBM ULTRIUM-TD1"
/dev/sg/c0t4l0: Tape (/dev/rmt/5): "IBM ULTRIUM-TD1"
[root@emu driver]$/usr/openv/volmgr/bin/tpautoconf -a
TPAC60 - - - -1~-1~-1~-1 2 - - - 0 - - - - - - - 0 0 - - emu 4 - - 0 - - - -
TPAC60 ADIC_drive01 IBM~~~~~ULTRIUM-TD1~~~~~4561 /dev/rmt/0cbn -1~-1~-1~-1 1 0 1 1 8 3 - - - 1391016844 - 3 0 0 - - emu 0
- - 0 - - - -
TPAC60 ADIC_drive02 IBM~~~~~ULTRIUM-TD1~~~~~4561 /dev/rmt/1cbn -1~-1~-1~-1 1 0 1 2 8 3 - - - 6811109681 - 3 0 0 - - emu 0
- - 0 - - - -
TPAC60 adic_drive03 IBM~~~~~ULTRIUM-TD1~~~~~4561 /dev/rmt/4cbn -1~-1~-1~-1 1 0 1 3 8 3 - - - 6811308987 - 3 0 0 - - emu 0
- - 0 - - - -
TPAC60 adic_drive04 IBM~~~~~ULTRIUM-TD1~~~~~4561 /dev/rmt/5cbn -1~-1~-1~-1 1 0 1 4 8 3 - - - 6811309257 - 3 0 0 - - emu 0
- - 0 - - - -
TPAC60 1 ADIC~~~~Scalar~1000~~~~~640P /dev/sg/c0t0l0 -1~-1~-1~-1 0 0 1 - 8 - 140 6 12 ADIC201100626 - 2 0 - emu emu emu 0
- - 0 - - - -
[root@emu driver]$ls -l /dev/scsi/changer
total 4
lrwxrwxrwx 1 root root 72 Aug 11 13:37 c13t0d0 -> ../../../devices/pci@400/pci@1/pci@0/pci@0/pci@0/scsi@8/sgen@0,0:changer
lrwxrwxrwx 1 root root 103 Aug 17 10:57 c15t5001438014038C3Bd1 -> ../../../devices/pci@400/pci@1/pci@0/pci@6/LSI,sas@0/iport@8/medium-changer@w5001438014038c3b,1:chan...

[root@emu driver]$luxadm inq /dev/scsi/changer/c15t5001438014038C3Bd1

INQUIRY:
Physical Path:
/devices/pci@400/pci@1/pci@0/pci@6/LSI,sas@0/iport@8/medium-changer@w5001438014038c3b,1:changer
Vendor: HP
Product: MSL G3 Series
Revision: E.00
Serial Number 1120BRZ068
Device type: 0x8 (Medium changer device)
Removable media: yes
Medium Changer Element: no
ISO version: 0
ECMA version: 0
ANSI version: 5Reserved
Terminate task: no
Response data format: 2
Additional length: 0x45
Cmd received on port: b
Command queueing: no
VENDOR-SPECIFIC PARAMETERS
Byte# Hex Value ASCII
36 00 00 00 00 00 1c 00 01 00 00 00 00 00 00 00 00 ................
00 00 00 01 ....
[root@emu driver]$ls -l /dev/sg/c0t0l0
lrwxrwxrwx 1 root root 63 Aug 18 14:45 /dev/sg/c0t0l0 -> ../../devices/pci@400/pci@1/pci@0/pci@0/pci@0/scsi@8/sg@0,0:raw
[root@emu driver]$ 

 

2 REPLIES 2

Andy_Welburn
Level 6

Output similar to mine in that I can see 1 robot & 4 drives. Are they the devices you expect to see or are some missing?

Output from: scan & tpautoconf -report_disc ?

 

What exactly is it you're seeing that you shouldn't or not seeing that you should & where?

 

Sorry if I've missed the point, maybe I need another coffee....

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Please post your sg.conf and sg.links.

 

Run sg.build all (don't put -mt and -ml with values)