Operating System - Linux
1821411 Members
2421 Online
109633 Solutions
New Discussion юеВ

How to see fibre attached Tape in Red Hat Linux

 
SOLVED
Go to solution
FSumair
Occasional Contributor

How to see fibre attached Tape in Red Hat Linux

Hello,

I need help about Red Hat Enterprise Linux.

Like in hp-un ioscan -funC tape
We can see if tape are shown connected by fibre channel card in SAN.

I need to know how can I do this in redhat enterprise linux.

waiting for you response

Kind Regards
Farrukh Sumair
6 REPLIES 6
Jeeshan
Honored Contributor

Re: How to see fibre attached Tape in Red Hat Linux

Hi Sumair

Wrong forum !!!

Anyway, you can use dmesg for hardware detection.
a warrior never quits
Justin_99
Valued Contributor
Solution

Re: How to see fibre attached Tape in Red Hat Linux

You can see if they are attached by checking /proc/scsi/scsi. Below is an example.

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: 03590B1A Rev: B6C6
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: 03590B1A Rev: A558
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: IBM Model: 03590B1A Rev: A558
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: IBM Model: 03590B1A Rev: B6C6
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: IBM Model: 03590B1A Rev: A558
Type: Sequential-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Vendor: IBM Model: 03590B1A Rev: A558
Type: Sequential-Access ANSI SCSI revision: 03
Liviu I.
Frequent Advisor

Re: How to see fibre attached Tape in Red Hat Linux

With the qlogic HBA, I used scli.
Also lsscsi might be helpfull.
FSumair
Occasional Contributor

Re: How to see fibre attached Tape in Red Hat Linux

Thanks for prompt replies.


But I cannot see new attached tape drives with

cat /proc/scsi/scsi
Do it need rescan.

Is there any way to rescan attached devices.
JBR
Frequent Advisor

Re: How to see fibre attached Tape in Red Hat Linux

Hi Farrukh, if you have a Proliant Server with "Proliant Support Pack " installed into the system or HP Itanium server with Support Pack and hp qlogic specific drivers, check for this packages:

# rpm -qa | grep fibreutils


If you have the fibreutils package installed onto your system then:

To view tapes and disk...

# lssg (or lssd)

To rescan all HBAs (if PSP installed)

# hp_rescan -a

Best Regards
Justin_99
Valued Contributor

Re: How to see fibre attached Tape in Red Hat Linux

There is a script that will rescan the bus and add new devices. It is called rescan-scsi-bus.sh I have used it many times to add fibre attached tape devices without a reboot. I don't remember where I got it, but I do remember a simple google search turned up lots of results for it.

Drivers can always be an issue as well. Also double check the zoning of any switches if the drives aren't direct attached.