Operating System - HP-UX
1826209 Members
2804 Online
109691 Solutions
New Discussion

Tape drives are not accessbile on HPUX

 
SOLVED
Go to solution
Muhammad Ahmad
Frequent Advisor

Tape drives are not accessbile on HPUX

Hi,

Through SAN Switches, Tape library “StorageTech L 700” which contains numerous tape drives is connected to the servers.
we had some faulty tape drives, which we have replaced.
These replaced drives are not accessible on HPUX servers.

'ioscan' shows NO_HW.

Interesting point is that they are accessible on SUN Solaris 8.0 and on Windows 2003 Servers.

HPUX 11.11 is running on our servers.
Previous tape drives are accessble on HPUX servers.


Any comments / suggestions are appreciated.

Regards,
Muhammad Ahmad.
17 REPLIES 17
David Child_1
Honored Contributor

Re: Tape drives are not accessbile on HPUX

Hello,

What type of tape drives are these (LTO, etc.)?

It might be that you just need to load the stape driver.

Run 'kmsystem -q stape' and see if it's configured.

David
Torsten.
Acclaimed Contributor

Re: Tape drives are not accessbile on HPUX

Do you have a scsi to fiber bridge in use?

If so, have a look into the syslog file after running ioscan. You need to do an fcmsutil ... replace_dsk ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: Tape drives are not accessbile on HPUX

Shalom Muhammad,


'ioscan' shows NO_HW.

Means the hardware is seen, or was seen but is not functioning.

Could mean the hardware died.

Could mean the media, e.g. switches and cables failed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: Tape drives are not accessbile on HPUX

this may help:

http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1209481452399+28353475&threadId=1167725

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bill Hassell
Honored Contributor

Re: Tape drives are not accessbile on HPUX

Quite normal. There will be numerous error messages in your syslog.log file about the tape drive's address disappearing. You must use the fcmsutil to tell HP-UX and the fibre card that a new device has replaced the old device. Although the option is "replace_disk" it really means "replace_device".


Bill Hassell, sysadmin
Jeeshan
Honored Contributor

Re: Tape drives are not accessbile on HPUX

Salam Ahmad

>>'ioscan' shows NO_HW.

did you reinstall the driver?

#insf -e

then run ioscan -fnC tape.

and also check the cable and any possible way to see that hardware.

>>Interesting point is that they are accessible on SUN Solaris 8.0 and on Windows 2003 Servers.

Yes, cometimes it is very much intersting.:)

If the above checking doesn't show your hardware then you have no option to replace it or talking with HP.
a warrior never quits
Asif Sharif
Honored Contributor

Re: Tape drives are not accessbile on HPUX

Salam Ahmad,

It is interesting that SUN and windows machines can see the tapes but HP-UX boxes are not.

Run these command and paste the output.

#ioscan -fnC tape
#insf -e
#ioscan

Regards,
Asif Sharif
Regards,
Asif Sharif
Muhammad Ahmad
Frequent Advisor

Re: Tape drives are not accessbile on HPUX

Hi,

First of all accept my "thank you" to all of you.
>>>>

w.r.t. the 'fcmsutil' :-

i will find "NPORT_ID" of the disk from syslog.

how i will find the "td_x" device?


Regards,
Muhammad Ahmad

Torsten.
Acclaimed Contributor

Re: Tape drives are not accessbile on HPUX

Find this information from "ioscan -fn".

If you need help, post the output of this command.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sajjad Sahir
Honored Contributor

Re: Tape drives are not accessbile on HPUX


Dear Muhammed Ahmad
salam

please send me out put of this command
# grep -i nport /var/adm/syslog/syslog.log

thanks and regards


sajjad
Muhammad Ahmad
Frequent Advisor

Re: Tape drives are not accessbile on HPUX

Hi,

Thanks Torsten for your prompt response.

Here is the output of ioscan -fC tape:

Class I H/W Path Driver S/W State H/W Type Description
========================================================================
tape 0 0/0/0/3/1.1.0 stape CLAIMED DEVICE HP C5683A
tape 1 0/0/12/0/0.3.18.255.5.5.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
tape 2 0/0/12/0/0.3.19.255.5.5.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
tape 3 0/0/12/0/0.3.20.255.5.5.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
tape 4 0/0/12/0/0.3.21.255.5.5.0 stape NO_HW DEVICE HP Ultrium 2-SCSI
tape 5 0/0/12/0/0.3.22.255.5.5.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
tape 6 0/0/12/0/0.3.23.255.5.5.0 stape NO_HW DEVICE HP Ultrium 2-SCSI
tape 7 0/0/12/0/0.3.24.255.5.5.0 stape NO_HW DEVICE HP Ultrium 2-SCSI
tape 8 0/0/12/0/0.3.25.255.5.5.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
tape 9 0/0/12/0/0.3.27.255.5.5.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
tape 10 0/0/12/0/0.3.28.255.5.5.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI


Regards,

Muhammad Ahmad.
Torsten.
Acclaimed Contributor

Re: Tape drives are not accessbile on HPUX

this is not the "ioscan -fn" output, but anyway, look for the card on h/w path

0/0/12

and you will see your fiber channel HBA device file.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Muhammad Ahmad
Frequent Advisor

Re: Tape drives are not accessbile on HPUX

Hi,

I have got the following message:

#fcmsutil /dev/td2 replace_dsk 0x31755
Disk at nportid 0x031755(Loop_id 80) will not be authenticated

An urgent response will be highly appreciated

Regards,
Muhammad Ahmad
Steven E. Protter
Exalted Contributor

Re: Tape drives are not accessbile on HPUX

Shalom,

tape 4 0/0/12/0/0.3.21.255.5.5.0 stape NO_HW DEVICE HP Ultrium 2-SCSI
tape 5 0/0/12/0/0.3.22.255.5.5.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
tape 6 0/0/12/0/0.3.23.255.5.5.0 stape NO_HW DEVICE HP Ultrium 2-SCSI
tape 7 0/0/12/0/0.3.24.255.5.5.0 stape NO_HW DEVICE HP Ultrium 2-SCSI

Looks to me like the SCSI address of the tape drive has been modified.

I suggest using cstm,mstm or xstm to run further diagostics to find out just what hardware is present and if it is responsive at all.

To the original post, I'm wondering if the zoning on the fiber network is the issue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor
Solution

Re: Tape drives are not accessbile on HPUX

#fcmsutil /dev/td2 replace_dsk 0x31755
Disk at nportid 0x031755(Loop_id 80) will not be authenticated

Now run ioscan again.

As long as nothing else is changed (zoning, cabeling, etc.) you should see the tapes again as CLAIMED.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Asif Sharif
Honored Contributor

Re: Tape drives are not accessbile on HPUX

Salam Ahmad,

As Torsten said just run "ioscan" and it should show you the tapes if your zoning etc is not changed.

Regards,
Asif Sharif
Regards,
Asif Sharif
Muhammad Ahmad
Frequent Advisor

Re: Tape drives are not accessbile on HPUX

Thanks a lot!