Mourad
13 years agoLevel 3
sg driver failed to Attache
Hi All,
I have a issue with tape driver and media changer which are not discovered by Netbackup, I followed the device configuration guide, many times, without success, I checked on Symantec forum, web, nothing helped me.
My configuration is the following :
Server : Sun Fire X4170 M2
OS : Solaris 10 x86, 8/11, 147441-13.
Tape Library : SUN SL48 SAS, 1 x LTO4.
Netbackup Server 7.1.
So when building the sg driver I'm getting the following error :
-bash-3.2# cd /usr/openv/volmgr/bin/driver
-bash-3.2# /usr/openv/volmgr/bin/sg.build all -mt 15 -ml 1
The file ./st.conf should be appended to /kernel/drv/st.conf.
A reboot may be necessary to create any new device files.
Created file ./sg.conf.
Created file ./sg.links.
-bash-3.2#
-bash-3.2# /usr/bin/rm -f /kernel/drv/sg.conf
-bash-3.2# /usr/openv/volmgr/bin/driver/sg.install
Copied files to /kernel/drv/amd64.
Doing add_drv of the sg driver
devfsadm: driver failed to attach: sg
Warning: Driver (sg) successfully added to system but failed to attach
Removing old /dev/sg entries.
Editing /etc/devlink.tab...
Copying original /etc/devlink.tab to /etc/devlink.tab.06-09-12-21:33:06.
Added entry in /etc/devlink.tab file.
Made links in /dev/sg
-bash-3.2#
-bash-3.2#
-bash-3.2# /usr/openv/volmgr/bin/sgscan tape
-bash-3.2#
The tape driver and media changed are seen on the OS level :
-bash-3.2# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 disk connected configured unknown
c2 scsi-sas connected unconfigured unknown
c3 scsi-sas connected configured unknown
c3::rmt/0 tape connected configured unknown
c3::scsi/changer/c3t500143801 med-changer connected configured unknown
sata0/0 sata-port empty unconfigured ok
sata0/1 sata-port empty unconfigured ok
sata0/2 sata-port empty unconfigured o
thank you in advance for any help.
Regards.