Operating System - HP-UX
1836357 Members
2380 Online
110100 Solutions
New Discussion

can't see tape drive ?how to install drivers and recreate devices

 
Sammy_2
Super Advisor

can't see tape drive ?how to install drivers and recreate devices

Hpux 11i (v1)
ioscan -fnkC tape yields nothing.DONT SEE TAPE DRIVE on the system

I could see if before. I could see it before as below.



ojrdhes3:/root ==> ioscan -fnkC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/4/2/0.0.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/0m /dev/rmt/c4t0d0BESTn
/dev/rmt/0mb /dev/rmt/c4t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c4t0d0DDS
/dev/rmt/0mnb /dev/rmt/c4t0d0DDSb
/dev/rmt/c4t0d0BEST /dev/rmt/c4t0d0DDSn
/dev/rmt/c4t0d0BESTb /dev/rmt/c4t0d0DDSnb
========
Had STK SAN LUNS assigned on 2 node SG cluster. the same luns appeared differently on different nodes so used ioconfig method to rename instance so both see same devices. The instance for luns are same now but I believe
tape drive is not seen. Not sure if the renaming of instance did it or not. Because i am trying use tape drive after 1 month afer I made instance change.
I belive tape h/w is fine but even did a reinstall of OS from scratch but still dont see tape drive.
#cd /dev
# ls -ld rmt
rmt not found

ANy tips ?
good judgement comes from experience and experience comes from bad judgement.
4 REPLIES 4
Sandman!
Honored Contributor

Re: can't see tape drive ?how to install drivers and recreate devices

insf -e or reboot the system
Geoff Wild
Honored Contributor

Re: can't see tape drive ?how to install drivers and recreate devices

insf -C tape -e

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Mel Burslan
Honored Contributor

Re: can't see tape drive ?how to install drivers and recreate devices

well, since you mentioned the reinstall of the OS, can you see the tape drive hardware path at the least without the /dev/rmt/* driver files. I guess, again upon your telling that you reinstalled the OS, the answer is NO.

Sandman's or Geoff's suggestion would have been valid if the only thing that you have lost the driver files but usually, on ordinary system installs, hpux, for some reason do not enable the kernel driver for tapes.

Go to SAM --> Kernel Configuration --> Device Drivers

and scroll down till you see "stape" driver. If the status columns show "Out" modify the driver and make it "In". Also if this is a tape library with an exchanger mechanism, do the same thing for "schgr" driver.

Repent and reboot. Order shall return. :)

Make sure you run

insf -C tape -e

command after your system reboots to create the device driver file, /dev/rmt/*

HTH
________________________________
UNIX because I majored in cryptology...
Devesh Pant_1
Esteemed Contributor

Re: can't see tape drive ?how to install drivers and recreate devices

Try running just ioscan -fn without any other options and then do an insf -e
After this do the
ioscan -funC tape to view the tape devices.

also try to check if you can see the path on the server for 0/4/2
do a
ioscan -fn | grep 0/4/2

Thanks
Devesh