cancel
Showing results for 
Search instead for 
Did you mean: 

tape drives not detected

Prashant_Dabre
Level 3
Hi

I have Solaris version 10 installed on SunFire v240 server. Quantum M1500 tape library connected with server . The problem is Solaris OS has not detected tape drives.

“probe-scsi-all” command is showing tape drives and robot but Solaris is not detecting the library/drives.

Following is the output of probe-scsi-all command
---------------------------------------------------------------------
{1} ok probe-scsi-all
/pci@1c,600000/scsi@2,1

/pci@1c,600000/scsi@2
Target 0
Unit 0 Disk SEAGATE ST336605LSUN36G 0638
Target 1
Unit 0 Disk SEAGATE ST336607LSUN36G 0307
Target 2
Unit 0 Disk SEAGATE ST373207LSUN72G 045A
Target 3
Unit 0 Disk SEAGATE ST373207LSUN72G 045A

/pci@1e,600000/scsi@2,1

/pci@1e,600000/scsi@2
Target 0
Unit 0 Removable Device type 8 M4 DATA MagFile 3.07
Target 1
Unit 0 Removable Tape HP Ultrium 2-SCSI F45Z
Target 2
Unit 0 Removable Tape HP Ultrium 2-SCSI F45Z

{1} ok
---------------------------------------------------------------------


Getting below error message in message log
---------------------------------------------------------------------
Apr 22 06:19:57 per2-netbackup-01 genunix: [ID 408822 kern.info] NOTICE: mpt0: fault detected in device; service still available
Apr 22 06:19:57 per2-netbackup-01 genunix: [ID 611667 kern.info] NOTICE: mpt0: Disconnected command timeout for Target 1
Apr 22 06:20:57 per2-netbackup-01 genunix: [ID 408822 kern.info] NOTICE: mpt0: fault detected in device; service still available
Apr 22 06:20:57 per2-netbackup-01 genunix: [ID 611667 kern.info] NOTICE: mpt0: lost interrupt during polling - resetting controller
Apr 22 06:20:57 per2-netbackup-01 scsi: [ID 365881 kern.info] /pci@1e,600000/scsi@2 (mpt0):
Apr 22 06:20:57 per2-netbackup-01 Rev. 8 LSI, Inc. 1030 found.
Apr 22 06:20:57 per2-netbackup-01 scsi: [ID 365881 kern.info] /pci@1e,600000/scsi@2 (mpt0):
Apr 22 06:20:57 per2-netbackup-01 mpt0 supports power management.
Apr 22 06:20:57 per2-netbackup-01 scsi: [ID 365881 kern.info] /pci@1e,600000/scsi@2 (mpt0):
Apr 22 06:20:57 per2-netbackup-01 mpt0: IOC Operational.

iostat -En command is showing only hard disk information. 
sgscan detected the robot but not able to detect tape drives. Please help

Thanks
Prashant Dabre
9 REPLIES 9

scorpy_582
Level 6
ioscan -En not showing indicates that its not detecting at the OS level.

You might have to check the following:

cfgadm -al
devfsadv -Cc
perform a reconfiguration reboot
Rebuild the sg driver (instructions given in netbackup device config guide)
Also, the Solaris lpfc driver is known to cause issue with netbackup sg driver

http://seer.entsupport.symantec.com/docs/294280.htm

Prashant_Dabre
Level 3
cfgadm -al is not showing any tape drive
devfsadv -Cc didn't helped me
I have also tried to build sg drive using below command but no luck...
/usr/openv/volmgr/bin/sg.build all -mt 15 -ml 1

Prashant

Prashant_Dabre
Level 3
sgscan is showing below output. I don't know why it is showing ??? for tapes
---------------------------------------------------------------------
bash-3.00# /usr/openv/volmgr/bin/sgscan
/dev/sg/c0t0l0: Changer: "ATL 1500"
/dev/sg/c0t1l0: Tape (???): ""
/dev/sg/c0t2l0: Tape (???): ""
/dev/sg/c2t0l0: Disk (/dev/rdsk/c0t0d0): "SEAGATE ST336605LSUN36G"
/dev/sg/c2t1l0: Disk (/dev/rdsk/c0t1d0): "SEAGATE ST336607LSUN36G"
/dev/sg/c2t2l0: Disk (/dev/rdsk/c0t2d0): "SEAGATE ST373207LSUN72G"
/dev/sg/c2t3l0: Disk (/dev/rdsk/c0t3d0): "SEAGATE ST373207LSUN72G"
---------------------------------------------------------------------

scorpy_582
Level 6
I think this usually happens when the description of the hardware connected in not fount in st.conf file.

Update the device mappings file. At times, updating device mappings does wonders in device configuration.

To download, just go to netbackup download section and get the latest device mappings file


Yasuhisa_Ishika
Level 6
Partner Accredited Certified
On PROM,  run "boot -r" and reconfigure device tree.
If you get success, "iostat -E" show st devices, and "iostat -En" show them in rmt/* format.

But "Disconnect command timeout" suggest some hardware issue. Check cabling and SCSI terminator of correct type.

Prashant_Dabre
Level 3
I have updated device mapping file but sgscan is showing same output

Prashant_Dabre
Level 3
I hv tried reboot -- -r but iostat still not showing the devices

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
Sorry to be late.
Hmm,  it seems like st driver isn't loaded or st doesn't recongnize tape drives.
Can you show us /kernel/drv/st.conf  and 'modinfo | grep " st "'?
 

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
Prashant, you already solved this problem?

If not, I guess st driver is prevent drom loading by rem_drv  command.
If you cannot find st entry in /etc/name_to_major, run "add_drv st" and then try reconfigure boot.
Cheers!