cancel
Showing results for 
Search instead for 
Did you mean: 

Linux RH 3.0 recognize only 7 tape drives

Asaf_Eskshtein
Level 3
I have Linux RedHad 3.0 (update 4), with Emulex HBA.
my machine connected to P3000 Library.
the problem is that the machine recognize only 7 tape drives, (hence veritas can recognize only 7 tape drives).

cat /proc/scsi/scsi show only
7 tape drives, but hbanyware show all 10 drives and the robot.

what can I do to recognize all tape drives?
4 REPLIES 4

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
I checked ATL P3000 User's Guide and found that library controller and all drives are cabled with SCSI.
Do you use SCSI-FC bridge? If you do so, each drives and controller
are mapped to LUN. max_scsi_luns is set to 8, LUNs grater than 7 can not recognized by RHEL.
Check max_scsi_luns and LUN configuration.

Asaf_Eskshtein
Level 3
Clarifications:
Library connected via FC.

the luns are continuous i.e. the robot is lun 0 and the drives 1-10.
The Emulex configured max-lun 256 , and I can recognize all 11 luns (Robot + Drives) via HBAanyware.
but at Linux OS level (by cat /proc/scsi/scsi) machine can recognize only 8 luns (Robot+7 tape drives)

Yasuhisa_Ishika
Level 6
Partner Accredited Certified
I am sure that max_scsi_luns parameter affect the drive recognition.
Try to modify max_scsi_luns parameter.

If you do in /etc/modules.conf, append following line to modules.conf
and remake initrd file.

options scsi_mod max_scsi_luns=255

Or if you use LILO, append following line to the end of image section in lilo.conf and run lilo.

append = "max_scsi_luns=255"

Finally reboot your host and pray.
Good luck!

Stumpr2
Level 6
This may be a firmware and/or driver issue. Check for differences between the 7 good and the 3 not good.