General
cancel
Showing results for 
Search instead for 
Did you mean: 

RHEL 4 server can't see tape drives

Brent DeGennaro
Regular Advisor

RHEL 4 server can't see tape drives

I have a RHEL 4 server that is wired into one side of our fabric that has a connection to a tape library with 5 drives. I expected this box to be able to see 4 of the drives, the network storage router in the library, and the medium changer. However, it only sees the medium changer. This is what I expect it to see(from another box wired into the same side of the fabric):


Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: COMPAQ Model: ESL9000 Series Rev: 3.31
Type: Medium Changer ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 01
Vendor: HP Model: Ultrium 1-SCSI Rev: E38W
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 02
Vendor: HP Model: Ultrium 1-SCSI Rev: E38W
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 03
Vendor: HP Model: Ultrium 1-SCSI Rev: E38W
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 04
Vendor: HP Model: Ultrium 1-SCSI Rev: E38W
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 05
Vendor: COMPAQ Model: NS ROUTER E1200 Rev: 5929
Type: RAID ANSI SCSI revision: 04




This is what it sees:


Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: COMPAQ Model: ESL9000 Series Rev: 3.31
Type: Medium Changer ANSI SCSI revision: 02


Any ideas on what I'm missing here? I have verified that both of the servers from the examples above or in the correct zone in the SAN.

Thanks
4 REPLIES
skt_skt
Honored Contributor

Re: RHEL 4 server can't see tape drives

Do you use similar fibre cards on both hosts?

#lspci|grep -i fibre

For lpfc/emulex cards

#/usr/sbin/lpfc/lun_scan all

for qlogic/qla2xxx cards

echo "1" >/proc/scsi/qla2xxx/1/issue_lip
echo "- - -" > /sys/class/scsi_host/host1/scan

echo "1" >/proc/scsi/qla2xxx/2/issue_lip
echo "- - -" > /sys/class/scsi_host/host2/scan

assuming there are two hba cards configured.
Rob Leadbeater
Honored Contributor

Re: RHEL 4 server can't see tape drives

Hi,

Compare the files /etc/modules.conf between a system that works and the one that doesn't.

You'll probably find the following line, on the one that works.

options scsi_mod max_scsi_luns=255

Add it to the one that doesn't work then rebuild the kernel with mkinitrd.

Hope this helps,

Regards,

Rob
Zeev Schultz
Honored Contributor

Re: RHEL 4 server can't see tape drives

In addition to checking zoning info,see that your FC HBAs and multipath software (Qlogic,Emulex,if any) have compatible versions for ESL library. Also I do remember that sometimes in NS routers you should set hard ALPA settings but not sure that this is your case.
So computers don't think yet. At least not chess computers. - Seymour Cray
Anthony Martin_1
Frequent Advisor

Re: RHEL 4 server can't see tape drives

Hi Brent,
Reading your message indicates the issue is with the NSR on your tape library. I recommend you check the maps on the NSR.
The rules go as follows:-

The Active Fabric Device (AF) Lun0 should be seen under the following conditions
Windows â Should be seen as the first device presented in the map.
Linux â Should be seen as the last device presented in the map.

Make a different map for the relevant OS, and assign the HBA to the appropriate map.

Regards
Anthony