Operating System - HP-UX
1829010 Members
2619 Online
109986 Solutions
New Discussion

Re: problem with Tape drive

 
Meakin Singh
Frequent Advisor

problem with Tape drive

# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/1/1/1.5.0 stape CLAIMED DEVICE HP Ultrium 1-SCSI


unable to view /dev/rmt/0m
15 REPLIES 15
Pete Randall
Outstanding Contributor

Re: problem with Tape drive

The next line of your ioscan output should show the device files associated with this tape drive. What does it show?


Pete

Pete
Meakin Singh
Frequent Advisor

Re: problem with Tape drive

nothing

plz view the attached file, i have shown a comparison when attached with another server
sreekanthtm
Trusted Contributor

Re: problem with Tape drive

Hi,

There is no device file created...
Please exicute the following.
#ioscan
#infs
It will show Installing device file...........
If its still not working try to reinstall the device file
#insf -eH 0/1/1/1.5.0

Where 0/1/1/1.5.0 is the h/w path of your tape drive.

Robert-Jan Goossens
Honored Contributor

Re: problem with Tape drive

Pete,
The doc includes the lines for the device files.

Did you change the tape unit? Could you try to remove the device files and recreate them.

# rmsf -H 0/1/1/1.5.0

# insf -H 0/1/1/1.5.0

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: problem with Tape drive

Ahhh - I never even noticed the attachment, Robert-Jan! Of course it's a .doc, so I can't open it on HP-UX anyway. Oh well.


Pete

Pete
Meakin Singh
Frequent Advisor

Re: problem with Tape drive

it didnt work

any other solution
Jeeshan
Honored Contributor

Re: problem with Tape drive

deattach the tape drive
run ioscan
then attach the tape drive
run ioscan
then run ioscan -fnC tape
if not viewed then run insf -e

then run ioscan -fnC tape.
a warrior never quits
sreekanthtm
Trusted Contributor

Re: problem with Tape drive

Can u please post the output of the suggested commands....

Rgds
Sreekanth
Meakin Singh
Frequent Advisor

Re: problem with Tape drive

insf -eH 0/1/1/1.5.0

showed an error

insf: Unable to load the driver: gvid_him_fglrxinsf: Unable to load the driver: drmfglinsf:
Unable to load the driver: drmfglrxinsf: Unable to load the driver: gvid_him_consinsf: Insta
lling special files for stape instance 0 address 0/1/1/1.5.0
insf: Installing special files for stape instance 2 address 0/1/1/1.6.0
insf: Unable to unload the driver: gvid_him_fglrxinsf: Unable to unload the driver: drmfglin
sf: Unable to unload the driver: drmfglrxinsf: Unable to unload the driver: gvid_him_cons#
TTr
Honored Contributor

Re: problem with Tape drive

> tape 0 0/1/1/1.5.0 stape CLAIMED DEVICE HP Ultrium 1-SCSI


The attachement that you included on the original posting shows "NO_HW".

Which is true? Did the tape drive get disconnected or powered off?

insf will not work if the ioscan shows NO_HW
Meakin Singh
Frequent Advisor

Re: problem with Tape drive

that was with other server i did not put any tape in it , i was just checking the device files, just look at the next
screenshot
sreekanthtm
Trusted Contributor

Re: problem with Tape drive

Hope this is the only tape device attached to the server. Then you can try the following...
#rm /dev/rmt/*.*
#ioscan
#insf

If no device files are getting installed then,
#insf -eC tape

Rgds
Sreekanth
Meakin Singh
Frequent Advisor

Re: problem with Tape drive

yes i did that , but it didnt help, so i restarted the server and it worked, problem solved i guess
Avinash20
Honored Contributor

Re: problem with Tape drive

You should have tried the following
#rm /dev/rmt/*.*
#insf -e

You have removed the tape device files and reboot of the server have recreated the device file(insf -e)..
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
SKR_1
Trusted Contributor

Re: problem with Tape drive

If you plugged out the tape in online conditions, sometimes the SCSI port got hanged. So reboot will work in this case.