1847086 Members
5169 Online
110262 Solutions
New Discussion

Tape drives vanished

 
Michael Burns_7
Advisor

Tape drives vanished

I have an HP-UX system that no longer has visibility of it's tape drives. ioscan shows nothing!

can i reinitiate these somehow without rebooting the box? ***I'm not a Unix admin... just trying to fill in...
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: Tape drives vanished

Michail,

Double check all cabling to make sure it's securely and properly connected - and terminated! Then issue "ioscan -fnCtape" and see if they show up.


Pete

Pete
Michael Burns_7
Advisor

Re: Tape drives vanished

I did that. nothing shows up.
Rick Garland
Honored Contributor

Re: Tape drives vanished

How are the tape drives connected to the system? Direct connect, network connect, fiber connect, are they on a SAN going through a switch?

If ioscan shows nothing then there were some commands run that removed the drives from the system. Initial loss of connectivity would show as NOT_CLAIMED in the ioscan.

Need some more info
Michael Burns_7
Advisor

Re: Tape drives vanished

I agree that somebody did something to remove these drives... they were there this morning. They are fiber connected... here is what ioscan -fnC tape showed this morning...

Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
tape 0 1/0/1/0/0/1/0.0.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/0m /dev/rmt/c2t0d0BESTn
/dev/rmt/0mb /dev/rmt/c2t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c2t0d0DDS
/dev/rmt/0mnb /dev/rmt/c2t0d0DDSb
/dev/rmt/c2t0d0BEST /dev/rmt/c2t0d0DDSn
/dev/rmt/c2t0d0BESTb /dev/rmt/c2t0d0DDSnb
tape 3 1/0/2/0/0.97.18.255.1.3.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/c13t3d0BEST /dev/rmt/c13t3d0BESTn
/dev/rmt/c13t3d0BESTb /dev/rmt/c13t3d0BESTnb
tape 4 1/0/2/0/0.97.18.255.1.3.1 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/4m /dev/rmt/c13t3d1BEST
/dev/rmt/4mb /dev/rmt/c13t3d1BESTb
/dev/rmt/4mn /dev/rmt/c13t3d1BESTn
/dev/rmt/4mnb /dev/rmt/c13t3d1BESTnb
tape 1 1/0/2/0/0.97.19.255.1.3.1 stape NO_HW DEVICE HP Ultrium 2-SCSI
/dev/rmt/1m /dev/rmt/c8t3d1BEST
/dev/rmt/1mb /dev/rmt/c8t3d1BESTb
/dev/rmt/1mn /dev/rmt/c8t3d1BESTn
/dev/rmt/1mnb /dev/rmt/c8t3d1BESTnb
tape 2 1/0/2/0/0.97.19.255.1.3.2 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/2m /dev/rmt/c8t3d2BEST
/dev/rmt/2mb /dev/rmt/c8t3d2BESTb
/dev/rmt/2mn /dev/rmt/c8t3d2BESTn
/dev/rmt/2mnb /dev/rmt/c8t3d2BESTnb

Michael Burns_7
Advisor

Re: Tape drives vanished

BTW... THESE ARE FIBER CONNECTED.
Florian Heigl (new acc)
Honored Contributor

Re: Tape drives vanished

The fibre zoning would be the first point to look at!



easy check - collect (via pen) the WWN of the tape drives and issue first
ioscan -fnkCfc # you'll get a /dev/td0 or so
with that info, You can ask the fibre channel adapter, if it sees the tape:
/opt/fcms/bin/fcmsutil /dev/td0 get remote all

if You get nothing back, You can/should check link state and such, this is done via
/opt/fcms/bin/fcmsutil /dev/td0
and
/opt/fcms/bin/fcmsutil /dev/td0 stat
(note that 'seconds since last stat. reset' though!)

here's some examples:
root@....>/opt/fcms/bin/fcmsutil /dev/td0

Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.2
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0x2a1100
N_Port Node World Wide Name = 0xxxxxxxxxxxxxxxxxxxx
N_Port Port World Wide Name = 0xxxxxxxxxxxxxxxxxxxx
Driver state = ONLINE
Hardware Path is = 5/0/6/0/0
Number of Assisted IOs = 1956693
Number of Active Login Sessions = 1
Dino Present on Card = NO
Maximum Frame Size = 960
Driver Version = @(#) PATCH_11.11: libtd.a : Jun 28 2002, 11:08:35, PHSS_26799

Check the Driver state!!!

(probably You see the error there)
Tue Feb 15 18:37:58 2005
Channel Statistics

root@...>/opt/fcms/bin/fcmsutil /dev/td0 stat

Statistics From Link Status Registers ...
Loss of signal 0 Bad Rx Char 100
Loss of Sync 5 Link Fail 0
Received EOFa 0 Discarded Frame 0
Bad CRC 0 Protocol Error 0


Bad RX char should be 'low', that means 200 in a week would be not good, but ok, and 200000 would *definitely* *indicate* *a* *problem*

Also check the syslog for any messages from 'EMS' - the hardware monitor stuff...
yesterday I stood at the edge. Today I'm one step ahead.
Michael Burns_7
Advisor

Re: Tape drives vanished

rebooted server